** ERROR **: file threads.c: line 3353 (mono_thread_clr_state): assertion failed: (ret == 0) aborting... Stacktrace: at (wrapper managed-to-native) System.Threading.Thread.Join_internal (int,intptr) <0x00004> at (wrapper managed-to-native) System.Threading.Thread.Join_internal (int,intptr) <0xffffffff> at System.Threading.Thread.Join () [0x00000] in /home/gert/mono/mcs/class/corlib/System.Threading/Thread.cs:636 at System.Timers.Timer.StopTimer () [0x0004d] in /home/gert/mono/mcs/class/System/System.Timers/Timer.cs:219 at System.Timers.Timer.set_Enabled (bool) [0x0005d] in /home/gert/mono/mcs/class/System/System.Timers/Timer.cs:102 at System.Timers.Timer.Stop () [0x00000] in /home/gert/mono/mcs/class/System/System.Timers/Timer.cs:163 at (wrapper remoting-invoke-with-check) System.Timers.Timer.Stop () <0xffffffff> at MonoTests.System.Timers.RaceTest.Restart () [0x0000d] in /home/gert/mono/mcs/class/System/Test/System.Timers/TimerTest.cs:290 at MonoTests.System.Timers.RaceTest.Tick (object,System.Timers.ElapsedEventArgs) [0x00000] in /home/gert/mono/mcs/class/System/Test/System.Timers/TimerTest.cs:298 at System.Timers.Timer.Callback (object) [0x0005e] in /home/gert/mono/mcs/class/System/System.Timers/Timer.cs:183 at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object (object) <0xffffffff> at (wrapper runtime-invoke) System.Threading.WaitCallback.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: /home/gert/mono/mono/mono/mini/mono [0x816a8ee] [0xffffe440] /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0x40139641] /usr/lib/libglib-2.0.so.0(g_logv+0x4ca) [0x4006c70a] /usr/lib/libglib-2.0.so.0(g_log+0x29) [0x4006c749] /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0x4006c7c6] /home/gert/mono/mono/mono/mini/mono(mono_thread_clr_state+0x71) [0x80eb2b1] /home/gert/mono/mono/mono/mini/mono [0x80ed8a8] [0x415b46a5] [0x415b4663] [0x428fc057] [0x428fb381] [0x428fbfcd] [0x428fbf91] [0x428fc641] [0x428fc9c3] [0x428fc94b] [0x41d74675] [0x41d745c6] /home/gert/mono/mono/mono/mini/mono(mono_runtime_invoke_array+0x1bd) [0x80f638d] /home/gert/mono/mono/mono/mini/mono [0x80f690d] /home/gert/mono/mono/mono/mini/mono [0x80e90d3] /home/gert/mono/mono/mono/mini/mono [0x80ea7ad] /home/gert/mono/mono/mono/mini/mono [0x80eec54] /home/gert/mono/mono/mono/mini/mono [0x8114152] /home/gert/mono/mono/mono/mini/mono [0x8128265] /lib/tls/i686/cmov/libpthread.so.0 [0x400d531b] /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x401dd57e] Debug info from gdb: Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1076165344 (LWP 6250)] [New Thread 1097612176 (LWP 7409)] [New Thread 1111776144 (LWP 7174)] [New Thread 1109572496 (LWP 7172)] [New Thread 1107434384 (LWP 6942)] [New Thread 1088277392 (LWP 6306)] [New Thread 1081363344 (LWP 6305)] 0x4017ce77 in memset () from /lib/tls/i686/cmov/libc.so.6 7 Thread 1081363344 (LWP 6305) 0xffffe410 in __kernel_vsyscall () 6 Thread 1088277392 (LWP 6306) 0xffffe410 in __kernel_vsyscall () 5 Thread 1107434384 (LWP 6942) 0xffffe410 in __kernel_vsyscall () 4 Thread 1109572496 (LWP 7172) 0xffffe410 in __kernel_vsyscall () 3 Thread 1111776144 (LWP 7174) 0xffffe410 in __kernel_vsyscall () 2 Thread 1097612176 (LWP 7409) 0xffffe410 in __kernel_vsyscall () 1 Thread 1076165344 (LWP 6250) 0x4017ce77 in memset () from /lib/tls/i686/cmov/libc.so.6 Thread 7 (Thread 1081363344 (LWP 6305)): #0 0xffffe410 in __kernel_vsyscall () #1 0x400dc986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x08112bb1 in collection_thread (unused=0x0) at collection.c:34 #3 0x400d531b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #4 0x401dd57e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 6 (Thread 1088277392 (LWP 6306)): #0 0xffffe410 in __kernel_vsyscall () #1 0x400d95c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x081058cf in timedwait_signal_poll_cond (cond=0x407ac1dc, mutex=0x407ac1c4, timeout=0x0, alertable=0) at handles.c:1443 #3 0x0810836f in _wapi_handle_timedwait_signal_handle (handle=0x404, timeout=0x0, alertable=0) at handles.c:1523 #4 0x081083ec in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0) at handles.c:1483 #5 0x08104b0f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, alertable=0) at wait.c:200 #6 0x080cf1ea in finalizer_thread (unused=0x0) at gc.c:847 #7 0x080eec54 in start_wrapper (data=0x82511e8) at threads.c:550 #8 0x08114152 in thread_start_routine (args=0x407fe768) at threads.c:264 #9 0x08128265 in GC_start_routine (arg=0x22f40) at pthread_support.c:1369 #10 0x400d531b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0x401dd57e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 5 (Thread 1107434384 (LWP 6942)): #0 0xffffe410 in __kernel_vsyscall () #1 0x401ddbe6 in epoll_wait () from /lib/tls/i686/cmov/libc.so.6 #2 0x080e8dfc in socket_io_epoll_main (p=0x8211e80) at threadpool.c:554 #3 0x080eec54 in start_wrapper (data=0x89bc1f0) at threads.c:550 #4 0x08114152 in thread_start_routine (args=0x40800ac0) at threads.c:264 #5 0x08128265 in GC_start_routine (arg=0xc0cc20) at pthread_support.c:1369 #6 0x400d531b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0x401dd57e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread 1109572496 (LWP 7172)): #0 0xffffe410 in __kernel_vsyscall () #1 0x401d63d1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0x4008f4a0 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0 #3 0x4008f86c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0 #4 0x0816a989 in mono_handle_native_sigsegv (signal=6, ctx=0x4222a68c) at mini-exceptions.c:1061 #5 #6 0xffffe410 in __kernel_vsyscall () #7 0x40137df0 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0x40139641 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0x4006c70a in g_logv () from /usr/lib/libglib-2.0.so.0 #10 0x4006c749 in g_log () from /usr/lib/libglib-2.0.so.0 #11 0x4006c7c6 in g_assert_warning () from /usr/lib/libglib-2.0.so.0 #12 0x080eb2b1 in mono_thread_clr_state (thread=0x81a5997, state=1074571080) at threads.c:3353 #13 0x080ed8a8 in ves_icall_System_Threading_Thread_Join_internal ( this=0x15220b0, ms=-1, thread=0xa0f) at threads.c:1185 #14 0x415b46a5 in ?? () #15 0x015220b0 in ?? () #16 0xffffffff in ?? () #17 0x00000a0f in ?? () #18 0x08e14850 in ?? () #19 0x00c22a48 in ?? () #20 0x00c22a48 in ?? () #21 0x00c22a48 in ?? () #22 0x00c22a48 in ?? () #23 0x00c22a48 in ?? () #24 0x015220b0 in ?? () #25 0x4222b02c in ?? () #26 0x415b467c in ?? () #27 0x4222b040 in ?? () #28 0x415b4663 in ?? () #29 0x015220b0 in ?? () #30 0xffffffff in ?? () #31 0x00000a0f in ?? () #32 0x4222b068 in ?? () #33 0x428fc057 in ?? () #34 0x015220b0 in ?? () #35 0x016d9830 in ?? () #36 0x015220b0 in ?? () #37 0x4222b064 in ?? () #38 0x080e7e03 in ves_icall_System_Threading_Monitor_Monitor_try_enter ( obj=0x15220b0, ms=22159536) at monitor.c:622 Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 3 (Thread 1111776144 (LWP 7174)): #0 0xffffe410 in __kernel_vsyscall () #1 0x400d984c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0810588a in timedwait_signal_poll_cond (cond=0x407ac02c, mutex=0x407ac014, timeout=0x42445268, alertable=1) at handles.c:1453 #3 0x0810836f in _wapi_handle_timedwait_signal_handle (handle=0x400, timeout=0x42445268, alertable=1) at handles.c:1523 #4 0x081049ca in WaitForSingleObjectEx (handle=0x400, timeout=10000, alertable=1) at wait.c:202 #5 0x080ea7ef in async_invoke_thread (data=0x0) at threadpool.c:1228 #6 0x080eec54 in start_wrapper (data=0x8ab6e50) at threads.c:550 #7 0x08114152 in thread_start_routine (args=0x40811cf8) at threads.c:264 #8 0x08128265 in GC_start_routine (arg=0x1492fe0) at pthread_support.c:1369 #9 0x400d531b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0x401dd57e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 1097612176 (LWP 7409)): #0 0xffffe410 in __kernel_vsyscall () #1 0x401c203c in sched_yield () from /lib/tls/i686/cmov/libc.so.6 #2 0x081137bd in SleepEx (ms=0, alertable=1) at threads.c:996 #3 0x080ee656 in ves_icall_System_Threading_Thread_Sleep_internal (ms=0) at threads.c:938 #4 0x42570486 in ?? () #5 0x00000000 in ?? () Thread 1 (Thread 1076165344 (LWP 6250)): #0 0x4017ce77 in memset () from /lib/tls/i686/cmov/libc.so.6 #1 0x080f6778 in mono_array_new_specific (vtable=0x8390e10, n=4194304) at object.c:3645 #2 0x40781b42 in ?? () #3 0x08390e10 in ?? () #4 0x00400000 in ?? () #5 0xbf905cf4 in ?? () #6 0x004e0004 in ?? () #7 0x00000062 in ?? () #8 0x00000000 in ?? () #0 0x4017ce77 in memset () from /lib/tls/i686/cmov/libc.so.6 ================================================================= 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 (core dumped) make[1]: *** [run-test-lib] Error 1 make[1]: Leaving directory `/home/gert/mono/mcs/class/System' make: *** [do-run-test] Error 1