Bug 46189 - * Assertion at method-to-ir.c:11688, condition `addr' not met
Summary: * Assertion at method-to-ir.c:11688, condition `addr' not met
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: master
Hardware: Other Other
: --- major
Target Milestone: ---
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2016-10-31 15:20 UTC by Marek Safar
Modified: 2016-11-08 08:07 UTC (History)
2 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 Marek Safar 2016-10-31 15:20:27 UTC
Roslyn compiler crashes on ARM with following

* Assertion at method-to-ir.c:11688, condition `addr' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at Microsoft.CodeAnalysis.CSharp.CSharpCompiler.ParseFile (Microsoft.CodeAnalysis.CSharp.CSharpParseOptions,Microsoft.CodeAnalysis.CSharp.CSharpParseOptions,Microsoft.CodeAnalysis.Text.SourceText,Microsoft.CodeAnalysis.CommandLineSourceFile) <0x0005f>
  at Microsoft.CodeAnalysis.CSharp.CSharpCompiler.ParseFile (System.IO.TextWriter,Microsoft.CodeAnalysis.CSharp.CSharpParseOptions,Microsoft.CodeAnalysis.CSharp.CSharpParseOptions,bool&,Microsoft.CodeAnalysis.CommandLineSourceFile,Microsoft.CodeAnalysis.ErrorLogger,string&) <0x000cb>
  at Microsoft.CodeAnalysis.CSharp.CSharpCompiler/<>c__DisplayClass7_0.<CreateCompilation>b__0 (int) <0x000df>
  at Roslyn.Utilities.UICultureUtilities/<>c__DisplayClass6_0`1<int>.<WithCurrentUICulture>b__0 (int) <0x000c7>
  at System.Threading.Tasks.Parallel/<ForWorker>c__AnonStorey3`1<TLocal_REF>.<>m__1 () <0x0029b>
  at System.Threading.Tasks.Task.InnerInvoke () <0x0005f>
  at System.Threading.Tasks.Task.InnerInvokeWithArg (System.Threading.Tasks.Task) <0x00023>
  at System.Threading.Tasks.Task/<ExecuteSelfReplicating>c__AnonStorey0.<>m__0 (object) <0x0015b>
  at System.Threading.Tasks.Task.InnerInvoke () <0x0009f>
  at System.Threading.Tasks.Task.Execute () <0x0003f>
  at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0005b>
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001bf>
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x0002b>
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00153>
  at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000c3>
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x00017>
  at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x0019f>
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x0000b>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) <0x0005b>

Native stacktrace:

	/media/ssd/jenkins/workspace/test-mono-pull-request-arm64/mono/mini/mono(+0xafe10) [0x557ad6be10]

=================================================================
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
make[10]: *** [../../../class/lib/basic/Facades/System.IO.dll] Error 134

Log taken from https://jenkins.mono-project.com/job/test-mono-pull-request-arm64/1801/parsed_console/log_content.html#ERROR1


To repro: Clone and build mono from https://github.com/marek-safar/mono/tree/roslyn
Comment 1 Marek Safar 2016-11-03 08:48:29 UTC
This crash is not ARM specific it crashes on any platform and it looks like some recent regression
Comment 2 Marek Safar 2016-11-03 09:43:14 UTC
full threads dump

MCS     [net_4_x] Mono.Data.Sqlite.dll
* Assertion at method-to-ir.c:11688, condition `addr' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at Microsoft.CodeAnalysis.CSharp.MethodCompiler.LowerBodyOrInitializer (Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol,int,Microsoft.CodeAnalysis.CSharp.BoundStatement,Microsoft.CodeAnalysis.CSharp.SynthesizedSubmissionFields,Microsoft.CodeAnalysis.CSharp.TypeCompilationState,Microsoft.CodeAnalysis.DiagnosticBag,Microsoft.CodeAnalysis.CodeGen.VariableSlotAllocator&,Microsoft.CodeAnalysis.ArrayBuilder`1<Microsoft.CodeAnalysis.CodeGen.LambdaDebugInfo>,Microsoft.CodeAnalysis.ArrayBuilder`1<Microsoft.CodeAnalysis.CodeGen.ClosureDebugInfo>,Microsoft.CodeAnalysis.CSharp.StateMachineTypeSymbol&) <0x0011f>
  at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod (Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol,int,Microsoft.CodeAnalysis.CSharp.Binder/ProcessedFieldInitializers&,Microsoft.CodeAnalysis.CSharp.SynthesizedSubmissionFields,Microsoft.CodeAnalysis.CSharp.TypeCompilationState) <0x00df7>
  at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType (Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol) <0x007a3>
  at Microsoft.CodeAnalysis.CSharp.MethodCompiler/<>c__DisplayClass20_0.<CompileNamedTypeAsTask>b__0 () <0x0001b>
  at Roslyn.Utilities.UICultureUtilities/<>c__DisplayClass5_0.<WithCurrentUICulture>b__0 () <0x000a3>
  at System.Threading.Tasks.Task.InnerInvoke () <0x0004c>
  at System.Threading.Tasks.Task.Execute () <0x00055>
  at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x00045>
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x0017a>
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00020>
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x0010c>
  at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000d6>
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x0000e>
  at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x001d4>
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x00008>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) <0x0005a>

Native stacktrace:

	/home/marek/mono/mono/mini/mono() [0x4b504f]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x2aae0157d3d0]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x2aae019d4418]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x2aae019d601a]
	/home/marek/mono/mono/mini/mono() [0x65e749]
	/home/marek/mono/mono/mini/mono() [0x674635]
	/home/marek/mono/mono/mini/mono() [0x6747e9]
	/home/marek/mono/mono/mini/mono() [0x4621e0]
	/home/marek/mono/mono/mini/mono() [0x516051]
	/home/marek/mono/mono/mini/mono() [0x517d79]
	/home/marek/mono/mono/mini/mono() [0x426461]
	/home/marek/mono/mono/mini/mono() [0x427174]
	/home/marek/mono/mono/mini/mono() [0x5de2fe]
	/home/marek/mono/mono/mini/mono() [0x5e1de4]
	/home/marek/mono/mono/mini/mono() [0x517fa3]
	/home/marek/mono/mono/mini/mono() [0x426461]
	/home/marek/mono/mono/mini/mono() [0x4b69c8]
	/home/marek/mono/mono/mini/mono() [0x4b7112]
	[0x4195f38c]

Debug info from gdb:

[New LWP 60170]
[New LWP 60171]
[New LWP 60172]
[New LWP 60173]
[New LWP 60174]
[New LWP 60175]
[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 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185	../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
  Id   Target Id         Frame
* 1    Thread 0x2aae00c64c00 (LWP 60148) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  2    Thread 0x2aae01fc8700 (LWP 60170) "SGen worker" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x2aae0450d700 (LWP 60171) "Finalizer" 0x00002aae0157b867 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x9c6660 <finalizer_sem>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  4    Thread 0x2aae06163700 (LWP 60172) "mono" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  5    Thread 0x2aae06368700 (LWP 60173) "Threadpool work" 0x00002aae0157cfbb in __waitpid (pid=pid@entry=60176, stat_loc=stat_loc@entry=0x2aae063650fc, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  6    Thread 0x2aae0656d700 (LWP 60174) "Threadpool work" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  7    Thread 0x2aae07f78700 (LWP 60175) "Threadpool work" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135

Thread 7 (Thread 0x2aae07f78700 (LWP 60175)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00002aae01575e82 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x2aae101ff910) at ../nptl/pthread_mutex_lock.c:115
#2  0x00000000005e221e in mono_os_mutex_lock (mutex=0x2aae101ff910) at ../../mono/utils/mono-os-mutex.h:94
#3  mono_coop_mutex_lock (mutex=0x2aae101ff910) at ../../mono/utils/mono-coop-mutex.h:53
#4  mono_type_init_lock (lock=0x2aae101ff900) at object.c:174
#5  mono_runtime_class_init_full (vtable=0x2aae10220348, error=error@entry=0x2aae07f76d40) at object.c:489
#6  0x00000000004263dd in mono_jit_compile_method_with_opt (method=method@entry=0x2aae14269c08, opt=370239999, error=error@entry=0x2aae07f76d40) at mini-runtime.c:1875
#7  0x0000000000426daa in mono_jit_compile_method (method=method@entry=0x2aae14269c08, error=error@entry=0x2aae07f76d40) at mini-runtime.c:1976
#8  0x00000000004b69c8 in common_call_trampoline (regs=regs@entry=0x2aae07f76e18, code=code@entry=0x404726c0 "L\213\350H\213ȃ9", m=m@entry=0x2aae14269c08, vt=vt@entry=0x0, vtable_slot=<optimized out>, vtable_slot@entry=0x0, error=error@entry=0x2aae07f76d40) at mini-trampolines.c:698
#9  0x00000000004b7112 in mono_magic_trampoline (regs=0x2aae07f76e18, code=0x404726c0 "L\213\350H\213ȃ9", arg=0x2aae14269c08, tramp=<optimized out>) at mini-trampolines.c:828
#10 0x000000004195f38c in ?? ()
#11 0x00002aae07f77310 in ?? ()
#12 0x00002aae18001dd5 in ?? ()
#13 0x00000000404726c0 in ?? ()
#14 0x3daafc0075ddf700 in ?? ()
#15 0x00002aae07f76f60 in ?? ()
#16 0x00002aae07f76e18 in ?? ()
#17 0x00002aae07f786c0 in ?? ()
#18 0x00002aae07f76ff0 in ?? ()
#19 0x00002aae1c0a1130 in ?? ()
#20 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x2aae0656d700 (LWP 60174)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00002aae01575e82 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x2aae101ff910) at ../nptl/pthread_mutex_lock.c:115
#2  0x00000000005e221e in mono_os_mutex_lock (mutex=0x2aae101ff910) at ../../mono/utils/mono-os-mutex.h:94
#3  mono_coop_mutex_lock (mutex=0x2aae101ff910) at ../../mono/utils/mono-coop-mutex.h:53
#4  mono_type_init_lock (lock=0x2aae101ff900) at object.c:174
#5  mono_runtime_class_init_full (vtable=0x2aae10220348, error=error@entry=0x2aae0656bd40) at object.c:489
#6  0x00000000004263dd in mono_jit_compile_method_with_opt (method=method@entry=0x2aae14269c08, opt=370239999, error=error@entry=0x2aae0656bd40) at mini-runtime.c:1875
#7  0x0000000000426daa in mono_jit_compile_method (method=method@entry=0x2aae14269c08, error=error@entry=0x2aae0656bd40) at mini-runtime.c:1976
#8  0x00000000004b69c8 in common_call_trampoline (regs=regs@entry=0x2aae0656be18, code=code@entry=0x404726c0 "L\213\350H\213ȃ9", m=m@entry=0x2aae14269c08, vt=vt@entry=0x0, vtable_slot=<optimized out>, vtable_slot@entry=0x0, error=error@entry=0x2aae0656bd40) at mini-trampolines.c:698
#9  0x00000000004b7112 in mono_magic_trampoline (regs=0x2aae0656be18, code=0x404726c0 "L\213\350H\213ȃ9", arg=0x2aae14269c08, tramp=<optimized out>) at mini-trampolines.c:828
#10 0x000000004195f38c in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x2aae06368700 (LWP 60173)):
#0  0x00002aae0157cfbb in __waitpid (pid=pid@entry=60176, stat_loc=stat_loc@entry=0x2aae063650fc, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00000000004b5126 in mono_handle_native_sigsegv (signal=<optimized out>, ctx=<optimized out>, info=<optimized out>) at mini-exceptions.c:2429
#2  <signal handler called>
#3  0x00002aae019d4418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#4  0x00002aae019d601a in __GI_abort () at abort.c:89
#5  0x000000000065e749 in mono_log_write_logfile (log_domain=<optimized out>, level=<optimized out>, hdr=<optimized out>, message=<optimized out>) at mono-log-common.c:137
#6  0x0000000000674635 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=0x680bc0 "* Assertion at %s:%d, condition `%s' not met\n", args=0x2aae06366160) at goutput.c:111
#7  0x00000000006747e9 in monoeg_assertion_message (format=0x680bc0 "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:131
#8  0x00000000004621e0 in mono_method_to_ir (cfg=cfg@entry=0x2aae101f0a30, method=method@entry=0x2aae18156d88, start_bblock=<optimized out>, start_bblock@entry=0x0, end_bblock=<optimized out>, end_bblock@entry=0x0, return_var=return_var@entry=0x0, inline_args=inline_args@entry=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:11688
#9  0x0000000000516051 in mini_method_compile (method=method@entry=0x2aae18156d88, opts=opts@entry=370239999, domain=domain@entry=0x142ac20, flags=flags@entry=JIT_FLAG_RUN_CCTORS, parts=parts@entry=0, aot_method_index=aot_method_index@entry=-1) at mini.c:3562
#10 0x0000000000517d79 in mono_jit_compile_method_inner (method=method@entry=0x2aae18156d88, target_domain=target_domain@entry=0x142ac20, opt=opt@entry=370239999, error=error@entry=0x2aae06366d40) at mini.c:4254
#11 0x0000000000426461 in mono_jit_compile_method_with_opt (method=method@entry=0x2aae18156d88, opt=370239999, error=error@entry=0x2aae06366d40) at mini-runtime.c:1932
#12 0x0000000000427174 in mono_jit_runtime_invoke (method=0x2aae18156d88, obj=0x0, params=0x0, exc=0x2aae06366b38, error=0x2aae06366d40) at mini-runtime.c:2456
#13 0x00000000005de2fe in do_runtime_invoke (method=0x2aae18156d88, obj=0x0, params=0x0, exc=0x2aae06366b38, error=0x2aae06366d40) at object.c:2829
#14 0x00000000005e1de4 in mono_runtime_class_init_full (vtable=vtable@entry=0x2aae10220348, error=error@entry=0x2aae06366d40) at object.c:438
#15 0x0000000000517fa3 in mono_jit_compile_method_inner (method=method@entry=0x2aae14269c08, target_domain=target_domain@entry=0x142ac20, opt=opt@entry=370239999, error=error@entry=0x2aae06366d40) at mini.c:4422
#16 0x0000000000426461 in mono_jit_compile_method_with_opt (method=method@entry=0x2aae14269c08, opt=370239999, error=error@entry=0x2aae06366d40) at mini-runtime.c:1932
#17 0x0000000000426daa in mono_jit_compile_method (method=method@entry=0x2aae14269c08, error=error@entry=0x2aae06366d40) at mini-runtime.c:1976
#18 0x00000000004b69c8 in common_call_trampoline (regs=regs@entry=0x2aae06366e18, code=code@entry=0x404726c0 "L\213\350H\213ȃ9", m=m@entry=0x2aae14269c08, vt=vt@entry=0x0, vtable_slot=<optimized out>, vtable_slot@entry=0x0, error=error@entry=0x2aae06366d40) at mini-trampolines.c:698
#19 0x00000000004b7112 in mono_magic_trampoline (regs=0x2aae06366e18, code=0x404726c0 "L\213\350H\213ȃ9", arg=0x2aae14269c08, tramp=<optimized out>) at mini-trampolines.c:828
#20 0x000000004195f38c in ?? ()
#21 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x2aae06163700 (LWP 60172)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x000000000066a49b in mono_os_cond_timedwait (timeout_ms=<optimized out>, mutex=0x9d6540 <sleep_mutex>, cond=0x9d6500 <sleep_cond>) at ../../mono/utils/mono-os-mutex.h:179
#2  mono_coop_cond_timedwait (cond=0x9d6500 <sleep_cond>, mutex=0x9d6540 <sleep_mutex>, timeout_ms=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:99
#3  sleep_interruptable (alerted=0x2aae06162dc0, ms=500) at mono-threads.c:1300
#4  mono_thread_info_sleep (ms=ms@entry=500, alerted=alerted@entry=0x2aae06162dc0) at mono-threads.c:1332
#5  0x00000000005b3446 in monitor_thread () at threadpool-ms.c:935
#6  0x00000000005ad00f in start_wrapper_internal (stack_ptr=0x2aae06162e18, start_info=0x0) at threads.c:846
#7  start_wrapper (data=0x19f0bb0) at threads.c:897
#8  0x0000000000669ed1 in inner_start_thread (data=0x192e8c0) at mono-threads.c:1175
#9  0x00002aae015736fa in start_thread (arg=0x2aae06163700) at pthread_create.c:333
#10 0x00002aae01aa5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x2aae0450d700 (LWP 60171)):
#0  0x00002aae0157b867 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x9c6660 <finalizer_sem>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x9c6660 <finalizer_sem>, abstime=0x0) at sem_waitcommon.c:111
#2  0x00002aae0157b914 in __new_sem_wait_slow (sem=0x9c6660 <finalizer_sem>, abstime=0x0) at sem_waitcommon.c:181
#3  0x00002aae0157b9ba in __new_sem_wait (sem=sem@entry=0x9c6660 <finalizer_sem>) at sem_wait.c:29
#4  0x00000000005d442f in mono_os_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x9c6660 <finalizer_sem>) at ../../mono/utils/mono-os-semaphore.h:209
#5  mono_coop_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x9c6660 <finalizer_sem>) at ../../mono/utils/mono-coop-semaphore.h:40
#6  finalizer_thread (unused=unused@entry=0x0) at gc.c:907
#7  0x00000000005ad00f in start_wrapper_internal (stack_ptr=0x2aae0450ce18, start_info=0x0) at threads.c:846
#8  start_wrapper (data=0x148a600) at threads.c:897
#9  0x0000000000669ed1 in inner_start_thread (data=0x148a660) at mono-threads.c:1175
#10 0x00002aae015736fa in start_thread (arg=0x2aae0450d700) at pthread_create.c:333
#11 0x00002aae01aa5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x2aae01fc8700 (LWP 60170)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000000000641b3f in mono_os_cond_wait (mutex=0x9d5980 <lock>, cond=0x9d5940 <work_cond>) at ../../mono/utils/mono-os-mutex.h:146
#2  thread_func (thread_data=0x2aae00c5d008) at sgen-thread-pool.c:110
#3  0x00002aae015736fa in start_thread (arg=0x2aae01fc8700) at pthread_create.c:333
#4  0x00002aae01aa5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x2aae00c64c00 (LWP 60148)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000005ca2ce in mono_os_cond_wait (mutex=0x1421db0, cond=0x1421dd8) at ../../mono/utils/mono-os-mutex.h:146
#2  mono_os_cond_timedwait (timeout_ms=4294967295, mutex=0x1421db0, cond=0x1421dd8) at ../../mono/utils/mono-os-mutex.h:160
#3  mono_w32handle_timedwait_signal_naked (alerted=0x7fff453412c0, poll=0, timeout=4294967295, mutex=0x1421db0, cond=0x1421dd8) at w32handle.c:999
#4  mono_w32handle_timedwait_signal_handle (handle=handle@entry=0x404, timeout=timeout@entry=4294967295, alerted=alerted@entry=0x7fff453412c0, poll=0) at w32handle.c:1114
#5  0x00000000005cad35 in mono_w32handle_wait_one (handle=handle@entry=0x404, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at w32handle.c:1248
#6  0x0000000000655819 in wapi_WaitForSingleObjectEx (handle=handle@entry=0x404, timeout=timeout@entry=4294967295, alertable=alertable@entry=1) at wait.c:42
#7  0x00000000005dca5d in ves_icall_System_Threading_Monitor_Monitor_wait (obj=0x2aae0238ba88, ms=4294967295) at monitor.c:1348
#8  0x00002aae038a0bb1 in System_Threading_Monitor_ObjWait_bool_int_object (exitContext=false, millisecondsTimeout=-1, obj=0xffffffffffffffff) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#9  0x00002aae038a111d in System_Threading_Monitor_Wait_object_int_bool (obj=0x2aae0238ba88, millisecondsTimeout=-1, exitContext=false) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#10 0x00002aae038a11a4 in System_Threading_Monitor_Wait_object_int (obj=0x2aae0238ba88, millisecondsTimeout=-1) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#11 0x00002aae038b252b in System_Threading_ManualResetEventSlim_Wait_int_System_Threading_CancellationToken (this=..., millisecondsTimeout=-1, cancellationToken=0) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#12 0x00002aae038c8ca2 in System_Threading_Tasks_Task_SpinThenBlockingWait_int_System_Threading_CancellationToken (this=..., millisecondsTimeout=-1, cancellationToken=0) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#13 0x00002aae038c8bcc in System_Threading_Tasks_Task_InternalWait_int_System_Threading_CancellationToken (this=..., millisecondsTimeout=-1, cancellationToken=0) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#14 0x00002aae039e5a81 in System_Runtime_CompilerServices_TaskAwaiter_HandleNonSuccessAndDebuggerNotification_System_Threading_Tasks_Task (task=...) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#15 0x00002aae039e5a0b in System_Runtime_CompilerServices_TaskAwaiter_ValidateEnd_System_Threading_Tasks_Task (task=...) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#16 0x00002aae039e59c3 in System_Runtime_CompilerServices_TaskAwaiter_GetResult (this=140734354429472) from /home/marek/mono/mcs/class/lib/build/mscorlib.dll.so
#17 0x0000000040455fa4 in ?? ()
#18 0x00002aae0208b368 in ?? ()
#19 0x00002aae02399150 in ?? ()
#20 0x00002aae02399150 in ?? ()
#21 0x00002aae02399150 in ?? ()
#22 0x00002aae02399150 in ?? ()
#23 0x000000004044efc4 in ?? ()
#24 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 (core dumped)
../../build/library.make:302: recipe for target '../../class/lib/net_4_x/Mono.Data.Sqlite.dll' failed
Comment 3 Zoltan Varga 2016-11-07 23:40:08 UTC
This is fixed now right ?