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

Submitted by:  None
Submitted on:  Mon 27 Oct 2003 05:06:07 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 15 Mar 2004 06:05:20 AM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1