[Mono-bugs] [Bug 82279][Nor] Changed - Interop to lib that can't load locks up mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 4 11:08:48 EDT 2007


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 danm at inin.com.

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

--- shadow/82279	2007-09-03 06:10:17.000000000 -0400
+++ shadow/82279.tmp.21103	2007-09-04 11:08:48.000000000 -0400
@@ -81,6 +81,79 @@
 (Just to repeat the symptoms the C++ app dies immediately with the 
 above 'relocation error' but mono just hangs indefinately)
 
 ------- Additional Comments From lupus at ximian.com  2007-09-03 06:10 -------
 When you get the hang, attach to the mono process with gdb and get a
 stack trace of all the threads and post it here.
+
+------- Additional Comments From danm at inin.com  2007-09-04 11:08 -------
+When I attach with gdb and interrupt, there are three threads 
+listed.  Here are the calls stacks for each:
+
+Thread #3: Thread 4942752 () from ld-linux.so.2
+  #4 0x001fbc3e in clone () from libc.so.6
+  #3 0x003943cc in start_thread () from libthread.so.0
+  #2 0x080f6f13 in collection_thread () at collection.c:34
+  #1 0x00399db6 in __nanosleep_nocancel () from libpthread.so.0
+  #0 0x001197a2 in _dl_sysinfo_int80 () from ld-linux.so.2
+
+Thread #2: Thread 5995424 () from ld-linux.so.2 
+  #11 0x001fbc3e in clone () from libc.so.6
+  #10 0x003943cc in start_thread () from libpthread.so.0
+  #9 0x081165c9 in GC_start_routine () at pthread_support.c:1362
+  #8 0x081040fe in thread_start_routine () at threads.c:264
+  #7 0x080bcca8 in start_wrapper () at threads.c:550
+  #6 0x080c6c58 in finalizer_thread () at gc.c:835
+  #5 0x08104d1c in WaitForSingleObjectEx () at wait.c:200
+  #4 0x08109254 in _wapi_handle_wait_signal_handle () at 
+handles.c:1483
+  #3 0x08109100 in _wapi_handle_timedwait_signal_handle 
+(handle=Variable "handle" is not available.) at handles.c:1523
+  #2 0x08108fc4 in timedwait_signal_poll_cond () at handles.c:1443
+  #1 0x00396c26 in pthread_cond_wait@@GLIBC_2.3.2 () from 
+libpthread.so.0
+  #0 0x001197a2 in _dl_sysinfo_int80 () from ld-linux.so.2 
+
+Thread #1: Thread -1208052032 () from libpthread.so.0
+  #28 0x00000000 in ?? ()
+  #27 0x08272684 in ?? ()
+  #26 0x00x8285a in ?? ()
+  #25 0xbfffefdc in ?? ()
+  #24 0x0028a03e in ?? ()
+  #23 0x080789e0 in mono_magic_trampoline () at mini-trampolines.c:71
+  #22 0x081433b6 in mono_jit_compile_method () at mini.c:10871
+  #21 0x0814132e in mini_method_compile (method=0x8272684, 
+opts=13724159, domain=0x21f00, run_cctors=Variable "run_cctors" is 
+not available.) at mini.c:10502
+  #20 0x0812f6d2 in mono_method_to_ir () at mini.c:4718
+  #19 0x080b36bd in mono_marshal_get_native_wrapper () at 
+marshal.c:8602
+  #18 0x0809e7c2 in mono_lookup_pinvoke_call () at loader.c:1182
+  #17 0x0809e1a7 in cached_module_load () at loader.c:1037
+  #16 0x08110b1f in mono_dl_open 
+(name=0x8451d58 "i3trace_dotnet_reader_interop-l32d.so", 
+flags=Variable "flags" is not available.) at mono-dl.c:298
+  #15 0x00286d11 in dlopen@@LIBC_2.1 () from libdl.so.2
+  #14 0x002872bb in _dlerror_run () from libdl.so.2
+  #13 0x001254ee in _dl_catch_error () from ld-linux.so.2
+  #12 0x00286cb8 in dlopen_doit () from libdl.so.2
+  #11 0x00230cff in _dl_open () from libc.so.6
+  #10 0x00231772 in _dl_close () from libc.so.6
+  #9 0x00z96a4a in _fini () from stlport-l32d.so
+  #8 0x00a34aa0 in __do_global_dtors_aux () from stlport-l32d.so
+  #7 0x00a4b925 in global destructors keyed to 
+_ZN9stlpd_std10moneypunctIcLb1EEC2Ej () at monetary.cpp:141
+  #6 0x00a4b8d3 in __static_initialization_and_destruction_0 () at 
+monetary.cpp:41
+  #5 0x00a4ba1f in ~basic_string () at _string_fwd.h:32
+  #4 0x00a36118 in ~__owned_list () at _debug.h:330
+  #3 0x00a360f3 in stlp_priv::__owned_list::_Invalidate_all () at 
+_debug.h:347
+  #2 0x00a360a4 in 
+stlp_priv::__stl_debug_engine<bool>::_Invalidate_all () at 
+_debug.h:463
+  #1 0x00a359eb in stlpd_std::_STLP_mutex_base::_M_acquire_lock () 
+at threads.h:344
+  #0 0x00397555 in pthread_spin_lock () from libpthread.so.0
+
+
+


More information about the mono-bugs mailing list