[Mono-bugs] [Bug 326789] New: Crash when unloading domain

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 20 08:28:01 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=326789

           Summary: Crash when unloading domain
           Product: Mono: Runtime
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: GC
        AssignedTo: lupus at novell.com
        ReportedBy: joe at unity3d.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Crash when unloading domain. I am getting this crash when unloading domains. It
happens when a fairly large set of dll's is loaded and several methods were
called before the domain is unloaded. It doesn't happen if none of the dll's
were invoked prior to unloading.

I haven't been able to reproduce the crashbug outside of our application yet.



0   libSystem.B.dylib                   0x90037b57 mach_wait_until + 7
1   libmono.0.dylib                     0x0251881a
_wapi_handle_timedwait_signal_handle + 308
2   libmono.0.dylib                     0x0251887e
_wapi_handle_wait_signal_handle + 32
3   libmono.0.dylib                     0x02527415 WaitForSingleObjectEx + 555
4   libmono.0.dylib                     0x0247bd3e
ves_icall_System_AppDomain_InternalUnload + 536
5   <<00000000>>        0x1b2d4db7 0 + 455953847
6   <<00000000>>        0x1b2d4a80 0 + 455953024
7   <<00000000>>        0x1b2d4a1e 0 + 455952926
8   <<00000000>>        0x027a9d0e 0 + 41590030
9   com.unity3d.UnityEditor             0x000afeed DoUnloadDomain(MonoDomain*)
+ 275
10  com.unity3d.UnityEditor             0x000aff25
CreateDomainAndLoadAssemblies() + 29
11  com.unity3d.UnityEditor             0x000b59fd
MonoManager::ReloadAssembly(int, int&) + 413
12  com.unity3d.UnityEditor             0x000b66bf
MonoManager::ReloadAssemblyBeforePlay() + 163

Thread 2 Crashed:
0   <<00000000>>        0x1de89d7b 0 + 501783931
1   <<00000000>>        0x1de89cb1 0 + 501783729
2   <<00000000>>        0x1b2e3ac4 0 + 456014532
3   libmono.0.dylib                     0x0249ac73 run_finalize + 356
4   libmono.0.dylib                     0x0249ae02 finalizer_thread + 391
5   libmono.0.dylib                     0x0250b448 start_wrapper + 265
6   libmono.0.dylib                     0x02526cc7 thread_start_routine + 422
7   libmono.0.dylib                     0x0253d298 GC_start_routine + 93
8   libSystem.B.dylib                   0x90024227 _pthread_body + 84

Thread 13:
0   libSystem.B.dylib                   0x90047dd7
semaphore_timedwait_signal_trap + 7
1   libmono.0.dylib                     0x025167de timedwait_signal_poll_cond +
141
2   libmono.0.dylib                     0x02518852
_wapi_handle_timedwait_signal_handle + 364
3   libmono.0.dylib                     0x0252742d WaitForSingleObjectEx + 579
4   libmono.0.dylib                     0x0249b046 mono_domain_finalize + 378
5   libmono.0.dylib                     0x0247afe9 unload_thread_main + 70
6   libmono.0.dylib                     0x02526cc7 thread_start_routine + 422
7   libmono.0.dylib                     0x0253d298 GC_start_routine + 93
8   libSystem.B.dylib                   0x90024227 _pthread_body + 84


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


More information about the mono-bugs mailing list