Bug 39570 - Debugger crashes on certain breakpoints with: Assertion at debugger-agent.c:8510, condition `locals->locals [i].index < header->num_locals' not met
Summary: Debugger crashes on certain breakpoints with: Assertion at debugger-agent.c:8...
Status: RESOLVED DUPLICATE of bug 39729
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2016-03-13 13:29 UTC by af4178a2
Modified: 2016-03-23 18:05 UTC (History)
3 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 DUPLICATE of bug 39729

Description af4178a2 2016-03-13 13:29:51 UTC
After the assertion the debugger/the process is terminated.

- Debugger is run from within MonoDevelop 5.10.0.871-0xamarin2
- The problem occurs since the update of the nightly build (see below for the exact version, suddenly i do not remember what version i was running before)
- It seems that the problem only exists for breakpoints in threads other than the main thread.
- The problem also happens with exception breakpoints.

===

using System.Threading;

namespace Test
{
	class MainClass
	{
		public static void Main(string[] args)
		{
			Thread t = new Thread(Run);
			t.Start();
			t.Join();
		}

		private static void Run()
		{
			// breakpoint at this position causes assertion
		}
	}
}

===

Mono JIT compiler version 4.5.0 (Nightly 4.5.0.262/2ed8402 Thu Mar 10 19:38:40 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        LLVM:          supported, not enabled.
        GC:            sgen

===

* Assertion at debugger-agent.c:8510, condition `locals->locals [i].index < header->num_locals' not met

Stacktrace:


Native stacktrace:

	/usr/bin/mono() [0x4ab2aa]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f51bfcbe8d0]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f51bf723067]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f51bf724448]
	/usr/bin/mono() [0x64a949]
	/usr/bin/mono() [0x64ab57]
	/usr/bin/mono() [0x64aca6]
	/usr/bin/mono() [0x4d4607]
	/usr/bin/mono() [0x4d81c2]
	/usr/bin/mono() [0x64382c]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f51bfcb70a4]
	/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f51bf7d687d]

Debug info from gdb:

Mono support loaded.
Mono support loaded.
[New LWP 9706]
[New LWP 9705]
[New LWP 9704]
[New LWP 9703]
[New LWP 9702]
[New LWP 9701]
[New LWP 9700]
[New LWP 9699]
[New LWP 9698]
[New LWP 9697]
[New LWP 9696]
[New LWP 9692]
[New LWP 9691]
[New LWP 9689]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185	../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
  Id   Target Id         Frame 
  15   Thread 0x7f51befff700 (LWP 9689) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  14   Thread 0x7f51bd465700 (LWP 9691) "Finalizer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
  13   Thread 0x7f51bd264700 (LWP 9692) "mono" 0x00007f51bfcbe4c9 in __libc_waitpid (pid=pid@entry=9708, stat_loc=stat_loc@entry=0x7f51bd26298c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
  12   Thread 0x7f51b7dff700 (LWP 9696) "mono" 0x00007f51bf7cdd3d in poll () at ../sysdeps/unix/syscall-template.S:81
  11   Thread 0x7f51b7dbe700 (LWP 9697) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  10   Thread 0x7f51b71f3700 (LWP 9698) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  9    Thread 0x7f51b6ff2700 (LWP 9699) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  8    Thread 0x7f51b6df1700 (LWP 9700) "Timer-Scheduler" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  7    Thread 0x7f51b6bf0700 (LWP 9701) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  6    Thread 0x7f51b69ef700 (LWP 9702) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  5    Thread 0x7f51b67ee700 (LWP 9703) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7f51b65ed700 (LWP 9704) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x7f51b63ec700 (LWP 9705) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  2    Thread 0x7f51b61eb700 (LWP 9706) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
* 1    Thread 0x7f51c07db780 (LWP 9688) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

Thread 15 (Thread 0x7f51befff700 (LWP 9689)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000006135c4 in mono_os_cond_wait (cond=0x976040 <work_cond>, mutex=<optimized out>) at ../../mono/utils/mono-os-mutex.h:105
#2  thread_func (thread_data=0x0) at sgen-thread-pool.c:118
#3  0x00007f51bfcb70a4 in start_thread (arg=0x7f51befff700) at pthread_create.c:309
#4  0x00007f51bf7d687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 14 (Thread 0x7f51bd465700 (LWP 9691)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00000000005b34ff in mono_os_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x966e40 <finalizer_sem>) at ../../mono/utils/mono-os-semaphore.h:163
#2  mono_coop_sem_wait (sem=<optimized out>, flags=<optimized out>) at ../../mono/utils/mono-coop-semaphore.h:40
#3  finalizer_thread (unused=unused@entry=0x0) at gc.c:726
#4  0x0000000000594174 in start_wrapper_internal (data=<optimized out>) at threads.c:731
#5  start_wrapper (data=<optimized out>) at threads.c:778
#6  0x000000000064382c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#7  0x00007f51bfcb70a4 in start_thread (arg=0x7f51bd465700) at pthread_create.c:309
#8  0x00007f51bf7d687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7f51bd264700 (LWP 9692)):
#0  0x00007f51bfcbe4c9 in __libc_waitpid (pid=pid@entry=9708, stat_loc=stat_loc@entry=0x7f51bd26298c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00000000004ab339 in mono_handle_native_sigsegv (signal=<optimized out>, ctx=<optimized out>, info=<optimized out>) at mini-exceptions.c:2392
#2  <signal handler called>
#3  0x00007f51bf723067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#4  0x00007f51bf724448 in __GI_abort () at abort.c:89
#5  0x000000000064a949 in monoeg_log_default_handler (log_domain=<optimized out>, log_level=<optimized out>, message=<optimized out>, unused_data=<optimized out>) at goutput.c:233
#6  monoeg_log_default_handler (log_domain=<optimized out>, log_level=G_LOG_LEVEL_ERROR, message=<optimized out>, unused_data=<optimized out>) at goutput.c:221
#7  0x000000000064ab57 in monoeg_g_logv (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x655140 "* Assertion at %s:%d, condition `%s' not met\n", args=args@entry=0x7f51bd263908) at goutput.c:113
#8  0x000000000064aca6 in monoeg_assertion_message (format=format@entry=0x655140 "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:133
#9  0x00000000004d4607 in method_commands_internal (command=command@entry=5, method=method@entry="System.Threading.ThreadHelper:ThreadStart ()", domain=domain@entry=0x1a9ddf0, p=p@entry=0x7f51b00192e4 "Q\177", end=end@entry=0x7f51b00192e4 "Q\177", buf=buf@entry=0x7f51bd263ca0) at debugger-agent.c:8510
#10 0x00000000004d81c2 in method_commands (buf=0x7f51bd263ca0, end=0x7f51b00192e4 "Q\177", p=0x7f51b00192e4 "Q\177", command=5) at debugger-agent.c:8788
#11 debugger_thread (arg=<optimized out>) at debugger-agent.c:9767
#12 0x000000000064382c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#13 0x00007f51bfcb70a4 in start_thread (arg=0x7f51bd264700) at pthread_create.c:309
#14 0x00007f51bf7d687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7f51b7dff700 (LWP 9696)):
#0  0x00007f51bf7cdd3d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000000063c3a7 in mono_poll (ufds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at mono-poll.c:26
#2  0x000000000059a422 in poll_event_wait (callback=0x59af00 <wait_callback>, user_data=0x7f51ac002210) at threadpool-ms-io-poll.c:152
#3  0x000000000059b46c in selector_thread (data=<optimized out>) at threadpool-ms-io.c:413
#4  selector_thread (data=data@entry=0x0) at threadpool-ms-io.c:302
#5  0x0000000000594174 in start_wrapper_internal (data=<optimized out>) at threads.c:731
#6  start_wrapper (data=<optimized out>) at threads.c:778
#7  0x000000000064382c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#8  0x00007f51bfcb70a4 in start_thread (arg=0x7f51b7dff700) at pthread_create.c:309
#9  0x00007f51bf7d687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7f51b7dbe700 (LWP 9697)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000642423 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x976ec0 <sleep_mutex>, cond=0x976f00 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:134
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, cond=<optimized out>, mutex=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:107
#3  sleep_interruptable (alerted=0x7f51b7dbdde8, ms=500) at mono-threads.c:1162
#4  mono_thread_info_sleep (ms=ms@entry=500, alerted=alerted@entry=0x7f51b7dbdde8) at mono-threads.c:1194
#5  0x0000000000598a38 in monitor_thread () at threadpool-ms.c:895
#6  0x0000000000594174 in start_wrapper_internal (data=<optimized out>) at threads.c:731
#7  start_wrapper (data=<optimized out>) at threads.c:778
#8  0x000000000064382c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#9  0x00007f51bfcb70a4 in start_thread (arg=0x7f51b7dbe700) at pthread_create.c:309
#10 0x00007f51bf7d687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f51b71f3700 (LWP 9698)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000598661 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x3125098, cond=0x3125068) at ../../mono/utils/mono-os-mutex.h:134
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, mutex=0x3125098, cond=0x3125068) at ../../mono/utils/mono-coop-mutex.h:107
#3  worker_park () at threadpool-ms.c:527
#4  worker_thread (data=data@entry=0x0) at threadpool-ms.c:618
#5  0x0000000000594174 in start_wrapper_internal (data=<optimized out>) at threads.c:731
#6  start_wrapper (data=<optimized out>) at threads.c:778
#7  0x000000000064382c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#8  0x00007f51bfcb70a4 in start_thread (arg=0x7f51b71f3700) at pthread_create.c:309
#9  0x00007f51bf7d687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f51b6ff2700 (LWP 9699)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000598661 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x3125098, cond=0x3125068) at ../../mono/utils/mono-os-mutex.h:134
#2  mono_coop_cond_timedwait (timeout_ms=<optimized out>, mutex=0x3125098, cond=0x3125068) at ../../mono/utils/mono-coop-mutex.h:107
#3  worker_park () at threadpool-ms.c:527
#4  worker_thread (data=data@entry=0x0) at threadpool-ms.c:618
#5  0x0000000000594174 in start_wrapper_internal (data=<optimized out>) at threads.c:731
#6  start_wrapper (data=<optimized out>) at threads.c:778
#7  0x000000000064382c in inner_start_thread (arg=<optimized out>) at mono-threads-posix.c:92
#8  0x00007f51bfcb70a4 in start_thread (arg=0x7f51b6ff2700) at pthread_create.c:309
#9  0x00007f51bf7d687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f51b6df1700 (LWP 9700)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000619a68 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x1a946b0, cond=0x1a946d8) at ../../mono/utils/mono-os-mutex.h:134
#2  _wapi_handle_timedwait_signal_handle (handle=handle@entry=0x10033, timeout=<optimized out>, alertable=alertable@entry=1, poll=poll@entry=0, alerted=alerted@entry=0x7f51b6df02ec) at handles.c:1554
#3  0x000000000062f74a in wapi_WaitForSingleObjectEx (handle=0x10033, timeout=timeout@entry=999, alertable=alertable@entry=1) at wait.c:187
#4  0x0000000000593f00 in mono_wait_uninterrupted (multiple=multiple@entry=0, numhandles=numhandles@entry=1, handles=handles@entry=0x7f51b6df0398, waitall=waitall@entry=0, ms=ms@entry=999, thread=<optimized out>, alertable=1) at threads.c:1560
#5  0x00000000005953c5 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (handle=0x10033, ms=999, exitContext=<optimized out>) at threads.c:1686
#6  0x0000000041273acf in ?? ()
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f51b6bf0700 (LWP 9701)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000000000619a68 in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x1a923a0, cond=0x1a923c8) at ../../mono/utils/mono-os-mutex.h:134
#2  _wapi_handle_timedwait_signal_handle (handle=0x10000, timeout=<optimized out>, alertable=alertable@entry=1, poll=poll@entry=0, alerted=alerted@entry=0x7f51b6beeb9c) at handles.c:1554
#3  0x0000000000619be8 in _wapi_handle_timedwait_signal (timeout=<optimized out>, poll=poll@entry=0, alerted=alerted@entry=0x7f51b6beeb9c) at handles.c:1475
#4  0x0000000000630498 in wapi_WaitForMultipleObjectsEx (numobjects=numobjects@entry=3, handles=handles@entry=0x7f51b6beee50, waitall=waitall@entry=0, timeout=timeout@entry=1000, alertable=alertable@entry=1) at wait.c:615
#5  0x0000000000593e8b in mono_wait_uninterrupted (multiple=multiple@entry=1, numhandles=numhandles@entry=3, handles=handles@entry=0x7f51b6beee50, waitall=waitall@entry=0, ms=ms@entry=1000, thread=<optimized out>, alertable=1) at threads.c:1558
#6  0x0000000000595482 in ves_icall_System_Threading_WaitHandle_WaitAny_internal (mono_handles=0x7f51bf026940, ms=1000, exitContext=<optimized out>) at threads.c:1650
#7  0x0000000041296f4f in ?? ()
#8  0x0000000000000003 in ?? ()
#9  0x00007f51b6bef190 in ?? ()
#10 0x00007f51bf026940 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f51b69ef700 (LWP 9702)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000004cee4c in mono_os_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-os-mutex.h:105
#2  mono_coop_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-coop-mutex.h:93
#3  suspend_current () at debugger-agent.c:2922
#4  suspend_current () at debugger-agent.c:2891
#5  0x00000000004d7987 in process_suspend (ctx=0x7f5198002038, tls=<optimized out>) at debugger-agent.c:2738
#6  process_single_step_inner (tls=tls@entry=0x7f51980019a0, from_signal=from_signal@entry=0) at debugger-agent.c:4855
#7  0x00000000004dbad3 in debugger_agent_single_step_from_context (ctx=0x7f51b69edfa0) at debugger-agent.c:4983
#8  0x00000000401e823b in ?? ()
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f51b67ee700 (LWP 9703)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000004cee4c in mono_os_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-os-mutex.h:105
#2  mono_coop_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-coop-mutex.h:93
#3  suspend_current () at debugger-agent.c:2922
#4  suspend_current () at debugger-agent.c:2891
#5  0x00000000004d7987 in process_suspend (ctx=0x7f518c002038, tls=<optimized out>) at debugger-agent.c:2738
#6  process_single_step_inner (tls=tls@entry=0x7f518c0019a0, from_signal=from_signal@entry=0) at debugger-agent.c:4855
#7  0x00000000004dbad3 in debugger_agent_single_step_from_context (ctx=0x7f51b67ecd40) at debugger-agent.c:4983
#8  0x00000000401e823b in ?? ()
#9  0x00007f51bf2b1960 in ?? ()
#10 0x00007f51bf032d10 in ?? ()
#11 0x00007f51be5f81ef in ?? ()
#12 0x00007f51bf2b19d0 in ?? ()
#13 0x00007f51b67ece60 in ?? ()
#14 0x00007f51b67ecee0 in ?? ()
#15 0x00007f51bf2b18c0 in ?? ()
#16 0x00007f51bf23de98 in ?? ()
#17 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f51b65ed700 (LWP 9704)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000004cee4c in mono_os_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-os-mutex.h:105
#2  mono_coop_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-coop-mutex.h:93
#3  suspend_current () at debugger-agent.c:2922
#4  suspend_current () at debugger-agent.c:2891
#5  0x00000000004d6185 in process_event (event=event@entry=EVENT_KIND_BREAKPOINT, arg=arg@entry=0x35b1b48, il_offset=il_offset@entry=0, ctx=ctx@entry=0x7f5190002038, events=0x0, events@entry=0x7f519005bc40, suspend_policy=<optimized out>) at debugger-agent.c:3754
#6  0x00000000004d74c5 in process_breakpoint_inner (tls=tls@entry=0x7f51900019a0, from_signal=from_signal@entry=0) at debugger-agent.c:4702
#7  0x00000000004dbe22 in debugger_agent_breakpoint_from_context (ctx=0x7f51b65eb970) at debugger-agent.c:5008
#8  0x00000000401e607b in ?? ()
#9  0x0000000000000003 in ?? ()
#10 0x0000000000000003 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f51b63ec700 (LWP 9705)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000004cee4c in mono_os_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-os-mutex.h:105
#2  mono_coop_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-coop-mutex.h:93
#3  suspend_current () at debugger-agent.c:2922
#4  suspend_current () at debugger-agent.c:2891
#5  0x00000000004d6185 in process_event (event=event@entry=EVENT_KIND_BREAKPOINT, arg=arg@entry=0x35b1b48, il_offset=il_offset@entry=0, ctx=ctx@entry=0x7f5184002038, events=0x0, events@entry=0x7f5184061480, suspend_policy=<optimized out>) at debugger-agent.c:3754
#6  0x00000000004d74c5 in process_breakpoint_inner (tls=tls@entry=0x7f51840019a0, from_signal=from_signal@entry=0) at debugger-agent.c:4702
#7  0x00000000004dbe22 in debugger_agent_breakpoint_from_context (ctx=0x7f51b63ea970) at debugger-agent.c:5008
#8  0x00000000401e607b in ?? ()
#9  0x0000000000000003 in ?? ()
#10 0x0000000000000003 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f51b61eb700 (LWP 9706)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000004cee4c in mono_os_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-os-mutex.h:105
#2  mono_coop_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-coop-mutex.h:93
#3  suspend_current () at debugger-agent.c:2922
#4  suspend_current () at debugger-agent.c:2891
#5  0x00000000004d6185 in process_event (event=event@entry=EVENT_KIND_BREAKPOINT, arg=arg@entry=0x35b1b48, il_offset=il_offset@entry=0, ctx=ctx@entry=0x7f5188002038, events=0x0, events@entry=0x7f51880046e0, suspend_policy=<optimized out>) at debugger-agent.c:3754
#6  0x00000000004d74c5 in process_breakpoint_inner (tls=tls@entry=0x7f51880019a0, from_signal=from_signal@entry=0) at debugger-agent.c:4702
#7  0x00000000004dbe22 in debugger_agent_breakpoint_from_context (ctx=0x7f51b61e9970) at debugger-agent.c:5008
#8  0x00000000401e607b in ?? ()
#9  0x0000000000000003 in ?? ()
#10 0x0000000000000003 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f51c07db780 (LWP 9688)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000004cee4c in mono_os_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-os-mutex.h:105
#2  mono_coop_cond_wait (mutex=0x964fa0 <suspend_mutex>, cond=0x964fe0 <suspend_cond>) at ../../mono/utils/mono-coop-mutex.h:93
#3  suspend_current () at debugger-agent.c:2922
#4  suspend_current () at debugger-agent.c:2891
#5  0x00000000004d7987 in process_suspend (ctx=0x1af9928, tls=<optimized out>) at debugger-agent.c:2738
#6  process_single_step_inner (tls=tls@entry=0x1af9290, from_signal=from_signal@entry=0) at debugger-agent.c:4855
#7  0x00000000004dbad3 in debugger_agent_single_step_from_context (ctx=0x7ffd08e2c0c0) at debugger-agent.c:4983
#8  0x00000000401e823b in ?? ()
#9  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 1 Zoltan Varga 2016-03-23 18:05:46 UTC

*** This bug has been marked as a duplicate of bug 39729 ***