Bug 4595 - mono-2-10 Assertion at the end of nunit-console run
Summary: mono-2-10 Assertion at the end of nunit-console run
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 8487 8569 ()
Depends on:
Blocks:
 
Reported: 2012-04-23 11:46 UTC by David Schmitt
Modified: 2013-05-23 12:09 UTC (History)
9 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description David Schmitt 2012-04-23 11:46:18 UTC
At the end of some, but not all, nunit-console runs on my jenkins the following assertion is triggered:

* Assertion at mono-debug.c:201, condition `table' not met

Stacktrace:


Native stacktrace:

	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x48f813]
	/lib/libpthread.so.0(+0xeff0) [0x2b59db0b4ff0]
	/lib/libc.so.6(gsignal+0x35) [0x2b59db2f41b5]
	/lib/libc.so.6(abort+0x180) [0x2b59db2f6fc0]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x5df632]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x5df7f5]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x589826]
	/var/lib/jenkins/mono/mono-2-10/bin/mono(mono_debug_remove_method+0x3e) [0x58a23e]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x4169a3]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x539a52]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x55a910]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x57a8b6]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x57a8f0]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x57bc41]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x5a8c3b]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x5ba6a4]
	/var/lib/jenkins/mono/mono-2-10/bin/mono() [0x5ed8aa]
	/lib/libpthread.so.0(+0x68ca) [0x2b59db0ac8ca]
	/lib/libc.so.6(clone+0x6d) [0x2b59db39186d]

Debug info from gdb:

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted


This does not happen on all runs.

Is there a way to get more debugging info from the native stacktrace? I'm compiling my mono locally: Mono JIT compiler version 2.10.8.1 ((no/606afdf Sat Apr 21 01:28:09 CEST 2012)
Comment 1 Miguel de Icaza [MSFT] 2012-04-23 22:50:51 UTC
What operating system, version, Kernel, etc?
Comment 2 David Schmitt 2012-04-26 03:55:29 UTC
Linux jenkins 2.6.32-5-vserver-amd64 #1 SMP Thu Mar 22 20:01:47 UTC 2012 x86_64 GNU/Linux

Debian squeeze.
Comment 3 David Schmitt 2012-04-26 03:56:41 UTC
I'm running a locally compiled mono version and have replaced the NUnit binaries with those from NUnit-2.5.10.11092
Comment 4 David Schmitt 2012-04-26 04:35:30 UTC
I've now also managed to capture a gdb backtrace:


[New Thread 0x7f62f032e700 (LWP 1842)]
0x00007f62f069c569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  17 Thread 0x7f62f032e700 (LWP 1842)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  16 Thread 0x7f62efb2d700 (LWP 1843)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  15 Thread 0x7f62ef32c700 (LWP 1844)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  14 Thread 0x7f62eeb2b700 (LWP 1845)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  13 Thread 0x7f62ee32a700 (LWP 1846)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  12 Thread 0x7f62edb29700 (LWP 1847)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  11 Thread 0x7f62ed328700 (LWP 1848)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  10 Thread 0x7f62ebf05700 (LWP 1849)  0x00007f62f069fbdd in waitpid () from /lib/libpthread.so.0
  9 Thread 0x7f62eb6da700 (LWP 1852)  0x00007f62f069f38d in accept () from /lib/libpthread.so.0
  8 Thread 0x7f62e93c1700 (LWP 1861)  0x00007f62f03fee63 in epoll_wait () from /lib/libc.so.6
  7 Thread 0x7f62e9380700 (LWP 1862)  0x00007f62f069e4a7 in sem_timedwait () from /lib/libpthread.so.0
  6 Thread 0x7f62e9337700 (LWP 1867)  0x00007f62f069f86d in nanosleep () from /lib/libpthread.so.0
  5 Thread 0x7f62e92f6700 (LWP 1868)  0x00007f62f069e4a7 in sem_timedwait () from /lib/libpthread.so.0
  4 Thread 0x7f62e8202700 (LWP 2011)  0x00007f62f069e4a7 in sem_timedwait () from /lib/libpthread.so.0
  3 Thread 0x7f62ea806700 (LWP 2188)  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  2 Thread 0x7f62ea601700 (LWP 2189)  0x00007f62f069ec74 in __lll_lock_wait () from /lib/libpthread.so.0
* 1 Thread 0x7f62f114c740 (LWP 1841)  0x00007f62f069c569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

Thread 17 (Thread 0x7f62f032e700 (LWP 1842)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005edc47 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e22a1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ec9c8 in GC_mark_thread (id=0x0) at pthread_support.c:552
#4  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f62efb2d700 (LWP 1843)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005edc47 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e22a1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ec9c8 in GC_mark_thread (id=0x1) at pthread_support.c:552
#4  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f62ef32c700 (LWP 1844)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005edc47 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e22a1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ec9c8 in GC_mark_thread (id=0x2) at pthread_support.c:552
#4  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f62eeb2b700 (LWP 1845)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005edc47 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e22a1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ec9c8 in GC_mark_thread (id=0x3) at pthread_support.c:552
#4  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f62ee32a700 (LWP 1846)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005edc47 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e22a1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ec9c8 in GC_mark_thread (id=0x4) at pthread_support.c:552
#4  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f62edb29700 (LWP 1847)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005edc47 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e22a1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ec9c8 in GC_mark_thread (id=0x5) at pthread_support.c:552
#4  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f62ed328700 (LWP 1848)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005edc47 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e22a1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ec9c8 in GC_mark_thread (id=0x6) at pthread_support.c:552
#4  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f62ebf05700 (LWP 1849)):
#0  0x00007f62f069fbdd in waitpid () from /lib/libpthread.so.0
#1  0x000000000048f94d in mono_handle_native_sigsegv (signal=<value optimized out>, ctx=<value optimized out>) at mini-exceptions.c:2192
#2  <signal handler called>
#3  0x00007f62f03611b5 in raise () from /lib/libc.so.6
#4  0x00007f62f0363fc0 in abort () from /lib/libc.so.6
#5  0x00000000005df632 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=0x5f87a8 "* Assertion at %s:%d, condition `%s' not met\n", args=0x7f62ebf04af0) at goutput.c:129
#6  0x00000000005df7f5 in monoeg_assertion_message (format=0x5f87a8 "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:153
#7  0x0000000000589826 in lookup_data_table (domain=<value optimized out>) at mono-debug.c:201
#8  0x000000000058a23e in mono_debug_remove_method (method="System.Runtime.CompilerServices.ExecutionScope:lambda_method ()", domain=0x7f62f0fab000) at mono-debug.c:721
#9  0x00000000004169a3 in mono_jit_free_method (domain=0x7f62f0fab000, method="System.Runtime.CompilerServices.ExecutionScope:lambda_method ()") at mini.c:5501
#10 0x0000000000539a52 in mono_runtime_free_method (domain=0x7f62f0fab000, method="System.Runtime.CompilerServices.ExecutionScope:lambda_method ()") at object.c:620
#11 0x000000000055a910 in free_dynamic_method (dynamic_method=0x1f54a20) at reflection.c:11459
#12 0x000000000057a8b6 in reference_queue_proccess (queue=0x7f62e42b6520) at gc.c:1348
#13 0x000000000057a8f0 in reference_queue_proccess_all () at gc.c:1362
#14 0x000000000057bc41 in finalizer_thread (unused=<value optimized out>) at gc.c:1095
#15 0x00000000005a8c3b in start_wrapper_internal (data=<value optimized out>) at threads.c:784
#16 start_wrapper (data=<value optimized out>) at threads.c:832
#17 0x00000000005ba6a4 in thread_start_routine (args=0xee5550) at wthreads.c:287
#18 0x00000000005ed8aa in GC_start_routine (arg=0x7f62f0f94fc0) at pthread_support.c:1468
#19 0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#20 0x00007f62f03fe86d in clone () from /lib/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f62eb6da700 (LWP 1852)):
#0  0x00007f62f069f38d in accept () from /lib/libpthread.so.0
#1  0x00000000005bb78e in _wapi_accept (fd=3, addr=0x0, addrlen=0x0) at sockets.c:225
#2  0x000000000057f503 in ves_icall_System_Net_Sockets_Socket_Accept_internal (sock=3, error=0x7f62eb6d9a1c, blocking=<value optimized out>) at socket-io.c:883
#3  0x0000000040ca8ca3 in ?? ()
#4  0x0000000001235740 in ?? ()
#5  0x00007f62f0fabcc0 in ?? ()
#6  0x00007f62eb6dc138 in ?? ()
#7  0x00007f62eb6dc138 in ?? ()
#8  0x0000000001223510 in ?? ()
#9  0x00007f62eb6d9a50 in ?? ()
#10 0x00007f62eb6d9930 in ?? ()
#11 0x00007f62f0fabcc0 in ?? ()
#12 0x00007f62eb6dc138 in ?? ()
#13 0x00007f62eb6dc138 in ?? ()
#14 0x00007f62ebbe3cf8 in ?? ()
#15 0x0000000040ca8a50 in ?? ()
#16 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f62e93c1700 (LWP 1861)):
#0  0x00007f62f03fee63 in epoll_wait () from /lib/libc.so.6
#1  0x00000000005556d1 in tp_epoll_wait (p=<value optimized out>) at ../../mono/metadata/tpool-epoll.c:104
#2  0x00000000005a8c3b in start_wrapper_internal (data=<value optimized out>) at threads.c:784
#3  start_wrapper (data=<value optimized out>) at threads.c:832
#4  0x00000000005ba6a4 in thread_start_routine (args=0xee7238) at wthreads.c:287
#5  0x00000000005ed8aa in GC_start_routine (arg=0x7f62eb156f88) at pthread_support.c:1468
#6  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#7  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f62e9380700 (LWP 1862)):
#0  0x00007f62f069e4a7 in sem_timedwait () from /lib/libpthread.so.0
#1  0x00000000005cef73 in mono_sem_timedwait (sem=0x8ea0e8, timeout_ms=<value optimized out>, alertable=1) at mono-semaphore.c:76
#2  0x000000000055665f in async_invoke_thread (data=0x0) at threadpool.c:1502
#3  0x00000000005a8c3b in start_wrapper_internal (data=<value optimized out>) at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba6a4 in thread_start_routine (args=0xee7300) at wthreads.c:287
#6  0x00000000005ed8aa in GC_start_routine (arg=0x7f62eb156f88) at pthread_support.c:1468
#7  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f62e9337700 (LWP 1867)):
#0  0x00007f62f069f86d in nanosleep () from /lib/libpthread.so.0
#1  0x00000000005b9644 in SleepEx (ms=<value optimized out>, alertable=1) at wthreads.c:1026
#2  0x0000000000554d0b in monitor_thread (unused=<value optimized out>) at threadpool.c:783
#3  0x00000000005a8c3b in start_wrapper_internal (data=<value optimized out>) at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba6a4 in thread_start_routine (args=0xee7940) at wthreads.c:287
#6  0x00000000005ed8aa in GC_start_routine (arg=0x7f62eb6e5ea8) at pthread_support.c:1468
#7  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f62e92f6700 (LWP 1868)):
#0  0x00007f62f069e4a7 in sem_timedwait () from /lib/libpthread.so.0
#1  0x00000000005cef73 in mono_sem_timedwait (sem=0x8ea028, timeout_ms=<value optimized out>, alertable=1) at mono-semaphore.c:76
#2  0x000000000055665f in async_invoke_thread (data=0x0) at threadpool.c:1502
#3  0x00000000005a8c3b in start_wrapper_internal (data=<value optimized out>) at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba6a4 in thread_start_routine (args=0xee7a08) at wthreads.c:287
#6  0x00000000005ed8aa in GC_start_routine (arg=0x7f62eb6e5ea8) at pthread_support.c:1468
#7  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f62e8202700 (LWP 2011)):
#0  0x00007f62f069e4a7 in sem_timedwait () from /lib/libpthread.so.0
#1  0x00000000005cef73 in mono_sem_timedwait (sem=0x8ea028, timeout_ms=<value optimized out>, alertable=1) at mono-semaphore.c:76
#2  0x000000000055665f in async_invoke_thread (data=0x0) at threadpool.c:1502
#3  0x00000000005a8c3b in start_wrapper_internal (data=<value optimized out>) at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba6a4 in thread_start_routine (args=0xee9628) at wthreads.c:287
#6  0x00000000005ed8aa in GC_start_routine (arg=0x7f62e8fcffc0) at pthread_support.c:1468
#7  0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f62f03fe86d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f62ea806700 (LWP 2188)):
#0  0x00007f62f069c1fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005b8f0c in _wapi_handle_timedwait_signal_handle (handle=0x486, timeout=0x0, alertable=1, poll=-1) at handles.c:1655
#2  0x00000000005c28ed in WaitForSingleObjectEx (handle=<value optimized out>, timeout=<value optimized out>, alertable=<value optimized out>) at wait.c:203
#3  0x000000000051603a in mono_domain_try_unload (domain=0x7f62f0fab000, exc=0x7f62ea8059e8) at appdomain.c:2445
#4  0x00000000005160f7 in mono_domain_unload (domain=0xeeb85c) at appdomain.c:2348
#5  0x000000004125baca in ?? ()
#6  0x0000000001557510 in ?? ()
#7  0x00007f62f0fabcc0 in ?? ()
#8  0x00007f62e0de3618 in ?? ()
#9  0x00007f62f0f87e40 in ?? ()
#10 0x0000000001223510 in ?? ()
#11 0x00007f62ea805b00 in ?? ()
#12 0x00007f62ea805a00 in ?? ()
#13 0x00007f62f0fabcc0 in ?? ()
#14 0x00007f62e0de3618 in ?? ()
#15 0x00007f62f0f87e40 in ?? ()
#16 0x00007f62eb75e2f8 in ?? ()
#17 0x000000004125b6c8 in ?? ()
#18 0x00007f62df1502e0 in ?? ()
#19 0x000000004125b1f0 in ?? ()
#20 0x0000000001223510 in ?? ()
#21 0x00007f62ea805850 in ?? ()
#22 0x00007f62ea805b80 in ?? ()
#23 0x00007f62ea805d60 in ?? ()
#24 0x00007f62e0de3618 in ?? ()
#25 0x00007f62f0fabcc8 in ?? ()
#26 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f62ea601700 (LWP 2189)):
#0  0x00007f62f069ec74 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007f62f069a194 in _L_lock_1024 () from /lib/libpthread.so.0
#2  0x00007f62f0699ff7 in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0x00000000004e979a in mono_debugger_lock () at mono-debug-debugger.c:69
#4  0x000000000058a9f5 in mono_debug_close_image (image=0x7f62df5e1000) at mono-debug.c:377
#5  0x00000000005759d0 in mono_assembly_close_except_image_pools (assembly=0x7f62de036da8) at assembly.c:2873
#6  0x000000000057211b in mono_domain_free (domain=0x7f62f0fab000, force=<value optimized out>) at domain.c:1998
#7  0x00000000005148d1 in unload_thread_main (arg=<value optimized out>) at appdomain.c:2328
#8  0x00000000005ba6a4 in thread_start_routine (args=0xeeb888) at wthreads.c:287
#9  0x00000000005ed8aa in GC_start_routine (arg=0x7f62e1ec03f0) at pthread_support.c:1468
#10 0x00007f62f06978ca in start_thread () from /lib/libpthread.so.0
#11 0x00007f62f03fe86d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f62f114c740 (LWP 1841)):
#0  0x00007f62f069c569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005b8e4d in _wapi_handle_timedwait_signal_handle (handle=0x485, timeout=0x7fff306227f0, alertable=1, poll=-1) at handles.c:1653
#2  0x00000000005c2755 in WaitForSingleObjectEx (handle=<value optimized out>, timeout=<value optimized out>, alertable=<value optimized out>) at wait.c:205
#3  0x00000000005a73f1 in ves_icall_System_Threading_Thread_Join_internal (this=0x7f62e908e270, ms=30000, thread=0x485) at threads.c:1531
#4  0x000000004125b110 in ?? ()
#5  0x0000000000e79290 in ?? ()
#6  0x00007f62f0f8e840 in ?? ()
#7  0x00007f62ebbceea0 in ?? ()
#8  0x00007f62df353140 in ?? ()
#9  0x00007f62eb732d10 in ?? ()
#10 0x00007fff30622940 in ?? ()
#11 0x00007fff30622860 in ?? ()
#12 0x00007f62f0f8e840 in ?? ()
#13 0x00007f62ebbceea0 in ?? ()
#14 0x00007f62df353140 in ?? ()
#15 0x0000000000007530 in ?? ()
#16 0x000000004125b06c in ?? ()
#17 0x00007f62e281ac00 in ?? ()
#18 0x00007f62df1502e0 in ?? ()
#19 0x00007f62e908e270 in ?? ()
#20 0x000000004125af7c in ?? ()
#21 0x00007f62eb6dfba0 in ?? ()
#22 0x00007f62e0de3618 in ?? ()
#23 0x00007f62df353140 in ?? ()
#24 0x00007f62f0f8e840 in ?? ()
#25 0x00007f62ebbceea0 in ?? ()
#26 0x0000000000000000 in ?? ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted
Comment 5 David Schmitt 2012-06-08 11:58:20 UTC
Still happens with Mono 3.5 ( 2.10.8.1 ((no/bca3e7d Fri Jun  8 01:28:46 CEST 2012) ):


* Assertion at mono-debug.c:201, condition `table' not met

Stacktrace:


Native stacktrace:

	mono() [0x48fa13]
	/lib/libpthread.so.0(+0xeff0) [0x7f9cb0177ff0]
	/lib/libc.so.6(gsignal+0x35) [0x7f9cafe391b5]
	/lib/libc.so.6(abort+0x180) [0x7f9cafe3bfc0]
	mono() [0x5df972]
	mono() [0x5dfb35]
	mono() [0x589b76]
	mono(mono_debug_remove_method+0x3e) [0x58a58e]
	mono() [0x4169a3]
	mono() [0x539b32]
	mono() [0x55aa50]
	mono() [0x57abf6]
	mono() [0x57ac30]
	mono() [0x57bf99]
	mono() [0x5a8f7b]
	mono() [0x5ba9e4]
	mono() [0x5edbea]
	/lib/libpthread.so.0(+0x68ca) [0x7f9cb016f8ca]
	/lib/libc.so.6(clone+0x6d) [0x7f9cafed692d]

Debug info from gdb:

Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9caa11e700 (LWP 3730)]
[New Thread 0x7f9caa323700 (LWP 3729)]
[New Thread 0x7f9ca23d8700 (LWP 636)]
[New Thread 0x7f9ca8db4700 (LWP 619)]
[New Thread 0x7f9ca8df5700 (LWP 618)]
[New Thread 0x7f9ca900a700 (LWP 616)]
[New Thread 0x7f9ca904b700 (LWP 615)]
[New Thread 0x7f9cab1aa700 (LWP 609)]
[New Thread 0x7f9cab9dd700 (LWP 608)]
[New Thread 0x7f9cace00700 (LWP 607)]
[New Thread 0x7f9cad601700 (LWP 606)]
[New Thread 0x7f9cade02700 (LWP 605)]
[New Thread 0x7f9cae603700 (LWP 604)]
[New Thread 0x7f9caee04700 (LWP 603)]
[New Thread 0x7f9caf605700 (LWP 602)]
[New Thread 0x7f9cafe06700 (LWP 601)]
0x00007f9cb0174569 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
  17 Thread 0x7f9cafe06700 (LWP 601)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  16 Thread 0x7f9caf605700 (LWP 602)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  15 Thread 0x7f9caee04700 (LWP 603)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  14 Thread 0x7f9cae603700 (LWP 604)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  13 Thread 0x7f9cade02700 (LWP 605)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  12 Thread 0x7f9cad601700 (LWP 606)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  11 Thread 0x7f9cace00700 (LWP 607)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  10 Thread 0x7f9cab9dd700 (LWP 608)  0x00007f9cb0177bdd in waitpid ()
   from /lib/libpthread.so.0
  9 Thread 0x7f9cab1aa700 (LWP 609)  0x00007f9cb017738d in accept ()
   from /lib/libpthread.so.0
  8 Thread 0x7f9ca904b700 (LWP 615)  0x00007f9cb017786d in nanosleep ()
   from /lib/libpthread.so.0
  7 Thread 0x7f9ca900a700 (LWP 616)  0x00007f9cb01764a7 in sem_timedwait ()
   from /lib/libpthread.so.0
  6 Thread 0x7f9ca8df5700 (LWP 618)  0x00007f9cafed6f23 in epoll_wait ()
   from /lib/libc.so.6
  5 Thread 0x7f9ca8db4700 (LWP 619)  0x00007f9cb01764a7 in sem_timedwait ()
   from /lib/libpthread.so.0
  4 Thread 0x7f9ca23d8700 (LWP 636)  0x00007f9cb01764a7 in sem_timedwait ()
   from /lib/libpthread.so.0
  3 Thread 0x7f9caa323700 (LWP 3729)  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  2 Thread 0x7f9caa11e700 (LWP 3730)  0x00007f9cb0176c74 in __lll_lock_wait ()
   from /lib/libpthread.so.0
* 1 Thread 0x7f9cb0c24740 (LWP 600)  0x00007f9cb0174569 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

Thread 17 (Thread 0x7f9cafe06700 (LWP 601)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005edf87 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e25e1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ecd08 in GC_mark_thread (id=0x0) at pthread_support.c:552
#4  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f9cafed692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f9caf605700 (LWP 602)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005edf87 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e25e1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ecd08 in GC_mark_thread (id=0x1) at pthread_support.c:552
#4  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f9cafed692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f9caee04700 (LWP 603)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005edf87 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e25e1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ecd08 in GC_mark_thread (id=0x2) at pthread_support.c:552
#4  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f9cafed692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f9cae603700 (LWP 604)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005edf87 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e25e1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ecd08 in GC_mark_thread (id=0x3) at pthread_support.c:552
#4  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f9cafed692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f9cade02700 (LWP 605)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005edf87 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e25e1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ecd08 in GC_mark_thread (id=0x4) at pthread_support.c:552
#4  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f9cafed692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f9cad601700 (LWP 606)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005edf87 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e25e1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ecd08 in GC_mark_thread (id=0x5) at pthread_support.c:552
#4  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f9cafed692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f9cace00700 (LWP 607)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005edf87 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005e25e1 in GC_help_marker (my_mark_no=96) at mark.c:1116
#3  0x00000000005ecd08 in GC_mark_thread (id=0x6) at pthread_support.c:552
#4  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f9cafed692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f9cab9dd700 (LWP 608)):
#0  0x00007f9cb0177bdd in waitpid () from /lib/libpthread.so.0
#1  0x000000000048fb4d in mono_handle_native_sigsegv (
    signal=<value optimized out>, ctx=<value optimized out>)
    at mini-exceptions.c:2192
#2  <signal handler called>
#3  0x00007f9cafe391b5 in raise () from /lib/libc.so.6
#4  0x00007f9cafe3bfc0 in abort () from /lib/libc.so.6
#5  0x00000000005df972 in monoeg_g_logv (log_domain=0x0, log_level=
    G_LOG_LEVEL_ERROR, format=
    0x5f8b28 "* Assertion at %s:%d, condition `%s' not met\n", args=
    0x7f9cab9dcaf0) at goutput.c:129
#6  0x00000000005dfb35 in monoeg_assertion_message (format=
    0x5f8b28 "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:153
#7  0x0000000000589b76 in lookup_data_table (domain=<value optimized out>)
    at mono-debug.c:201
#8  0x000000000058a58e in mono_debug_remove_method (method=
    "System.Runtime.CompilerServices.ExecutionScope:lambda_method ()", domain=
    0x7f9cb0a83330) at mono-debug.c:721
#9  0x00000000004169a3 in mono_jit_free_method (domain=0x7f9cb0a83330, method=
    "System.Runtime.CompilerServices.ExecutionScope:lambda_method ()")
    at mini.c:5501
#10 0x0000000000539b32 in mono_runtime_free_method (domain=0x7f9cb0a83330, 
    method="System.Runtime.CompilerServices.ExecutionScope:lambda_method ()")
    at object.c:622
#11 0x000000000055aa50 in free_dynamic_method (dynamic_method=0x7f9ca443edf0)
    at reflection.c:11459
#12 0x000000000057abf6 in reference_queue_proccess (queue=0x7f9c9c099650)
    at gc.c:1360
#13 0x000000000057ac30 in reference_queue_proccess_all () at gc.c:1374
#14 0x000000000057bf99 in finalizer_thread (unused=<value optimized out>)
    at gc.c:1106
#15 0x00000000005a8f7b in start_wrapper_internal (data=<value optimized out>)
    at threads.c:784
#16 start_wrapper (data=<value optimized out>) at threads.c:832
#17 0x00000000005ba9e4 in thread_start_routine (args=0x1a82620)
    at wthreads.c:287
#18 0x00000000005edbea in GC_start_routine (arg=0x7f9cb0a6efc0)
    at pthread_support.c:1468
#19 0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#20 0x00007f9cafed692d in clone () from /lib/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f9cab1aa700 (LWP 609)):
#0  0x00007f9cb017738d in accept () from /lib/libpthread.so.0
#1  0x00000000005bbace in _wapi_accept (fd=3, addr=0x0, addrlen=0x0)
    at sockets.c:225
#2  0x000000000057f853 in ves_icall_System_Net_Sockets_Socket_Accept_internal (
    sock=3, error=0x7f9cab1a9a1c, blocking=<value optimized out>)
    at socket-io.c:883
#3  0x0000000041d0fb23 in ?? ()
#4  0x0000000001d6f6d0 in ?? ()
#5  0x00007f9cb0a83cc0 in ?? ()
#6  0x00007f9cab21ba28 in ?? ()
#7  0x00007f9cab21ba28 in ?? ()
#8  0x0000000001d6a080 in ?? ()
#9  0x00007f9cab1a9a50 in ?? ()
#10 0x00007f9cab1a9930 in ?? ()
#11 0x00007f9cb0a83cc0 in ?? ()
#12 0x00007f9cab21ba28 in ?? ()
#13 0x00007f9cab21ba28 in ?? ()
#14 0x00007f9cab1f5dc0 in ?? ()
#15 0x0000000041d0f820 in ?? ()
#16 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9ca904b700 (LWP 615)):
#0  0x00007f9cb017786d in nanosleep () from /lib/libpthread.so.0
#1  0x00000000005b9984 in SleepEx (ms=<value optimized out>, alertable=1)
    at wthreads.c:1026
#2  0x0000000000554e4b in monitor_thread (unused=<value optimized out>)
    at threadpool.c:783
#3  0x00000000005a8f7b in start_wrapper_internal (data=<value optimized out>)
    at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba9e4 in thread_start_routine (args=0x1a83f20)
    at wthreads.c:287
#6  0x00000000005edbea in GC_start_routine (arg=0x7f9caabfefc0)
    at pthread_support.c:1468
#7  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f9cafed692d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9ca900a700 (LWP 616)):
#0  0x00007f9cb01764a7 in sem_timedwait () from /lib/libpthread.so.0
#1  0x00000000005cf2b3 in mono_sem_timedwait (sem=0x8ea548, 
    timeout_ms=<value optimized out>, alertable=1) at mono-semaphore.c:76
#2  0x000000000055679f in async_invoke_thread (data=0x0) at threadpool.c:1502
#3  0x00000000005a8f7b in start_wrapper_internal (data=<value optimized out>)
    at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba9e4 in thread_start_routine (args=0x1a83fe8)
    at wthreads.c:287
#6  0x00000000005edbea in GC_start_routine (arg=0x7f9caabfefc0)
    at pthread_support.c:1468
#7  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f9cafed692d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9ca8df5700 (LWP 618)):
#0  0x00007f9cafed6f23 in epoll_wait () from /lib/libc.so.6
#1  0x0000000000555741 in tp_epoll_wait (p=<value optimized out>)
    at ../../mono/metadata/tpool-epoll.c:104
#2  0x00000000005a8f7b in start_wrapper_internal (data=<value optimized out>)
    at threads.c:784
#3  start_wrapper (data=<value optimized out>) at threads.c:832
#4  0x00000000005ba9e4 in thread_start_routine (args=0x1a84628)
    at wthreads.c:287
#5  0x00000000005edbea in GC_start_routine (arg=0x7f9cab1af9d8)
    at pthread_support.c:1468
#6  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#7  0x00007f9cafed692d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9ca8db4700 (LWP 619)):
#0  0x00007f9cb01764a7 in sem_timedwait () from /lib/libpthread.so.0
#1  0x00000000005cf2b3 in mono_sem_timedwait (sem=0x8ea608, 
    timeout_ms=<value optimized out>, alertable=1) at mono-semaphore.c:76
#2  0x000000000055679f in async_invoke_thread (data=0x0) at threadpool.c:1502
#3  0x00000000005a8f7b in start_wrapper_internal (data=<value optimized out>)
    at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba9e4 in thread_start_routine (args=0x1a846f0)
    at wthreads.c:287
#6  0x00000000005edbea in GC_start_routine (arg=0x7f9cab1af9d8)
    at pthread_support.c:1468
#7  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f9cafed692d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9ca23d8700 (LWP 636)):
#0  0x00007f9cb01764a7 in sem_timedwait () from /lib/libpthread.so.0
#1  0x00000000005cf2b3 in mono_sem_timedwait (sem=0x8ea548, 
    timeout_ms=<value optimized out>, alertable=1) at mono-semaphore.c:76
#2  0x000000000055679f in async_invoke_thread (data=0x0) at threadpool.c:1502
#3  0x00000000005a8f7b in start_wrapper_internal (data=<value optimized out>)
    at threads.c:784
#4  start_wrapper (data=<value optimized out>) at threads.c:832
#5  0x00000000005ba9e4 in thread_start_routine (args=0x1a866f8)
    at wthreads.c:287
#6  0x00000000005edbea in GC_start_routine (arg=0x7f9caa4243f0)
    at pthread_support.c:1468
#7  0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f9cafed692d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9caa323700 (LWP 3729)):
#0  0x00007f9cb01741fc in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005b924c in _wapi_handle_timedwait_signal_handle (handle=0x208c, 
    timeout=0x0, alertable=1, poll=-1) at handles.c:1655
#2  0x00000000005c2c2d in WaitForSingleObjectEx (handle=<value optimized out>, 
    timeout=<value optimized out>, alertable=<value optimized out>)
    at wait.c:203
#3  0x000000000051623a in mono_domain_try_unload (domain=0x7f9cb0a83330, exc=
    0x7f9caa3229e8) at appdomain.c:2445
#4  0x00000000005162f7 in mono_domain_unload (domain=0x1a88ddc)
    at appdomain.c:2348
#5  0x00000000415fb2fa in ?? ()
#6  0x0000000004a2d570 in ?? ()
#7  0x00007f9cb0a83cc0 in ?? ()
#8  0x00007f9caae9e618 in ?? ()
#9  0x00007f9cb0a61d80 in ?? ()
#10 0x0000000001d6a080 in ?? ()
#11 0x00007f9caa322b00 in ?? ()
#12 0x00007f9caa322a00 in ?? ()
#13 0x00007f9cb0a83cc0 in ?? ()
#14 0x00007f9caae9e618 in ?? ()
#15 0x00007f9cb0a61d80 in ?? ()
#16 0x00007f9caaf2a280 in ?? ()
#17 0x00000000415faef8 in ?? ()
#18 0x00007f9c98cb5e80 in ?? ()
#19 0x00000000415fa900 in ?? ()
#20 0x0000000001d6a080 in ?? ()
#21 0x00007f9caa322850 in ?? ()
#22 0x00007f9caa322b80 in ?? ()
#23 0x00007f9caa322d60 in ?? ()
#24 0x00007f9caae9e618 in ?? ()
#25 0x00007f9cb0a83cc8 in ?? ()
#26 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9caa11e700 (LWP 3730)):
#0  0x00007f9cb0176c74 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007f9cb0172194 in _L_lock_1024 () from /lib/libpthread.so.0
#2  0x00007f9cb0171ff7 in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0x00000000004e999a in mono_debugger_lock () at mono-debug-debugger.c:69
#4  0x000000000058ad45 in mono_debug_close_image (image=0x7f9ca89ab000)
    at mono-debug.c:377
#5  0x0000000000575b10 in mono_assembly_close_except_image_pools (assembly=
    0x7f9ca3ce84c0) at assembly.c:2873
#6  0x000000000057214b in mono_domain_free (domain=0x7f9cb0a83330, 
    force=<value optimized out>) at domain.c:1998
#7  0x0000000000514ad1 in unload_thread_main (arg=<value optimized out>)
    at appdomain.c:2328
#8  0x00000000005ba9e4 in thread_start_routine (args=0x1a88e08)
    at wthreads.c:287
#9  0x00000000005edbea in GC_start_routine (arg=0x7f9ca8a0e620)
    at pthread_support.c:1468
#10 0x00007f9cb016f8ca in start_thread () from /lib/libpthread.so.0
#11 0x00007f9cafed692d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9cb0c24740 (LWP 600)):
#0  0x00007f9cb0174569 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000005b918d in _wapi_handle_timedwait_signal_handle (handle=0x208b, 
    timeout=0x7ffff7204940, alertable=1, poll=-1) at handles.c:1653
#2  0x00000000005c2a95 in WaitForSingleObjectEx (handle=<value optimized out>, 
    timeout=<value optimized out>, alertable=<value optimized out>)
    at wait.c:205
#3  0x00000000005a7731 in ves_icall_System_Threading_Thread_Join_internal (
    this=0x7f9ca8bf1618, ms=30000, thread=0x208b) at threads.c:1531
#4  0x00000000415faba0 in ?? ()
#5  0x0000000001a18290 in ?? ()
#6  0x00007f9cb0a68b40 in ?? ()
#7  0x00007f9cab1ef800 in ?? ()
#8  0x00007f9c9a5e7500 in ?? ()
#9  0x00007f9cab6a5d68 in ?? ()
#10 0x00007ffff7204a90 in ?? ()
#11 0x00007ffff72049b0 in ?? ()
#12 0x00007f9cb0a68b40 in ?? ()
#13 0x00007f9cab1ef800 in ?? ()
#14 0x00007f9c9a5e7500 in ?? ()
#15 0x0000000000007530 in ?? ()
#16 0x00000000415faafc in ?? ()
#17 0x00007f9ca8a12b00 in ?? ()
#18 0x00007f9c98cb5e80 in ?? ()
#19 0x00007f9ca8bf1618 in ?? ()
#20 0x00000000415fa7b4 in ?? ()
#21 0x00007f9cab202c40 in ?? ()
#22 0x00007f9caae9e618 in ?? ()
#23 0x00007f9c9a5e7500 in ?? ()
#24 0x00007f9cb0a68b40 in ?? ()
#25 0x00007f9cab1ef800 in ?? ()
#26 0x0000000000000000 in ?? ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
Comment 6 MoonStorm 2012-09-11 08:07:40 UTC
Happening in the "production quality" GC of 2.11.4 as well. Here is the stack:

     [exec] * Assertion at mono-debug.c:201, condition `table' not met
     [exec] 
     [exec] Stacktrace:
     [exec] 
     [exec] 
     [exec] Native stacktrace:
     [exec] 
     [exec]  /usr/bin/mono() [0x80ea889]
     [exec]  [0xffffe40c]
     [exec]  /lib/libc.so.6(gsignal+0x45) [0xb75758c5]
     [exec]  /lib/libc.so.6(abort+0x175) [0xb75771d5]
     [exec]  /usr/bin/mono() [0x8252c95]
     [exec]  /usr/bin/mono() [0x8252d24]
     [exec]  /usr/bin/mono() [0x81b3961]
     [exec]  /usr/bin/mono(mono_debug_remove_method+0x39) [0x81b4729]
     [exec]  /usr/bin/mono() [0x805a959]
     [exec]  /usr/bin/mono() [0x81bd484]
     [exec]  /usr/bin/mono() [0x81cf8ab]
     [exec]  /usr/bin/mono() [0x8167360]
     [exec]  /usr/bin/mono() [0x816738f]
     [exec]  /usr/bin/mono() [0x8167696]
     [exec]  /usr/bin/mono() [0x81f0b69]
     [exec]  /usr/bin/mono() [0x822eaaa]
     [exec]  /usr/bin/mono() [0x823df27]
     [exec]  /usr/bin/mono() [0x824b4e5]
     [exec]  /lib/libpthread.so.0(+0x6a7d) [0xb76bca7d]
     [exec]  /lib/libc.so.6(clone+0x5e) [0xb761dabe]
     [exec] 
     [exec] Debug info from gdb:
     [exec] 
     [exec] Missing separate debuginfo for /lib/libm.so.6
     [exec] Try: zypper install -C "debuginfo(build-id)=4ef73322578ad9d7b9bb042f0d8c31aecbd2c52d"
     [exec] Missing separate debuginfo for /lib/librt.so.1
     [exec] Try: zypper install -C "debuginfo(build-id)=c1cd870bd6083af5996fbb10104d4b65ffde6fd6"
     [exec] Missing separate debuginfo for /lib/libdl.so.2
     [exec] Try: zypper install -C "debuginfo(build-id)=e836358b9da37bddf9adaa7430eb92a0a0b19d16"
     [exec] Missing separate debuginfo for /lib/libpthread.so.0
     [exec] Try: zypper install -C "debuginfo(build-id)=593f40f908f51dd863dc2cf94b9cb76bd0bae3d8"
     [exec] Missing separate debuginfo for /lib/libc.so.6
     [exec] Try: zypper install -C "debuginfo(build-id)=782d835f454ecfa3cdd590574b59c139283cf7ea"
     [exec] [Thread debugging using libthread_db enabled]
     [exec] [New Thread 0xb5341b70 (LWP 9053)]
     [exec] [New Thread 0xb2fffb70 (LWP 9052)]
     [exec] [New Thread 0xb32ffb70 (LWP 9051)]
     [exec] [New Thread 0xb3574b70 (LWP 9050)]
     [exec] [New Thread 0xb35adb70 (LWP 9049)]
     [exec] [New Thread 0xb35cdb70 (LWP 9048)]
     [exec] [New Thread 0xb56ffb70 (LWP 9045)]
     [exec] [New Thread 0xb6139b70 (LWP 9043)]
     [exec] [New Thread 0xb73c6b70 (LWP 9042)]
     [exec] Missing separate debuginfo for /lib/ld-linux.so.2
     [exec] Try: zypper install -C "debuginfo(build-id)=39c1043d2fcf5b72a2199cfb765d020b1faeb863"
     [exec] Missing separate debuginfo for /lib/libnss_files.so.2
     [exec] Try: zypper install -C "debuginfo(build-id)=b6a6c523c4c79694e27521633192bbe3deaf438c"
     [exec] Missing separate debuginfo for /lib/libgcc_s.so.1
     [exec] Try: zypper install -C "debuginfo(build-id)=781d12a4ff2a2c129a7b17b5329ffa772b7ade87"
     [exec] 0xb76c0782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
     [exec]   Id   Target Id         Frame 
     [exec]   10   Thread 0xb73c6b70 (LWP 9042) "mono" 0xb76c0782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
     [exec]   9    Thread 0xb6139b70 (LWP 9043) "mono" 0xb76c4461 in waitpid () from /lib/libpthread.so.0
     [exec]   8    Thread 0xb56ffb70 (LWP 9045) "mono" 0xb76c0b15 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
     [exec]   7    Thread 0xb35cdb70 (LWP 9048) "mono" 0xb761e58c in epoll_wait () from /lib/libc.so.6
     [exec]   6    Thread 0xb35adb70 (LWP 9049) "mono" 0xb76c2a1e in sem_timedwait () from /lib/libpthread.so.0
     [exec]   5    Thread 0xb3574b70 (LWP 9050) "mono" 0xb76c3d2c in nanosleep () from /lib/libpthread.so.0
     [exec]   4    Thread 0xb32ffb70 (LWP 9051) "mono" 0xb76c2a1e in sem_timedwait () from /lib/libpthread.so.0
     [exec]   3    Thread 0xb2fffb70 (LWP 9052) "mono" 0xb76c2a1e in sem_timedwait () from /lib/libpthread.so.0
     [exec]   2    Thread 0xb5341b70 (LWP 9053) "mono" 0xb76c3134 in __lll_lock_wait () from /lib/libpthread.so.0
     [exec] * 1    Thread 0xb75476e0 (LWP 9039) "mono" 0xb76c0782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
     [exec] 
     [exec] Thread 10 (Thread 0xb73c6b70 (LWP 9042)):
     [exec] #0  0xb76c0782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
     [exec] #1  0x0824befa in GC_wait_marker () at pthread_support.c:1903
     [exec] #2  0x082449c9 in GC_help_marker (my_mark_no=79) at mark.c:1116
     [exec] #3  0x0824a683 in GC_mark_thread (id=0x0) at pthread_support.c:557
     [exec] #4  0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #5  0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 9 (Thread 0xb6139b70 (LWP 9043)):
     [exec] #0  0xb76c4461 in waitpid () from /lib/libpthread.so.0
     [exec] #1  0x080ea9db in mono_handle_native_sigsegv (signal=6, ctx=0xb6138c1c) at mini-exceptions.c:2291
     [exec] #2  <signal handler called>
     [exec] #3  0xb75758c5 in raise () from /lib/libc.so.6
     [exec] #4  0xb75771d5 in abort () from /lib/libc.so.6
     [exec] #5  0x08252c95 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=0x825db90 "* Assertion at %s:%d, condition `%s' not met\n", args=0xb61390a4 "H\321\060", <incomplete sequence \311>) at goutput.c:136
     [exec] #6  0x08252d24 in monoeg_assertion_message (format=0x825db90 "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:156
     [exec] #7  0x081b3961 in lookup_data_table (domain=<optimized out>) at mono-debug.c:201
     [exec] #8  0x081b4729 in mono_debug_remove_method (method=0xb2d49d00, domain=0x34cc0) at mono-debug.c:721
     [exec] #9  0x0805a959 in mono_jit_free_method (domain=0x34cc0, method=0xb2d49d00) at mini.c:5636
     [exec] #10 0x081bd484 in mono_runtime_free_method (domain=0x34cc0, method=0xb2d49d00) at object.c:628
     [exec] #11 0x081cf8ab in free_dynamic_method (dynamic_method=0xb2d49580) at reflection.c:11505
     [exec] #12 0x08167360 in reference_queue_proccess (queue=0xb4d04158) at gc.c:1405
     [exec] #13 0x0816738f in reference_queue_proccess_all () at gc.c:1419
     [exec] #14 0x08167696 in finalizer_thread (unused=0x0) at gc.c:1128
     [exec] #15 0x081f0b69 in start_wrapper_internal (data=0x83f3d00) at threads.c:589
     [exec] #16 start_wrapper (data=0x83f3d00) at threads.c:635
     [exec] #17 0x0822eaaa in thread_start_routine (args=0x83b8cec) at wthreads.c:286
     [exec] #18 0x0823df27 in inner_start_thread (arg=0x83ee448) at mono-threads-posix.c:49
     [exec] #19 0x0824b4e5 in GC_start_routine (arg=0x61fe0) at pthread_support.c:1508
     [exec] #20 0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #21 0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 8 (Thread 0xb56ffb70 (LWP 9045)):
     [exec] #0  0xb76c0b15 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
     [exec] #1  0x082169f1 in _wapi_handle_timedwait_signal_handle (handle=0x100b, timeout=0xb56fef58, alertable=1, poll=0) at handles.c:1583
     [exec] #2  0x0822b4ea in WaitForSingleObjectEx (handle=0x100b, timeout=9998, alertable=1) at wait.c:197
     [exec] #3  0x081f03f3 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=0x16eee8, handle=0x100b, ms=9998, exitContext=0) at threads.c:1489
     [exec] #4  0xb594f7b4 in ?? ()
     [exec] #5  0xb654e414 in System.Threading.WaitHandle:WaitOne (this=..., millisecondsTimeout=9998, exitContext=false) at /usr/src/packages/BUILD/mono-2.11.4/mcs/class/corlib/System.Threading/WaitHandle.cs:385
     [exec] #6  0xb654e4b6 in System.Threading.WaitHandle:WaitOne (this=..., millisecondsTimeout=9998) from /usr/lib/mono/4.5/mscorlib.dll.so
     [exec] #7  0xb654d5b4 in System.Threading.Timer/Scheduler:SchedulerThread (this=...) at /usr/src/packages/BUILD/mono-2.11.4/mcs/class/corlib/System.Threading/Timer.cs:391
     [exec] #8  0xb65496e8 in System.Threading.Thread:StartInternal (this=...) at /usr/src/packages/BUILD/mono-2.11.4/mcs/class/corlib/System.Threading/Thread.cs:785
     [exec] #9  0xb616d391 in ?? ()
     [exec] #10 0x08064ef8 in mono_jit_runtime_invoke (method=0x86a46cc, obj=0xa95e8, params=0xb56ff264, exc=0x0) at mini.c:5957
     [exec] #11 0x081c02de in mono_runtime_invoke (method=0x86a46cc, obj=0xa95e8, params=0xb56ff264, exc=0x0) at object.c:2810
     [exec] #12 0x081c10c5 in mono_runtime_delegate_invoke (delegate=0xa95e8, params=0xb56ff264, exc=0x0) at object.c:3490
     [exec] #13 0x081f0c3b in start_wrapper_internal (data=0x86d4cc8) at threads.c:595
     [exec] #14 start_wrapper (data=0x86d4cc8) at threads.c:635
     [exec] #15 0x0822eaaa in thread_start_routine (args=0x83b901c) at wthreads.c:286
     [exec] #16 0x0823df27 in inner_start_thread (arg=0x86d4c88) at mono-threads-posix.c:49
     [exec] #17 0x0824b4e5 in GC_start_routine (arg=0x165fe0) at pthread_support.c:1508
     [exec] #18 0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #19 0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 7 (Thread 0xb35cdb70 (LWP 9048)):
     [exec] #0  0xb761e58c in epoll_wait () from /lib/libc.so.6
     [exec] #1  0x081f2db4 in tp_epoll_wait (p=0x837ef60) at ../../mono/metadata/tpool-epoll.c:116
     [exec] #2  0x081f0b69 in start_wrapper_internal (data=0xb3df12a0) at threads.c:589
     [exec] #3  start_wrapper (data=0xb3df12a0) at threads.c:635
     [exec] #4  0x0822eaaa in thread_start_routine (args=0x83ba914) at wthreads.c:286
     [exec] #5  0x0823df27 in inner_start_thread (arg=0xb333cbe8) at mono-threads-posix.c:49
     [exec] #6  0x0824b4e5 in GC_start_routine (arg=0xd89fe0) at pthread_support.c:1508
     [exec] #7  0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #8  0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 6 (Thread 0xb35adb70 (LWP 9049)):
     [exec] #0  0xb76c2a1e in sem_timedwait () from /lib/libpthread.so.0
     [exec] #1  0x0823a94a in mono_sem_timedwait (sem=0x837eef4, timeout_ms=2000, alertable=1) at mono-semaphore.c:76
     [exec] #2  0x081f53a7 in async_invoke_thread (data=0x0) at threadpool.c:1513
     [exec] #3  0x081f0b69 in start_wrapper_internal (data=0xb34c55e8) at threads.c:589
     [exec] #4  start_wrapper (data=0xb34c55e8) at threads.c:635
     [exec] #5  0x0822eaaa in thread_start_routine (args=0x83ba99c) at wthreads.c:286
     [exec] #6  0x0823df27 in inner_start_thread (arg=0xb3de0ff0) at mono-threads-posix.c:49
     [exec] #7  0x0824b4e5 in GC_start_routine (arg=0xd89fe0) at pthread_support.c:1508
     [exec] #8  0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #9  0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 5 (Thread 0xb3574b70 (LWP 9050)):
     [exec] #0  0xb76c3d2c in nanosleep () from /lib/libpthread.so.0
     [exec] #1  0x0822db5d in SleepEx (ms=500, alertable=1) at wthreads.c:834
     [exec] #2  0x081f28ac in monitor_thread (unused=0x0) at threadpool.c:783
     [exec] #3  0x081f0b69 in start_wrapper_internal (data=0xb33568e0) at threads.c:589
     [exec] #4  start_wrapper (data=0xb33568e0) at threads.c:635
     [exec] #5  0x0822eaaa in thread_start_routine (args=0x83bac44) at wthreads.c:286
     [exec] #6  0x0823df27 in inner_start_thread (arg=0xb34e4be8) at mono-threads-posix.c:49
     [exec] #7  0x0824b4e5 in GC_start_routine (arg=0xd89fe0) at pthread_support.c:1508
     [exec] #8  0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #9  0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 4 (Thread 0xb32ffb70 (LWP 9051)):
     [exec] #0  0xb76c2a1e in sem_timedwait () from /lib/libpthread.so.0
     [exec] #1  0x0823a94a in mono_sem_timedwait (sem=0x837ee74, timeout_ms=2000, alertable=1) at mono-semaphore.c:76
     [exec] #2  0x081f53a7 in async_invoke_thread (data=0x0) at threadpool.c:1513
     [exec] #3  0x081f0b69 in start_wrapper_internal (data=0xb333ace8) at threads.c:589
     [exec] #4  start_wrapper (data=0xb333ace8) at threads.c:635
     [exec] #5  0x0822eaaa in thread_start_routine (args=0x83baccc) at wthreads.c:286
     [exec] #6  0x0823df27 in inner_start_thread (arg=0xb334e8b8) at mono-threads-posix.c:49
     [exec] #7  0x0824b4e5 in GC_start_routine (arg=0xd89fe0) at pthread_support.c:1508
     [exec] #8  0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #9  0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 3 (Thread 0xb2fffb70 (LWP 9052)):
     [exec] #0  0xb76c2a1e in sem_timedwait () from /lib/libpthread.so.0
     [exec] #1  0x0823a94a in mono_sem_timedwait (sem=0x837ee74, timeout_ms=2000, alertable=1) at mono-semaphore.c:76
     [exec] #2  0x081f53a7 in async_invoke_thread (data=0x0) at threadpool.c:1513
     [exec] #3  0x081f0b69 in start_wrapper_internal (data=0x87e6808) at threads.c:589
     [exec] #4  start_wrapper (data=0x87e6808) at threads.c:635
     [exec] #5  0x0822eaaa in thread_start_routine (args=0x83baeec) at wthreads.c:286
     [exec] #6  0x0823df27 in inner_start_thread (arg=0x83ed588) at mono-threads-posix.c:49
     [exec] #7  0x0824b4e5 in GC_start_routine (arg=0xdd6f80) at pthread_support.c:1508
     [exec] #8  0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #9  0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 2 (Thread 0xb5341b70 (LWP 9053)):
     [exec] #0  0xb76c3134 in __lll_lock_wait () from /lib/libpthread.so.0
     [exec] #1  0xb76becad in _L_lock_786 () from /lib/libpthread.so.0
     [exec] #2  0xb76beb65 in pthread_mutex_lock () from /lib/libpthread.so.0
     [exec] #3  0x081b550b in mono_debugger_lock () at mono-debug-debugger.c:69
     [exec] #4  0x081b52bd in mono_debug_close_image (image=0xb30a9ce8) at mono-debug.c:377
     [exec] #5  0x08143a72 in mono_assembly_close_except_image_pools (assembly=0xb30a9c20) at assembly.c:2931
     [exec] #6  0x08164632 in mono_domain_free (domain=0x34cc0, force=0) at domain.c:1985
     [exec] #7  0x0813aed9 in unload_thread_main (arg=0xbfcc6eb4) at appdomain.c:2332
     [exec] #8  0x0822eaaa in thread_start_routine (args=0x83bbdcc) at wthreads.c:286
     [exec] #9  0x0823df27 in inner_start_thread (arg=0x87c3410) at mono-threads-posix.c:49
     [exec] #10 0x0824b4e5 in GC_start_routine (arg=0xcf4740) at pthread_support.c:1508
     [exec] #11 0xb76bca7d in start_thread () from /lib/libpthread.so.0
     [exec] #12 0xb761dabe in clone () from /lib/libc.so.6
     [exec] 
     [exec] Thread 1 (Thread 0xb75476e0 (LWP 9039)):
     [exec] #0  0xb76c0782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
     [exec] #1  0x08216b24 in _wapi_handle_timedwait_signal_handle (handle=0x1063, timeout=0x0, alertable=1, poll=0) at handles.c:1585
     [exec] #2  0x08216b94 in _wapi_handle_wait_signal_handle (handle=0x1063, alertable=1) at handles.c:1530
     [exec] #3  0x0822b607 in WaitForSingleObjectEx (handle=0x1063, timeout=4294967295, alertable=1) at wait.c:195
     [exec] #4  0x0813efe8 in mono_domain_try_unload (domain=0x34cc0, exc=0xbfcc6efc) at appdomain.c:2449
     [exec] #5  0x0813f0bf in mono_domain_unload (domain=0x34cc0) at appdomain.c:2352
     [exec] #6  0xb2e89bb4 in ?? ()
     [exec] #7  0xb62ff39f in System.AppDomain:Unload (domain=...) at /usr/src/packages/BUILD/mono-2.11.4/mcs/class/corlib/System/AppDomain.cs:1157
     [exec] #8  0xb2e894c8 in ?? ()
     [exec] #9  0xb5a0c8d8 in ?? ()
     [exec] #10 0xb5a0b59d in ?? ()
     [exec] #11 0xb616b260 in ?? ()
     [exec] #12 0xb616acfc in ?? ()
     [exec] #13 0xb616ada6 in ?? ()
     [exec] #14 0x08064ef8 in mono_jit_runtime_invoke (method=0x83c82dc, obj=0x0, params=0xbfcc726c, exc=0x0) at mini.c:5957
     [exec] #15 0x081c02de in mono_runtime_invoke (method=0x83c82dc, obj=0x0, params=0xbfcc726c, exc=0x0) at object.c:2810
     [exec] #16 0x081c2693 in mono_runtime_exec_main (method=0x83c82dc, args=0x61fe0, exc=0x0) at object.c:4000
     [exec] #17 0x080c0a7d in main_thread_handler (user_data=<optimized out>) at driver.c:1013
     [exec] #18 mono_main (argc=7, argv=0xbfcc7444) at driver.c:1928
     [exec] #19 0x0805971a in mono_main_with_options (argv=0xbfcc7444, argc=7) at main.c:93
     [exec] #20 main (argc=7, argv=0xbfcc7444) at main.c:124
     [exec] 
     [exec] =================================================================
     [exec] Got a SIGABRT while executing native code. This usually indicates
     [exec] a fatal error in the mono runtime or one of the native libraries 
     [exec] used by your application.
     [exec] =================================================================
     [exec]
Comment 7 MoonStorm 2012-11-02 13:31:33 UTC
Tried again in Mono 3.0 and the simplest set of tests fail with similar errors. I then switched to the package from nunit.org (currently 2.6.2) and so far I haven't seen any more errors. Initially I though the package wouldn't work under Linux, but it does.
Comment 8 MoonStorm 2012-12-17 10:10:13 UTC
Nah, it still doesn't work. I can still get occasional failing tests. Currently running Mono 3.0.1 under OpenSuse 12.2. Stack trace:

  [exec] * Assertion at mono-debug.c:201, condition `table' not met
     [exec] 
     [exec] Stacktrace:
     [exec] 
     [exec] 
     [exec] Native stacktrace:
     [exec] 
     [exec]  /usr/bin/mono() [0x4a0fdf]
     [exec]  /lib64/libpthread.so.0(+0xf170) [0x7f0fb723f170]
     [exec]  /lib64/libc.so.6(gsignal+0x35) [0x7f0fb6ebe0b5]
     [exec]  /lib64/libc.so.6(abort+0x148) [0x7f0fb6ebf538]
     [exec]  /usr/bin/mono() [0x600acb]
     [exec]  /usr/bin/mono() [0x600c06]
     [exec]  /usr/bin/mono() [0x561656]
     [exec]  /usr/bin/mono(mono_debug_remove_method+0x3e) [0x5622be]
     [exec]  /usr/bin/mono() [0x41a99b]
     [exec]  /usr/bin/mono() [0x5973a2]
     [exec]  /usr/bin/mono() [0x5a0f50]
     [exec]  /usr/bin/mono() [0x591dba]
     [exec]  /usr/bin/mono() [0x591df0]
     [exec]  /usr/bin/mono() [0x5920a8]
     [exec]  /usr/bin/mono() [0x575812]
     [exec]  /usr/bin/mono() [0x5dcc89]
     [exec]  /usr/bin/mono() [0x5eb3e9]
     [exec]  /usr/bin/mono() [0x5f9f04]
     [exec]  /lib64/libpthread.so.0(+0x7e0f) [0x7f0fb7237e0f]
     [exec]  /lib64/libc.so.6(clone+0x6d) [0x7f0fb6f6f13d]
     [exec] 
     [exec] Debug info from gdb:
     [exec] 
     [exec] warning: File "/usr/bin/mono-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:%{_root_bindir}/mono-gdb.py".
     [exec] [Thread debugging using libthread_db enabled]
     [exec] Using host libthread_db library "/lib64/libthread_db.so.1".
     [exec] [New Thread 0x7f0faf0e4700 (LWP 8108)]
     [exec] [New Thread 0x7f0faf2e5700 (LWP 8107)]
     [exec] [New Thread 0x7f0fae6f5700 (LWP 8008)]
     [exec] [New Thread 0x7f0fae736700 (LWP 8007)]
     [exec] [New Thread 0x7f0faea6d700 (LWP 8006)]
     [exec] [New Thread 0x7f0faeaae700 (LWP 8005)]
     [exec] [New Thread 0x7f0fafbb9700 (LWP 8000)]
     [exec] [New Thread 0x7f0fb4455700 (LWP 7999)]
     [exec] [New Thread 0x7f0fb5e86700 (LWP 7998)]
     [exec] [New Thread 0x7f0fb6687700 (LWP 7997)]
     [exec] [New Thread 0x7f0fb6e88700 (LWP 7996)]
     [exec] 0x00007f0fb723bcc1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec]   Id   Target Id         Frame 
     [exec]   12   Thread 0x7f0fb6e88700 (LWP 7996) "mono" 0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec]   11   Thread 0x7f0fb6687700 (LWP 7997) "mono" 0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec]   10   Thread 0x7f0fb5e86700 (LWP 7998) "mono" 0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec]   9    Thread 0x7f0fb4455700 (LWP 7999) "mono" 0x00007f0fb723ed67 in waitpid () from /lib64/libpthread.so.0
     [exec]   8    Thread 0x7f0fafbb9700 (LWP 8000) "mono" 0x00007f0fb723e56d in accept () from /lib64/libpthread.so.0
     [exec]   7    Thread 0x7f0faeaae700 (LWP 8005) "mono" 0x00007f0fb723ea2d in nanosleep () from /lib64/libpthread.so.0
     [exec]   6    Thread 0x7f0faea6d700 (LWP 8006) "mono" 0x00007f0fb723d9d0 in sem_timedwait () from /lib64/libpthread.so.0
     [exec]   5    Thread 0x7f0fae736700 (LWP 8007) "mono" 0x00007f0fb6f6f723 in epoll_wait () from /lib64/libc.so.6
     [exec]   4    Thread 0x7f0fae6f5700 (LWP 8008) "mono" 0x00007f0fb723d9d0 in sem_timedwait () from /lib64/libpthread.so.0
     [exec]   3    Thread 0x7f0faf2e5700 (LWP 8107) "mono" 0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec]   2    Thread 0x7f0faf0e4700 (LWP 8108) "mono" 0x00007f0fb723e09c in __lll_lock_wait () from /lib64/libpthread.so.0
     [exec] * 1    Thread 0x7f0fb7d59740 (LWP 7992) "mono" 0x00007f0fb723bcc1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec] 
     [exec] Thread 12 (Thread 0x7f0fb6e88700 (LWP 7996)):
     [exec] #0  0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005fa1b3 in GC_wait_marker ()
     [exec] #2  0x00000000005f2365 in GC_help_marker ()
     [exec] #3  0x00000000005f8807 in GC_mark_thread ()
     [exec] #4  0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #5  0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 11 (Thread 0x7f0fb6687700 (LWP 7997)):
     [exec] #0  0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005fa1b3 in GC_wait_marker ()
     [exec] #2  0x00000000005f2365 in GC_help_marker ()
     [exec] #3  0x00000000005f8807 in GC_mark_thread ()
     [exec] #4  0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #5  0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 10 (Thread 0x7f0fb5e86700 (LWP 7998)):
     [exec] #0  0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005fa1b3 in GC_wait_marker ()
     [exec] #2  0x00000000005f2365 in GC_help_marker ()
     [exec] #3  0x00000000005f8807 in GC_mark_thread ()
     [exec] #4  0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #5  0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 9 (Thread 0x7f0fb4455700 (LWP 7999)):
     [exec] #0  0x00007f0fb723ed67 in waitpid () from /lib64/libpthread.so.0
     [exec] #1  0x00000000004a10f8 in mono_handle_native_sigsegv ()
     [exec] #2  <signal handler called>
     [exec] #3  0x00007f0fb6ebe0b5 in raise () from /lib64/libc.so.6
     [exec] #4  0x00007f0fb6ebf538 in abort () from /lib64/libc.so.6
     [exec] #5  0x0000000000600acb in monoeg_g_logv ()
     [exec] #6  0x0000000000600c06 in monoeg_assertion_message ()
     [exec] #7  0x0000000000561656 in lookup_data_table ()
     [exec] #8  0x00000000005622be in mono_debug_remove_method ()
     [exec] #9  0x000000000041a99b in mono_jit_free_method ()
     [exec] #10 0x00000000005973a2 in mono_runtime_free_method ()
     [exec] #11 0x00000000005a0f50 in free_dynamic_method ()
     [exec] #12 0x0000000000591dba in reference_queue_proccess ()
     [exec] #13 0x0000000000591df0 in reference_queue_proccess_all ()
     [exec] #14 0x00000000005920a8 in finalizer_thread ()
     [exec] #15 0x0000000000575812 in start_wrapper ()
     [exec] #16 0x00000000005dcc89 in thread_start_routine ()
     [exec] #17 0x00000000005eb3e9 in inner_start_thread ()
     [exec] #18 0x00000000005f9f04 in GC_start_routine ()
     [exec] #19 0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #20 0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 8 (Thread 0x7f0fafbb9700 (LWP 8000)):
     [exec] #0  0x00007f0fb723e56d in accept () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005d436d in _wapi_accept ()
     [exec] #2  0x0000000000567943 in ves_icall_System_Net_Sockets_Socket_Accept_internal ()
     [exec] #3  0x000000004005ab13 in ?? ()
     [exec] #4  0x00007f0fa8000e40 in ?? ()
     [exec] #5  0x0000000000000000 in ?? ()
     [exec] 
     [exec] Thread 7 (Thread 0x7f0faeaae700 (LWP 8005)):
     [exec] #0  0x00007f0fb723ea2d in nanosleep () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005dbf77 in SleepEx ()
     [exec] #2  0x0000000000576f6b in monitor_thread ()
     [exec] #3  0x0000000000575812 in start_wrapper ()
     [exec] #4  0x00000000005dcc89 in thread_start_routine ()
     [exec] #5  0x00000000005eb3e9 in inner_start_thread ()
     [exec] #6  0x00000000005f9f04 in GC_start_routine ()
     [exec] #7  0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #8  0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 6 (Thread 0x7f0faea6d700 (LWP 8006)):
     [exec] #0  0x00007f0fb723d9d0 in sem_timedwait () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005e7dcb in mono_sem_timedwait ()
     [exec] #2  0x0000000000579af7 in async_invoke_thread ()
     [exec] #3  0x0000000000575812 in start_wrapper ()
     [exec] #4  0x00000000005dcc89 in thread_start_routine ()
     [exec] #5  0x00000000005eb3e9 in inner_start_thread ()
     [exec] #6  0x00000000005f9f04 in GC_start_routine ()
     [exec] #7  0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #8  0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 5 (Thread 0x7f0fae736700 (LWP 8007)):
     [exec] #0  0x00007f0fb6f6f723 in epoll_wait () from /lib64/libc.so.6
     [exec] #1  0x00000000005776f1 in tp_epoll_wait ()
     [exec] #2  0x0000000000575812 in start_wrapper ()
     [exec] #3  0x00000000005dcc89 in thread_start_routine ()
     [exec] #4  0x00000000005eb3e9 in inner_start_thread ()
     [exec] #5  0x00000000005f9f04 in GC_start_routine ()
     [exec] #6  0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #7  0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 4 (Thread 0x7f0fae6f5700 (LWP 8008)):
     [exec] #0  0x00007f0fb723d9d0 in sem_timedwait () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005e7dcb in mono_sem_timedwait ()
     [exec] #2  0x0000000000579af7 in async_invoke_thread ()
     [exec] #3  0x0000000000575812 in start_wrapper ()
     [exec] #4  0x00000000005dcc89 in thread_start_routine ()
     [exec] #5  0x00000000005eb3e9 in inner_start_thread ()
     [exec] #6  0x00000000005f9f04 in GC_start_routine ()
     [exec] #7  0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #8  0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 3 (Thread 0x7f0faf2e5700 (LWP 8107)):
     [exec] #0  0x00007f0fb723b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005c60eb in _wapi_handle_timedwait_signal_handle ()
     [exec] #2  0x00000000005d9d05 in WaitForSingleObjectEx ()
     [exec] #3  0x000000000058c91a in mono_domain_try_unload ()
     [exec] #4  0x000000000058c9d7 in mono_domain_unload ()
     [exec] #5  0x000000004157507a in ?? ()
     [exec] #6  0x00007f0fa4000e60 in ?? ()
     [exec] #7  0x0000000000000000 in ?? ()
     [exec] 
     [exec] Thread 2 (Thread 0x7f0faf0e4700 (LWP 8108)):
     [exec] #0  0x00007f0fb723e09c in __lll_lock_wait () from /lib64/libpthread.so.0
     [exec] #1  0x00007f0fb7239f47 in _L_lock_1018 () from /lib64/libpthread.so.0
     [exec] #2  0x00007f0fb7239dd9 in pthread_mutex_lock () from /lib64/libpthread.so.0
     [exec] #3  0x0000000000563078 in mono_debugger_lock ()
     [exec] #4  0x0000000000562e26 in mono_debug_close_image ()
     [exec] #5  0x0000000000500ae0 in mono_assembly_close_except_image_pools ()
     [exec] #6  0x0000000000590223 in mono_domain_free ()
     [exec] #7  0x00000000005894ba in unload_thread_main ()
     [exec] #8  0x00000000005dcc89 in thread_start_routine ()
     [exec] #9  0x00000000005eb3e9 in inner_start_thread ()
     [exec] #10 0x00000000005f9f04 in GC_start_routine ()
     [exec] #11 0x00007f0fb7237e0f in start_thread () from /lib64/libpthread.so.0
     [exec] #12 0x00007f0fb6f6f13d in clone () from /lib64/libc.so.6
     [exec] 
     [exec] Thread 1 (Thread 0x7f0fb7d59740 (LWP 7992)):
     [exec] #0  0x00007f0fb723bcc1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
     [exec] #1  0x00000000005c5ecf in _wapi_handle_timedwait_signal_handle ()
     [exec] #2  0x00000000005d9bf6 in WaitForSingleObjectEx ()
     [exec] #3  0x000000000057544f in ves_icall_System_Threading_Thread_Join_internal ()
     [exec] #4  0x0000000041574690 in ?? ()
     [exec] #5  0x00000000015cbe60 in ?? ()
     [exec] #6  0x0000000000000000 in ?? ()
     [exec] 
     [exec] =================================================================
     [exec] Got a SIGABRT while executing native code. This usually indicates
     [exec] a fatal error in the mono runtime or one of the native libraries 
     [exec] used by your application.
     [exec] =================================================================
     [exec]
Comment 9 Silviu Paragina 2013-03-20 05:04:49 UTC
Possibly worth the note, the same assertion fails sometimes under Xunit console runner.
Comment 10 Andres G. Aragoneses 2013-04-12 13:48:27 UTC
*** Bug 8569 has been marked as a duplicate of this bug. ***
Comment 12 Zoltan Varga 2013-05-16 13:29:57 UTC
That test suite seems to require access to internal hosts, so it hangs with messages like:

[Debug][HttpClient] [0] Failure in web response: Hyena.Net.HttpWebException: Error: NameResolutionFailure

Is it possible to disable those tests ?
Comment 13 Matt Crocker 2013-05-16 15:13:15 UTC
Hi Zoltan,

Ugh, worst. Sorry about that.

Try running 
  make test TESTS=Pulser.Rdio.Local.Sync.Tests.SyncEngineTests

This test won't hit the server, and is reliably reproing the issue for me.
Comment 14 Zoltan Varga 2013-05-16 15:18:48 UTC
I can repro this now.
Comment 15 Zoltan Varga 2013-05-17 16:11:48 UTC
Fixed in master(cce72fe840b1378fb448d009723610d5230084e3) and 2.10 (7e95cf99e012e1c5ccdc24791a4927e35d73a063). Thanks for the testcase.
Comment 16 Rodrigo Kumpera 2013-05-23 12:09:37 UTC
*** Bug 8487 has been marked as a duplicate of this bug. ***