[Mono-bugs] [Bug 36382][Maj] Changed - NullReference exception thrown not correct by System.Diagnostics.StackTrace class
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 8 Jan 2003 04:57:06 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gkodinov@openlinksw.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=36382
--- shadow/36382 Tue Jan 7 11:19:52 2003
+++ shadow/36382.tmp.22596 Wed Jan 8 04:57:06 2003
@@ -1,13 +1,13 @@
Bug#: 36382
Product: Mono/Runtime
Version: unspecified
OS: Red Hat 8.0
OS Details:
-Status: VERIFIED
-Resolution: FIXED
+Status: REOPENED
+Resolution:
Severity: Unknown
Priority: Major
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: gkodinov@openlinksw.co.uk
QAContact: mono-bugs@ximian.com
@@ -52,6 +52,34 @@
Created an attachment (id=3072)
The proposed diff - fixit.diff
------- Additional Comments From dietmar@ximian.com 2003-01-07 11:19 -------
the attached patch is worng, the correct fix is in CVS
+
+------- Additional Comments From gkodinov@openlinksw.co.uk 2003-01-08 04:57 -------
+That's allmost correct ;-)
+It doesn't throw NullException now, but see what I got when running
+(gogo.cs) :
+using System;
+using System.Threading;
+public class gogo
+ {
+ public static void Main (String [] args)
+ {
+ Console.WriteLine (new System.Diagnostics.StackTrace ());
+ }
+}
+
+
+----------------
+$ mono x.exe
+
+ at System.Diagnostics.StackTrace..ctor()
+ at gogo.Main()
+ at gogo.Main()
+-----------------
+
+I don't see two Main frames in my code. Do you ?
+
+The diff also doesn't solve the problem for threads created my
+mono_attach_thread ...