bugDotGNU Portable.NET - Bugs: bug #6188, Compiler stack underflow bug with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #6188: Compiler stack underflow bug with IF based switch statement

Submitter:  None
Submitted:  Mon 27 Oct 2003 05:06:07 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 15 Mar 2004 06:05:20 AM UTC, comment #1: 

Fix committed to CVS - 15 March 2004

Rhys Weatherley <rweather>
Group administrator
Mon 27 Oct 2003 05:06:07 AM UTC, original submission:  

The stack tracking in the compiler generates a -1 stack
state which is responsible for the maxStack being one less
than the actual value. The behavior is observed only when
a function inside the switch-case uses >2 args . The
verifier throws a stack underflow bug. The problem was
traced to cg_stmt.tc:1894

The verifier throws a stack overflow error on executing
the compiled binaries.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #761:  test4.il added by None (2KiB - text/plain - Stack annotated IL file (see line 35))
file #760:  test4.c added by None (576B - text/plain - Test case sources)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-03-15 rweather StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.12