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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 14 Mar 2005 00:39:03 -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:03.000000000 -0500
+++ shadow/73662.tmp.18665	2005-03-14 00:39:03.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 73662
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: GC
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: crazney@crazney.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Objects are not always destructed on termination of program
+
+Description of Problem:
+With a simple program that uses a basic object from Main(), the object is
+not always destructed on program exit.
+
+Steps to reproduce the problem:
+1. Compile the attached code
+2. Run it several times 
+
+Actual Results:
+Sometimes the destructor will be called, sometimes it won't.
+
+Expected Results:
+It should be called all the time
+
+How often does this happen? 
+About 70% of the time the destructor is not called.
+
+
+Additional Information:
+I'll attach a test case in a tick.