[Mono-bugs] [Bug 58707][Maj] Changed - Exception when trying to AppDomain.Unload()
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Jun 2004 10:21:20 -0400 (EDT)
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 robik@mailbox.sk.
http://bugzilla.ximian.com/show_bug.cgi?id=58707
--- shadow/58707 2004-05-25 16:28:32.000000000 -0400
+++ shadow/58707.tmp.28700 2004-06-09 10:21:20.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 58707
Product: Mono: Runtime
Version: unspecified
OS: unknown
OS Details: Fedora Core 1, kernel linux-2.4.22-1.2188.nptl
-Status: RESOLVED
-Resolution: FIXED
+Status: REOPENED
+Resolution:
Severity: 040 One week
Priority: Major
Component: misc
AssignedTo: lluis@ximian.com
ReportedBy: robik@mailbox.sk
QAContact: mono-bugs@ximian.com
@@ -173,6 +173,129 @@
1039: value /= 10;
1040: }
------- Additional Comments From vargaz@freemail.hu 2004-05-25 16:28 -------
Fixed in CVS.
+
+------- Additional Comments From robik@mailbox.sk 2004-06-09 10:21 -------
+Hi!
+
+It seems, something is broken again.
+
+Result for 1. test:
+
+AppDomainTest:Main() Entered
+AppDomainTest:DoTest()
+
+** (AppDomainTest.exe:16096): WARNING **: : unref on 17 called when
+ref was already 0
+AppDomainTest:Main() Exited
+
+** ERROR **: file gc.c: line 424
+(ves_icall_System_GCHandle_FreeHandle): assertion failed: (type ==
+gc_handle_types [idx])
+aborting...
+Aborted
+
+
+Result for 2. test:
+
+AppDomainTest:Main() Entered
+AppDomainTest:DoTest()
+
+** (AppDomainTest.exe:16113): WARNING **: : unref on 17 called when
+ref was already 0
+AppDomainTest:DoTest()
+
+** (AppDomainTest.exe:16113): WARNING **: : unref on 24 called when
+ref was already 0
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+
+** (AppDomainTest.exe:16112): WARNING **: Finalization of domain Test
+2 timed out.
+
+Unhandled Exception: System.CannotUnloadAppDomainException:
+Finalization of domain Test 2 timed out.
+in (unmanaged) (wrapper managed-to-native)
+System.AppDomain:InternalUnload (int)in <0x00004> (wrapper managed-to-
+native) System.AppDomain:InternalUnload (int)
+in <0x00049> System.AppDomain:Unload (System.AppDomain)
+in <0x001fe> AppDomainTest.AppDomainTest:Main ()
+
+another result for 2. test:
+
+AppDomainTest:Main() Entered
+AppDomainTest:DoTest()
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+
+Server stack trace:
+in (unmanaged) System.Threading.Thread:Start ()
+in <0x00156> System.Threading.Timer:Init
+(System.Threading.TimerCallback,object,int,int)
+in <0x0008e> (wrapper remoting-invoke-with-check)
+System.Threading.Timer:Init
+(System.Threading.TimerCallback,object,int,int)
+in <0x00082> System.Threading.Timer:.ctor
+(System.Threading.TimerCallback,object,int,int)
+in <0x00095> System.Threading.Timer:.ctor
+(System.Threading.TimerCallback,object,System.TimeSpan,System.TimeSpan
+)
+in <0x000f4> (wrapper remoting-invoke-with-check)
+System.Threading.Timer:.ctor
+(System.Threading.TimerCallback,object,System.TimeSpan,System.TimeSpan
+)
+in <0x000b3>
+System.Runtime.Remoting.Lifetime.LeaseManager:StartManager ()
+in <0x0007b>
+System.Runtime.Remoting.Lifetime.LeaseManager:TrackLifetime
+(System.Runtime.Remoting.ServerIdentity)
+in <0x00015>
+System.Runtime.Remoting.Lifetime.LifetimeServices:TrackLifetime
+(System.Runtime.Remoting.ServerIdentity)
+in <0x001c1>
+System.Runtime.Remoting.ServerIdentity:StartTrackingLifetime
+(System.Runtime.Remoting.Lifetime.ILease)
+in <0x0012f>
+System.Runtime.Remoting.RemotingServices:CreateClientActivatedServerId
+entity (System.MarshalByRefObject,System.Type,string)
+in <0x0028b> System.Runtime.Remoting.RemotingServices:Marshal
+(System.MarshalByRefObject,string,System.Type)
+in <0x00015> System.Runtime.Remoting.RemotingServices:Marshal
+(System.MarshalByRefObject)
+in <0x000ff>
+System.Runtime.Remoting.Messaging.CADMessageBase:MarshalArgument
+(object,System.Collections.ArrayList&)
+in <0x0009e>
+System.Runtime.Remoting.Messaging.CADMethodReturnMessage:.ctor
+(System.Runtime.Remoting.Messaging.IMethodReturnMessage)
+in <0x000b3>
+System.Runtime.Remoting.Messaging.CADMethodReturnMessage:Create
+(System.Runtime.Remoting.Messaging.IMessage)
+in <0x00089> System.AppDomain:ProcessMessageInDomain (byte
+[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]
+&,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
+in <0x00094> (wrapper remoting-invoke-with-check)
+System.AppDomain:ProcessMessageInDomain (byte
+[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]
+&,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
+in <0x0004b>
+System.Runtime.Remoting.Channels.CrossAppDomainSink:ProcessMessageInDo
+main (byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage)
+
+
+Exception rethrown at [0]:
+
+in <0x00748> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
+(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Mes
+saging.IMessage,System.Exception&,object[]&)
+
+
+Unhandled Exception: System.NullReferenceException: A null value was
+found where an object instance was required.
+
+
+