[Mono-bugs] [Bug 60576][Maj] New - Bad interaction - Mono, Gentoo (nptl) & Muine
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 22 Jun 2004 14:40:09 -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 richard.torkar@htu.se.
http://bugzilla.ximian.com/show_bug.cgi?id=60576
--- shadow/60576 2004-06-22 14:40:09.000000000 -0400
+++ shadow/60576.tmp.25854 2004-06-22 14:40:09.000000000 -0400
@@ -0,0 +1,194 @@
+Bug#: 60576
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details: Gentoo
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: richard.torkar@htu.se
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Bad interaction - Mono, Gentoo (nptl) & Muine
+
+Software where the bt is from:
+kernel 2.6.7
+glibc-2.3.3.20040420
+mono-0.96
+muine 0.6.3
+
+Description of Problem:
+Taken from http://bugs.gentoo.org/show_bug.cgi?id=54603:
+
+i have gentoo ~x86, with nptl enabled.
+
+when using muine, it frequently freezes (like when i import my whole music
+library (around 5-10gig)).
+
+i recompiled my glibc + mono with nptl disabled, and then it worked fine.
+
+this happens with the newest packages (mono-beta-3 (mono-0.96)).
+
+
+Reproducible: Always
+Steps to Reproduce:
+1.rm -r ~/.gconf/apps/muine ~/.gnome2/muine
+2.start muine
+3.import a BIG music directory (5-10gigs)
+
+Actual Results:
+muine start to import the music, but then freezes somewhere...
+
+Expected Results:
+it should import it
+
+the insteresting thing is, that i had a nptl enabled system for a long
+time, and when i used mono-beta-1 with muine, it worked fine, and i had
+nptl enabled at that time.
+
+it got wrong when i installed mono-beta-2, and it is still bad with
+mono-beta-3.
+********************************************************************
+
+More info:
+http://lists.ximian.com/archives/public/mono-devel-list/2004-June/006183.html
+
+********************************************************************
+Here is a bt from a gdb session. I had to recompile glibc/mono/muine with
+FEATURE=nostrip enabled.
+
+(gdb) thread apply all bt
+Thread 13 (Thread 1095891888 (LWP 22053)):
+#0 0xffffe410 in ?? ()
+#1 0x4151f564 in ?? ()
+#2 0x40d09100 in
+__elf_set___libc_thread_subfreeres_element___rpc_thread_destroy__ () from
+/lib/libc.so.6
+#3 0x00000008 in ?? ()
+#4 0x40c29eff in sigsuspend () from /lib/libc.so.6
+#5 0x40138108 in GC_suspend_handler () from /usr/lib/libmono.so.0
+#6 <signal handler called>
+#7 0xffffe410 in ?? ()
+#8 0x4151f8d8 in ?? ()
+#9 0x00000054 in ?? ()
+#10 0x00000000 in ?? ()
+#11 0x40bce810 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
+/lib/libpthread.so.0
+#12 0x40111506 in _wapi_handle_wait_signal_handle (handle=0xfffffffc) at
+handles.c:1510
+#13 0x4011f704 in WaitForSingleObjectEx (handle=0x3, timeout=4294967295,
+alertable=1) at wait.c:109
+#14 0x400cceff in finalizer_thread (unused=0x0) at gc.c:532
+#15 0x400db183 in start_wrapper (data=0x80f1180) at threads.c:253
+#16 0x4011e9de in timed_thread_start_routine (args=0x80f1198) at
+timed-thread.c:134
+#17 0x40137ba3 in GC_start_routine () from /usr/lib/libmono.so.0
+#18 0x40bcca1b in start_thread () from /lib/libpthread.so.0
+#19 0x40cb127a in clone () from /lib/libc.so.6
+
+Thread 12 (Thread 1111935920 (LWP 22054)):
+#0 0xffffe410 in ?? ()
+#1 0x4246c33c in ?? ()
+#2 0x40d09100 in
+__elf_set___libc_thread_subfreeres_element___rpc_thread_destroy__ () from
+/lib/libc.so.6
+#3 0x00000008 in ?? ()
+#4 0x40c29eff in sigsuspend () from /lib/libc.so.6
+#5 0x40138108 in GC_suspend_handler () from /usr/lib/libmono.so.0
+#6 <signal handler called>
+#7 0x43611448 in ?? ()
+#8 0x43611412 in ?? ()
+#9 0x086763e0 in ?? ()
+#10 0x08093ed8 in ?? ()
+#11 0x081484b8 in ?? ()
+#12 0x4246c68c in ?? ()
+#13 0x40070697 in mono_create_jump_trampoline (domain=0x0,
+method=0x86763e0, add_sync_wrapper=134871872) at mini.c:6252
+#14 0x441d5487 in ?? ()
+#15 0x086a0eb0 in ?? ()
+#16 0x40194818 in __JCR_LIST__ () from /usr/lib/libmono.so.0
+#17 0x0809fb40 in ?? ()
+#18 0x081484b8 in ?? ()
+#19 0x4246c6ac in ?? ()
+#20 0x4005acbc in mono_ldftn (method=0x4246c840) at jit-icalls.c:20
+#21 0x441d3459 in ?? ()
+#22 0x0809fb40 in ?? ()
+#23 0x001f42d0 in ?? ()
+#24 0x40227c80 in ?? () from /usr/lib/libglib-2.0.so.0
+#25 0x089515f0 in ?? ()
+#26 0x08993888 in ?? ()
+#27 0x402270fc in g_idle_funcs () from /usr/lib/libglib-2.0.so.0
+#28 0x4022733c in ?? () from /usr/lib/libglib-2.0.so.0
+#29 0x089938c0 in ?? ()
+#30 0x401d42dd in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
+#31 0x00000000 in ?? ()
+#32 0x4022733c in ?? () from /usr/lib/libglib-2.0.so.0
+#33 0x080b9eac in ?? ()
+#34 0x08993888 in ?? ()
+#35 0x4246c71c in ?? ()
+#36 0x40bcde6d in pthread_mutex_unlock () from /lib/libpthread.so.0
+#37 0x401d12d5 in g_main_depth () from /usr/lib/libglib-2.0.so.0
+#38 0x08993888 in ?? ()
+#39 0x441d3418 in ?? ()
+#40 0x00000000 in ?? ()
+#41 0x4246c75c in ?? ()
+#42 0x4246c73c in ?? ()
+#43 0x40bcde6d in pthread_mutex_unlock () from /lib/libpthread.so.0
+#44 0x402271c0 in g_thread_use_default_impl () from /usr/lib/libglib-2.0.so.0
+#45 0x401d42ba in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
+#46 0x08993888 in ?? ()
+#47 0x00000000 in ?? ()
+#48 0x00000000 in ?? ()
+#49 0x081fe178 in ?? ()
+#50 0x441d3418 in ?? ()
+#51 0x00000000 in ?? ()
+#52 0x4022733c in ?? () from /usr/lib/libglib-2.0.so.0
+#53 0x081f42d0 in ?? ()
+#54 0x00000001 in ?? ()
+#55 0x089515f0 in ?? ()
+#56 0x401d2278 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
+#57 0x081f42d0 in ?? ()
+#58 0x4022733c in ?? () from /usr/lib/libglib-2.0.so.0
+#59 0x00000001 in ?? ()
+#60 0x401d25b3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
+#61 0x081f42d0 in ?? ()
+#62 0x000000c8 in ?? ()
+#63 0x089515f0 in ?? ()
+#64 0x00000006 in ?? ()
+#65 0x00000006 in ?? ()
+#66 0x40bcde6d in pthread_mutex_unlock () from /lib/libpthread.so.0
+#67 0x401d1538 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
+#68 0x4246c7b8 in ?? ()
+#69 0x402271c0 in g_thread_use_default_impl () from /usr/lib/libglib-2.0.so.0
+#70 0x402271b8 in g_ascii_table () from /usr/lib/libglib-2.0.so.0
+#71 0x40227da0 in _g_debug_flags () from /usr/lib/libglib-2.0.so.0
+#72 0x00000000 in ?? ()
+#73 0x000000c8 in ?? ()
+#74 0x4022733c in ?? () from /usr/lib/libglib-2.0.so.0
+#75 0x08979d30 in ?? ()
+#76 0x00000001 in ?? ()
+#77 0x00000000 in ?? ()
+#78 0x401d2ba0 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
+#79 0x401b1fd0 in ?? () from /usr/lib/libglib-2.0.so.0
+#80 0x4274a0e8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
+#81 0x413173d8 in ?? ()
+#82 0x00000000 in ?? ()
+#83 0x00000000 in ?? ()
+#84 0x4000ae60 in _dl_runtime_resolve () from /lib/ld-linux.so.2
+#85 0x425ae49b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
+#86 0x413173d8 in ?? ()
+#87 0x08121000 in ?? ()
+#88 0x4246c860 in ?? ()
+#89 0x43f3053f in ?? ()
+#90 0x0046c840 in ?? ()
+#91 0x4007117a in mono_get_lmf_addr () at mini.c:6492
+Previous frame inner to this frame (corrupt stack?)
+#0 0xffffe410 in ?? ()
+*****************************************************************
+
+Thanx for all the help Paolo.