[Mono-bugs] [Bug 73662][Nor] Changed - Objects are not always destructed on termination of program

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 14 Mar 2005 00:41:30 -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 crazney@crazney.net.

http://bugzilla.ximian.com/show_bug.cgi?id=73662

--- shadow/73662	2005-03-14 00:39:48.000000000 -0500
+++ shadow/73662.tmp.18716	2005-03-14 00:41:30.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 73662
 Product: Mono: Runtime
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: GC
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: crazney@crazney.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -38,6 +38,56 @@
 I'll attach a test case in a tick.
 
 ------- Additional Comments From crazney@crazney.net  2005-03-14 00:39 -------
 Created an attachment (id=14640)
 test case
 
+
+------- Additional Comments From crazney@crazney.net  2005-03-14 00:41 -------
+Here is the output from running the attached test case several times.
+
+(I'm sorry if this bug report is incorrect, I've just been fiddling
+with C# for about 20 minutes now, it struck me as odd behaviour, and
+someone on IRC said to file a bug report.)
+
+crazney@MrSilly:~/test$ mcs gctest.cs.
+Compilation succeeded
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+foo destructor
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+foo destructor
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$ ./gctest.exe.
+val: Test+Foo
+crazney@MrSilly:~/test$.
+
+
+Also:
+$ mono -V
+Mono JIT compiler version 1.0.5, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+        TLS:           normal
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: ICU
+