[Mono-bugs] [Bug 322158] rethrow loses stack trace information

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 12 17:40:05 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=322158

http://bugzilla.novell.com/show_bug.cgi?id=322158#c4


Greg Smolyn <greg.smolyn at strangeloopnetworks.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg.smolyn at strangeloopnetw
                   |                            |orks.com
            Version|1.1                         |2.6.x
           Severity|Enhancement                 |Critical

--- Comment #4 from Greg Smolyn <greg.smolyn at strangeloopnetworks.com> 2010-03-12 22:40:05 UTC ---
This is a huge bug in the system:

For the attached code, mono prints out:

STACK bar
  at ExceptionTest.A.bar () [0x00000] in
/home/strangeloop/ExceptionTest/Main.cs:23 
STACK baz
  at ExceptionTest.A.bar () [0x00000] in
/home/strangeloop/ExceptionTest/Main.cs:23 


>From Windows C#:

STACK bar
   at ExceptionTest.A.foo() in
C:\Users\Administrator\Desktop\etest\ExceptionTest\Main.cs:line 18
   at ExceptionTest.A.bar() in
C:\Users\Administrator\Desktop\etest\ExceptionTest\Main.cs:line 23
STACK baz
   at ExceptionTest.A.foo() in
C:\Users\Administrator\Desktop\etest\ExceptionTest\Main.cs:line 18
   at ExceptionTest.A.bar() in
C:\Users\Administrator\Desktop\etest\ExceptionTest\Main.cs:line 28
   at ExceptionTest.A.baz() in
C:\Users\Administrator\Desktop\etest\ExceptionTest\Main.cs:line 34


I will also note that if the code is changed to do "throw e;" instead of just
"throw;" the output also varies.

This is affecting our ability to debug problems on production systems.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list