bugDotGNU Portable.NET - Bugs: bug #9151, (new StackFrame(1,...

 
 

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

bug #9151: (new StackFrame(1, true)).GetFileName() sometimes returns null when it shouldn't

Submitted by:  Richard Baumann <Rich333>
Submitted on:  Fri 28 May 2004 11:55:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 29 May 2004 02:40:15 PM UTC, comment #1:

Fixed in CVS 29th May 2004 (didn't make it into 0.6.6)

The problem was when the native offset matched the last debug marker ... now it checks for the "==" case as well as ">" case.

Gopal.V <t3rmin4t0r>
Project Administrator
Fri 28 May 2004 11:55:47 PM UTC, original submission:

Creating a stack frame for the previous method in the call stack does not always produce a valid stack frame for that method. The GetFileName method sometimes returns null when it shouldn't. It appears to be a problem with the offset calculations, because increasing the amount of code in the previous method can cause the stack frame for that method to work correctly. I've attached a test case which has blocks of code which can be defined in to show how the behavior changes. There's a comment at the beginning of the test case class explaining what each define does.

P.S. Remember to compile with -g.

Richard Baumann <Rich333>
Project Member

 

Attached Files
file #1362:  stack-frame-test-case.cs added by Rich333 (2KiB - application/octet-stream - Test case showing the problem.)

 

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 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 29 May 2004 02:40:15 PM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 28 May 2004 11:55:48 PM UTCRich333Attached File-=>Added stack-frame-test-case.cs, #1354

Back to the top


Powered by Savane 3.1-cleanup1