I've switched to 4.0.5, and the hangs are less frequent (though they still happen). Now, though, we're getting this shutdown crash. Is it possibly fixed by a later patch?
Full stack attached. Short version: sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 85 movq %rax, %rcx Id Target Id Frame 14 Thread 0x7f7d3726b700 (LWP 19847) "Finalizer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 13 Thread 0x7f7d279cc700 (LWP 19882) "Threadpool moni" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 12 Thread 0x7f7d2757d700 (LWP 19890) "IO Threadpool w" 0x00007f7d3de26cd9 in __libc_waitpid (pid=pid@entry=24339, stat_loc=stat_loc@entry=0x7f7d2753c19c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 11 Thread 0x7f7d268ff700 (LWP 19903) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 10 Thread 0x7f7d25dfe700 (LWP 19916) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 9 Thread 0x7f7d26d7a700 (LWP 19920) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 8 Thread 0x7f7cf79e3700 (LWP 19940) "hydrogen_main" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 7 Thread 0x7f7cf77e2700 (LWP 19941) "Timer-Scheduler" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 6 Thread 0x7f7cf6dff700 (LWP 19951) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 5 Thread 0x7f7cf5bfd700 (LWP 19967) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 4 Thread 0x7f7cf59fc700 (LWP 19971) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 3 Thread 0x7f7cf57fb700 (LWP 19978) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 2 Thread 0x7f7cf55fa700 (LWP 19980) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 * 1 Thread 0x7f7d3e955780 (LWP 19843) "LobbyServer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 ... Thread 1 (Thread 0x7f7d3e955780 (LWP 19843)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x7f7d04000970, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x00000000006230ca in mono_threads_core_suspend (info=info@entry=0x7f7d040008e0, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads-posix.c:418 #3 0x0000000000622513 in mono_thread_info_suspend_sync (error_condition=, interrupt_kernel=1, tid=140175507707648) at mono-threads.c:474 #4 mono_thread_info_safe_suspend_sync (id=140175507707648, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads.c:652 #5 0x0000000000589705 in suspend_thread_internal (thread=0x7f7d37312940, interrupt=1) at threads.c:4707 #6 0x0000000000589bdd in mono_thread_suspend_all_other_threads () at threads.c:3142 #7 0x000000000053c0f6 in ves_icall_System_Environment_Exit (result=0) at icall.c:6471 -----Original Message----- From: David Evans [mailto:dev...@pacificbiosciences.com] Sent: Monday, June 13, 2016 12:40 PM To: Chris Swiedler <cswied...@trionworlds.com>; mono-devel-list <mono-devel-list@lists.ximian.com> Subject: RE: Shutdown hangs I saw something similar when I was testing 4.2.2 awhile back, a rare hang on Exit with the main thread waiting like yours. I haven't tried 4.2.3 to see if our hang reproduces yet. We're still on 4.0.4 and we don't see it there. In the hang we saw, I also had one thread in pthread_cond_wait like yours, though we had two threads also in poll() with libusb_handle_events_timeout_completed () further up the stack. (gdb) info threads Id Target Id Frame 16 Thread 0x7f5eb0bff700 (LWP 2763) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 15 Thread 0x7f5eae7e1700 (LWP 2765) "Finalizer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 14 Thread 0x7f5ead26b700 (LWP 2784) "Timer-Scheduler" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 13 Thread 0x7f5eacf2f700 (LWP 2806) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 12 Thread 0x7f5eacd2a700 (LWP 2807) "Top" 0x00007f5eb1b48b9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 11 Thread 0x7f5e8e07b700 (LWP 2840) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 * 10 Thread 0x7f5e72fa5700 (LWP 2980) "Top" 0x00007f5eb186112d in poll () at ../sysdeps/unix/syscall-template.S:81 9 Thread 0x7f5e727a4700 (LWP 2981) "Top" 0x00007f5eb186112d in poll () at ../sysdeps/unix/syscall-template.S:81 8 Thread 0x7f5e71a7b700 (LWP 3531) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 7 Thread 0x7f5e7187a700 (LWP 3532) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 6 Thread 0x7f5e706a3700 (LWP 3562) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 5 Thread 0x7f5e704a2700 (LWP 3563) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 4 Thread 0x7f5e579fc700 (LWP 3594) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 3 Thread 0x7f5e577fb700 (LWP 3595) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 2 Thread 0x7f5e565f2700 (LWP 3876) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 1 Thread 0x7f5eb266f7c0 (LWP 2758) "Top" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 -----Original Message----- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Chris Swiedler Sent: Monday, June 13, 2016 9:55 AM To: mono-devel-list Subject: [Mono-dev] Shutdown hangs I'm getting semi-reliable shutdown hangs in a mono command-line app using mono 4.2.3 on Centos 7 64-bit. The app does different things at different times, and the shutdowns only seem to happen when it connects to our SQL server database (using the Mono database bindings, not ODBC). We've also seen an occasional segfault, also seemingly only when doing database work, though those may have gone away since upgrading to 4.2.3. Does anyone have any thoughts? Pstack output below. Thanks, chris Thread 5 (Thread 0x7f4c777ff700 (LWP 11658)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00000000005f786c in thread_func (thread_data=0x0) at sgen-thread-pool.c:118 #2 0x00007f4c77ffedf5 in start_thread (arg=0x7f4c777ff700) at pthread_create.c:308 #3 0x00007f4c77d2c1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 4 (Thread 0x7f4c75560700 (LWP 11659)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061aa37 in mono_sem_wait (sem=sem@entry=0x953c40 <finalizer_sem>, alertable=alertable@entry=1) at mono-semaphore.c:107 #2 0x00000000005a1736 in finalizer_thread (unused=<optimized out>) at gc.c:1096 #3 0x00000000005841e9 in start_wrapper_internal (data=<optimized out>) at threads.c:725 #4 start_wrapper (data=<optimized out>) at threads.c:772 #5 0x0000000000621026 in inner_start_thread (arg=0x7fffda0d42e0) at mono-threads-posix.c:97 #6 0x00007f4c77ffedf5 in start_thread (arg=0x7f4c75560700) at pthread_create.c:308 #7 0x00007f4c77d2c1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 3 (Thread 0x7f4c74fd3700 (LWP 11660)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061aa37 in mono_sem_wait (sem=sem@entry=0x7f4c68000940, alertable=alertable@entry=0) at mono-semaphore.c:107 #2 0x000000000061f5ba in mono_thread_info_wait_for_resume (info=<optimized out>) at mono-threads.c:110 #3 mono_thread_info_end_self_suspend () at mono-threads.c:692 #4 0x0000000000583d2c in self_suspend_internal (thread=0x7f4c78a74330) at threads.c:4546 #5 mono_thread_execute_interruption (thread=thread@entry=0x7f4c78a74330) at threads.c:4050 #6 0x0000000000583f50 in mono_thread_interruption_checkpoint_request (bypass_abort_protection=bypass_abort_protection@entry=1) at threads.c:4184 #7 0x0000000000584dae in mono_thread_force_interruption_checkpoint () at threads.c:4221 Thread 2 (Thread 0x7f4c746ff700 (LWP 11661)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061aa37 in mono_sem_wait (sem=sem@entry=0x7f4c6c000940, alertable=alertable@entry=0) at mono-semaphore.c:107 #2 0x000000000061f5ba in mono_thread_info_wait_for_resume (info=<optimized out>) at mono-threads.c:110 #3 mono_thread_info_end_self_suspend () at mono-threads.c:692 #4 0x0000000000583d2c in self_suspend_internal (thread=0x7f4c78a74430) at threads.c:4546 #5 mono_thread_execute_interruption (thread=thread@entry=0x7f4c78a74430) at threads.c:4050 #6 0x00000000005851f9 in ves_icall_System_Threading_Thread_Sleep_internal (ms=1000) at threads.c:1206 #17 0x00007f4c756fa2e7 in System_Threading_Thread_Sleep_int (millisecondsTimeout=1000) at /home/cswiedler/mono-main/Extern/mono/source/external/referencesource/mscorlib/system/threading/thread.cs:715 Thread 1 (Thread 0x7f4c78b34780 (LWP 11657)): #0 0x00007f4c7800599d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x0000000000632a5a in monoeg_g_usleep (microseconds=1935890) at gdate-unix.c:53 #2 0x000000000061f2bb in suspend_sync_nolock (id=id@entry=139966347736832, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads.c:870 #3 0x000000000061f732 in mono_thread_info_safe_suspend_and_run (id=139966347736832, interrupt_kernel=interrupt_kernel@entry=1, callback=callback@entry=0x5813c0 <suspend_thread_critical>, user_data=user_data@entry=0x7fffda0d3a10) at mono-threads.c:891 #4 0x0000000000581d29 in suspend_thread_internal (thread=0x7f4c78a74430, interrupt=1) at threads.c:4531 #5 0x00000000005834ff in mono_thread_suspend_all_other_threads () at threads.c:3154 #6 0x0000000000538176 in ves_icall_System_Environment_Exit (result=0) at icall.c:6006 #7 0x0000000040731832 in ?? () _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Native stacktrace: /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x4b7258] /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x50c9de] /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x428ce8] /lib64/libpthread.so.0(+0xf130) [0x7f7d3de27130] /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x5f8a55] /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x58b8ef] /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x58d809] /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x588634] /opt/trion/hydrogen/CommonServer/Mono/linux64/bin/mono-sgen() [0x622a8e] /lib64/libpthread.so.0(+0x7df5) [0x7f7d3de1fdf5] /lib64/libc.so.6(clone+0x6d) [0x7f7d3db4d1ad] Debug info from gdb: Mono support loaded. [New LWP 19980] [New LWP 19978] [New LWP 19971] [New LWP 19967] [New LWP 19951] [New LWP 19941] [New LWP 19940] [New LWP 19920] [New LWP 19916] [New LWP 19903] [New LWP 19890] [New LWP 19882] [New LWP 19847] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 85 movq %rax, %rcx Id Target Id Frame 14 Thread 0x7f7d3726b700 (LWP 19847) "Finalizer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 13 Thread 0x7f7d279cc700 (LWP 19882) "Threadpool moni" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 12 Thread 0x7f7d2757d700 (LWP 19890) "IO Threadpool w" 0x00007f7d3de26cd9 in __libc_waitpid (pid=pid@entry=24339, stat_loc=stat_loc@entry=0x7f7d2753c19c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 11 Thread 0x7f7d268ff700 (LWP 19903) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 10 Thread 0x7f7d25dfe700 (LWP 19916) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 9 Thread 0x7f7d26d7a700 (LWP 19920) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 8 Thread 0x7f7cf79e3700 (LWP 19940) "hydrogen_main" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 7 Thread 0x7f7cf77e2700 (LWP 19941) "Timer-Scheduler" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 6 Thread 0x7f7cf6dff700 (LWP 19951) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 5 Thread 0x7f7cf5bfd700 (LWP 19967) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 4 Thread 0x7f7cf59fc700 (LWP 19971) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 3 Thread 0x7f7cf57fb700 (LWP 19978) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 2 Thread 0x7f7cf55fa700 (LWP 19980) "Threadpool work" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 * 1 Thread 0x7f7d3e955780 (LWP 19843) "LobbyServer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 Thread 14 (Thread 0x7f7d3726b700 (LWP 19847)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x94ed80 , alertable=alertable@entry=1) at mono-semaphore.c:101 #2 0x00000000005a3bfe in finalizer_thread (unused=) at gc.c:1074 #3 0x0000000000588634 in start_wrapper_internal (data=) at threads.c:664 #4 start_wrapper (data=) at threads.c:711 #5 0x0000000000622a8e in inner_start_thread (arg=0x7fff690cae10) at mono-threads-posix.c:92 #6 0x00007f7d3de1fdf5 in start_thread (arg=0x7f7d3726b700) at pthread_create.c:308 #7 0x00007f7d3db4d1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 13 (Thread 0x7f7d279cc700 (LWP 19882)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x9652c0 , alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000621c7e in mono_thread_info_suspend_lock () at mono-threads.c:715 #3 unregister_thread (arg=0x7f7d080008e0) at mono-threads.c:206 #4 0x000000000062217c in mono_thread_info_detach () at mono-threads.c:369 #5 0x00000000005ca339 in mono_gc_pthread_exit (retval=0x0) at sgen-gc.c:4036 #6 0x0000000000622ac3 in inner_start_thread (arg=0x7f7d27bd6650) at mono-threads-posix.c:107 #7 0x00007f7d3de1fdf5 in start_thread (arg=0x7f7d279cc700) at pthread_create.c:308 #8 0x00007f7d3db4d1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 12 (Thread 0x7f7d2757d700 (LWP 19890)): #0 0x00007f7d3de26cd9 in __libc_waitpid (pid=pid@entry=24339, stat_loc=stat_loc@entry=0x7f7d2753c19c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 #1 0x00000000004b72e0 in mono_handle_native_sigsegv (signal=signal@entry=11, ctx=ctx@entry=0x7f7d2753cac0, info=info@entry=0x7f7d2753cbf0) at mini-exceptions.c:2347 #2 0x000000000050c9de in mono_arch_handle_altstack_exception (sigctx=sigctx@entry=0x7f7d2753cac0, siginfo=siginfo@entry=0x7f7d2753cbf0, fault_addr=, stack_ovf=stack_ovf@entry=0) at exceptions-amd64.c:851 #3 0x0000000000428ce8 in mono_sigsegv_signal_handler (_dummy=11, _info=0x7f7d2753cbf0, context=0x7f7d2753cac0) at mini.c:6810 #4 #5 0x00000000005f8a55 in mono_cqitem_try_enqueue (obj=0x7f7d36f1bcd0, cq=0x1e56880) at mono-cq.c:126 #6 mono_cq_enqueue (cq=0x1e56880, obj=obj@entry=0x7f7d36f1bcd0) at mono-cq.c:155 #7 0x000000000058b8ef in threadpool_append_jobs (tp=0x94ea20 , jobs=, njobs=1) at threadpool.c:1275 #8 0x000000000058d809 in icall_append_job (ar=0x7f7d36f1bcd0) at threadpool.c:1218 #9 async_invoke_thread (data=0x7f7d36f15bd8) at threadpool.c:1633 #10 0x0000000000588634 in start_wrapper_internal (data=) at threads.c:664 #11 start_wrapper (data=) at threads.c:711 #12 0x0000000000622a8e in inner_start_thread (arg=0x7f7d27c58cf0) at mono-threads-posix.c:92 #13 0x00007f7d3de1fdf5 in start_thread (arg=0x7f7d2757d700) at pthread_create.c:308 #14 0x00007f7d3db4d1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 11 (Thread 0x7f7d268ff700 (LWP 19903)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x2741610, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000622352 in mono_thread_info_self_suspend () at mono-threads.c:513 #3 0x0000000000587bee in self_suspend_internal (thread=0x7f7d37313840) at threads.c:4777 #4 mono_thread_execute_interruption (thread=thread@entry=0x7f7d37313840) at threads.c:4172 #5 0x0000000000587f4c in mono_wait_uninterrupted (thread=thread@entry=0x7f7d37313840, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f7d268fe708, waitall=waitall@entry=0, ms=ms@entry=5000, alertable=1) at threads.c:1381 #6 0x0000000000589419 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x80ca, ms=5000, exitContext=) at threads.c:1509 #7 0x0000000040c59760 in ?? () #8 0x0000000000000001 in ?? () #9 0x0000000000000001 in ?? () #10 0x00007f7d26592440 in ?? () #11 0x00007f7d36d67448 in ?? () #12 0x0000000000001388 in ?? () #13 0x00000000027581f1 in ?? () #14 0x00000000414a8edd in ?? () #15 0x00007f7d268fe7c0 in ?? () #16 0x00007f7d268fe730 in ?? () #17 0x00007f7d355079fc in System_Threading_WaitHandle_WaitOne_System_TimeSpan_bool (this=..., timeout=50000000, exitContext=false) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:411 #18 0x00007f7d3550794e in System_Threading_WaitHandle_WaitOne_System_TimeSpan (this=..., timeout=50000000) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:393 #19 0x000000004168ec49 in ?? () #20 0x0000000000000001 in ?? () #21 0x00007f7d36fe9848 in ?? () #22 0x00007f7d36fe9848 in ?? () #23 0x0000000000000001 in ?? () #24 0x0000000000000001 in ?? () #25 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f7d25dfe700 (LWP 19916)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x9652c0 , alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000621c7e in mono_thread_info_suspend_lock () at mono-threads.c:715 #3 unregister_thread (arg=0x7f7d1c0008e0) at mono-threads.c:206 #4 0x000000000062217c in mono_thread_info_detach () at mono-threads.c:369 #5 0x00000000005ca339 in mono_gc_pthread_exit (retval=0x0) at sgen-gc.c:4036 #6 0x0000000000622ac3 in inner_start_thread (arg=0x7f7d27e9acf0) at mono-threads-posix.c:107 #7 0x00007f7d3de1fdf5 in start_thread (arg=0x7f7d25dfe700) at pthread_create.c:308 #8 0x00007f7d3db4d1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 9 (Thread 0x7f7d26d7a700 (LWP 19920)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x7f7cf0001520, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000622352 in mono_thread_info_self_suspend () at mono-threads.c:513 #3 0x0000000000587bee in self_suspend_internal (thread=0x7f7d26ae0280) at threads.c:4777 #4 mono_thread_execute_interruption (thread=thread@entry=0x7f7d26ae0280) at threads.c:4172 #5 0x0000000000587f4c in mono_wait_uninterrupted (thread=thread@entry=0x7f7d26ae0280, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f7d26d79708, waitall=waitall@entry=0, ms=ms@entry=5000, alertable=1) at threads.c:1381 #6 0x0000000000589419 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x8076, ms=5000, exitContext=) at threads.c:1509 #7 0x0000000040c59760 in ?? () #8 0x0000000000000001 in ?? () #9 0x0000000000000001 in ?? () #10 0x00007f7d266a2300 in ?? () #11 0x00007f7d36ff0418 in ?? () #12 0x0000000000001388 in ?? () #13 0x00007f7cf00017a1 in ?? () #14 0x00000000414a8edd in ?? () #15 0x00007f7d26d797c0 in ?? () #16 0x00007f7d26d79730 in ?? () #17 0x00007f7d355079fc in System_Threading_WaitHandle_WaitOne_System_TimeSpan_bool (this=..., timeout=50000000, exitContext=false) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:411 #18 0x00007f7d3550794e in System_Threading_WaitHandle_WaitOne_System_TimeSpan (this=..., timeout=50000000) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:393 #19 0x000000004168ec49 in ?? () #20 0x0000000000000001 in ?? () #21 0x00007f7d36fdffa8 in ?? () #22 0x00007f7d36fdffa8 in ?? () #23 0x0000000000000001 in ?? () #24 0x0000000000000001 in ?? () #25 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f7cf79e3700 (LWP 19940)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x29ec570, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000622352 in mono_thread_info_self_suspend () at mono-threads.c:513 #3 0x0000000000587bee in self_suspend_internal (thread=0x7f7d27074a00) at threads.c:4777 #4 mono_thread_execute_interruption (thread=thread@entry=0x7f7d27074a00) at threads.c:4172 #5 0x0000000000588cdf in mono_thread_get_and_clear_pending_exception () at threads.c:4363 #6 0x0000000040c59778 in ?? () #7 0x00007f7d258b4500 in ?? () #8 0x005f006e00650067 in ?? () #9 0x00007f7d27074a00 in ?? () #10 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f7cf77e2700 (LWP 19941)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x7f7cf00020b0, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000622352 in mono_thread_info_self_suspend () at mono-threads.c:513 #3 0x0000000000587bee in self_suspend_internal (thread=0x7f7d27074b40) at threads.c:4777 #4 mono_thread_execute_interruption (thread=thread@entry=0x7f7d27074b40) at threads.c:4172 #5 0x0000000000587f4c in mono_wait_uninterrupted (thread=thread@entry=0x7f7d27074b40, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f7cf77e18a8, waitall=waitall@entry=0, ms=ms@entry=-1, alertable=1) at threads.c:1381 #6 0x0000000000589419 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x8055, ms=-1, exitContext=) at threads.c:1509 #7 0x0000000040c59760 in ?? () #8 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f7cf6dff700 (LWP 19951)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x7f7d04095030, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000622352 in mono_thread_info_self_suspend () at mono-threads.c:513 #3 0x0000000000587bee in self_suspend_internal (thread=0x7f7d266a1cc0) at threads.c:4777 #4 mono_thread_execute_interruption (thread=thread@entry=0x7f7d266a1cc0) at threads.c:4172 #5 0x0000000000587f4c in mono_wait_uninterrupted (thread=thread@entry=0x7f7d266a1cc0, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f7cf6dfe708, waitall=waitall@entry=0, ms=ms@entry=5000, alertable=1) at threads.c:1381 #6 0x0000000000589419 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x80ce, ms=5000, exitContext=) at threads.c:1509 #7 0x0000000040c59760 in ?? () #8 0x0000000000000001 in ?? () #9 0x0000000000000001 in ?? () #10 0x00007f7d26592580 in ?? () #11 0x00007f7d36d11c80 in ?? () #12 0x0000000000001388 in ?? () #13 0x00007f7d04126841 in ?? () #14 0x00000000414a8edd in ?? () #15 0x00007f7cf6dfe7c0 in ?? () #16 0x00007f7cf6dfe730 in ?? () #17 0x00007f7d355079fc in System_Threading_WaitHandle_WaitOne_System_TimeSpan_bool (this=..., timeout=50000000, exitContext=false) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:411 #18 0x00007f7d3550794e in System_Threading_WaitHandle_WaitOne_System_TimeSpan (this=..., timeout=50000000) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:393 #19 0x000000004168ec49 in ?? () #20 0x0000000000000001 in ?? () #21 0x00007f7d36fed260 in ?? () #22 0x00007f7d36fed260 in ?? () #23 0x0000000000000001 in ?? () #24 0x0000000000000001 in ?? () #25 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f7cf5bfd700 (LWP 19967)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x7f7d1c045f00, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000622352 in mono_thread_info_self_suspend () at mono-threads.c:513 #3 0x0000000000587bee in self_suspend_internal (thread=0x7f7d266a3200) at threads.c:4777 #4 mono_thread_execute_interruption (thread=thread@entry=0x7f7d266a3200) at threads.c:4172 #5 0x0000000000587f4c in mono_wait_uninterrupted (thread=thread@entry=0x7f7d266a3200, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f7cf5bfc708, waitall=waitall@entry=0, ms=ms@entry=5000, alertable=1) at threads.c:1381 #6 0x0000000000589419 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x808a, ms=5000, exitContext=) at threads.c:1509 #7 0x0000000040c59760 in ?? () #8 0x0000000000000001 in ?? () #9 0x0000000000000001 in ?? () #10 0x00007f7d265912c0 in ?? () #11 0x00007f7d36ff1418 in ?? () #12 0x0000000000001388 in ?? () #13 0x00007f7d1c046181 in ?? () #14 0x00000000414a8edd in ?? () #15 0x00007f7cf5bfc7c0 in ?? () #16 0x00007f7cf5bfc730 in ?? () #17 0x00007f7d355079fc in System_Threading_WaitHandle_WaitOne_System_TimeSpan_bool (this=..., timeout=50000000, exitContext=false) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:411 #18 0x00007f7d3550794e in System_Threading_WaitHandle_WaitOne_System_TimeSpan (this=..., timeout=50000000) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:393 #19 0x000000004168ec49 in ?? () #20 0x0000000000000001 in ?? () #21 0x00007f7d36fe5e10 in ?? () #22 0x00007f7d36fe5e10 in ?? () #23 0x0000000000000001 in ?? () #24 0x0000000000000001 in ?? () #25 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f7cf59fc700 (LWP 19971)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x7f7d18002e10, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000622352 in mono_thread_info_self_suspend () at mono-threads.c:513 #3 0x0000000000587bee in self_suspend_internal (thread=0x7f7d26591f40) at threads.c:4777 #4 mono_thread_execute_interruption (thread=thread@entry=0x7f7d26591f40) at threads.c:4172 #5 0x0000000000587f4c in mono_wait_uninterrupted (thread=thread@entry=0x7f7d26591f40, multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f7cf59fb708, waitall=waitall@entry=0, ms=ms@entry=5000, alertable=1) at threads.c:1381 #6 0x0000000000589419 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=, handle=0x8078, ms=5000, exitContext=) at threads.c:1509 #7 0x0000000040c59760 in ?? () #8 0x0000000000000001 in ?? () #9 0x0000000000000001 in ?? () #10 0x00007f7d266a2440 in ?? () #11 0x00007f7d36f2e240 in ?? () #12 0x0000000000001388 in ?? () #13 0x00007f7d1800c5e1 in ?? () #14 0x00000000414a8edd in ?? () #15 0x00007f7cf59fb7c0 in ?? () #16 0x00007f7cf59fb730 in ?? () #17 0x00007f7d355079fc in System_Threading_WaitHandle_WaitOne_System_TimeSpan_bool (this=..., timeout=50000000, exitContext=false) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:411 #18 0x00007f7d3550794e in System_Threading_WaitHandle_WaitOne_System_TimeSpan (this=..., timeout=50000000) at /home/cswiedler/mono-main/Extern/mono/source/mcs/class/corlib/System.Threading/WaitHandle.cs:393 #19 0x000000004168ec49 in ?? () #20 0x0000000000000001 in ?? () #21 0x00007f7d36fdc0e8 in ?? () #22 0x00007f7d36fdc0e8 in ?? () #23 0x0000000000000001 in ?? () #24 0x0000000000000001 in ?? () #25 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f7cf57fb700 (LWP 19978)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x9652c0 , alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000621c7e in mono_thread_info_suspend_lock () at mono-threads.c:715 #3 unregister_thread (arg=0x7f7d200061a0) at mono-threads.c:206 #4 0x000000000062217c in mono_thread_info_detach () at mono-threads.c:369 #5 0x00000000005ca339 in mono_gc_pthread_exit (retval=0x0) at sgen-gc.c:4036 #6 0x0000000000622ac3 in inner_start_thread (arg=0x7f7d27e9acf0) at mono-threads-posix.c:107 #7 0x00007f7d3de1fdf5 in start_thread (arg=0x7f7cf57fb700) at pthread_create.c:308 #8 0x00007f7d3db4d1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7f7cf55fa700 (LWP 19980)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x9652c0 , alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x0000000000621c7e in mono_thread_info_suspend_lock () at mono-threads.c:715 #3 unregister_thread (arg=0x7f7d2c0076d0) at mono-threads.c:206 #4 0x000000000062217c in mono_thread_info_detach () at mono-threads.c:369 #5 0x00000000005ca339 in mono_gc_pthread_exit (retval=0x0) at sgen-gc.c:4036 #6 0x0000000000622ac3 in inner_start_thread (arg=0x7f7d27e9acf0) at mono-threads-posix.c:107 #7 0x00007f7d3de1fdf5 in start_thread (arg=0x7f7cf55fa700) at pthread_create.c:308 #8 0x00007f7d3db4d1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7f7d3e955780 (LWP 19843)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x000000000061def7 in mono_sem_wait (sem=sem@entry=0x7f7d04000970, alertable=alertable@entry=0) at mono-semaphore.c:101 #2 0x00000000006230ca in mono_threads_core_suspend (info=info@entry=0x7f7d040008e0, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads-posix.c:418 #3 0x0000000000622513 in mono_thread_info_suspend_sync (error_condition=, interrupt_kernel=1, tid=140175507707648) at mono-threads.c:474 #4 mono_thread_info_safe_suspend_sync (id=140175507707648, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads.c:652 #5 0x0000000000589705 in suspend_thread_internal (thread=0x7f7d37312940, interrupt=1) at threads.c:4707 #6 0x0000000000589bdd in mono_thread_suspend_all_other_threads () at threads.c:3142 #7 0x000000000053c0f6 in ves_icall_System_Environment_Exit (result=0) at icall.c:6471 #8 0x000000004171a672 in ?? () #9 0x0000000001e93910 in ?? () #10 0x00007fff690caff0 in ?? () #11 0x00000000413e5e40 in ?? () #12 0x00007fff690caff0 in ?? () #13 0x00007f7d36c00bc0 in ?? () #14 0x0000000001e56b40 in ?? () #15 0x00000000413e6fd8 in ?? () #16 0x00007fff690cac90 in ?? () #17 0x00007fff690caab0 in ?? () #18 0x00000000413e6fc4 in ?? () #19 0x00000000413e6ce7 in ?? () #20 0x00000000413e6bc8 in ?? () #21 0x00007f7d3e955710 in ?? () #22 0x0000000000000000 in ?? () ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list