Bug 43455 - * Assertion at aot-compiler.c:2490, condition `mono_error_ok (&error)' not met
Summary: * Assertion at aot-compiler.c:2490, condition `mono_error_ok (&error)' not met
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-08-17 10:58 UTC by Marek Safar
Modified: 2016-08-17 11:49 UTC (History)
2 users (show)

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:

Description Marek Safar 2016-08-17 10:58:12 UTC
* Assertion at aot-compiler.c:2490, condition `mono_error_ok (&error)' not met


Native stacktrace:

	mono() [0x49d6ac]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f04c811a340]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f04c7d7af79]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f04c7d7e388]
	mono() [0x62ad29]
	mono() [0x62af37]
	mono() [0x62b086]
	mono() [0x4761ec]
	mono() [0x47ee88]
	mono() [0x486790]
	mono(mono_main+0x109c) [0x472d6c]
	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f04c7d65ec5]
	mono() [0x420a69]

Debug info from gdb:

[New LWP 51611]
[New LWP 51610]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f04c8119ee9 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
  Id   Target Id         Frame
  3    Thread 0x7f04c77ff700 (LWP 51610) "mono" 0x00007f04c8116414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  2    Thread 0x7f04c58b3700 (LWP 51611) "Finalizer" 0x00007f04c8118680 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
* 1    Thread 0x7f04c8c507c0 (LWP 51609) "mono" 0x00007f04c8119ee9 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0

Thread 3 (Thread 0x7f04c77ff700 (LWP 51610)):
#0  0x00007f04c8116414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005f9bac in ?? ()
#2  0x00007f04c8112182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007f04c7e3f30d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f04c58b3700 (LWP 51611)):
#0  0x00007f04c8118680 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x000000000061dee8 in mono_sem_wait ()
#2  0x00000000005a2136 in ?? ()
#3  0x0000000000584493 in ?? ()
#4  0x0000000000624726 in ?? ()
#5  0x00007f04c8112182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f04c7e3f30d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f04c8c507c0 (LWP 51609)):
#0  0x00007f04c8119ee9 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x000000000049d739 in ?? ()
#2  <signal handler called>
#3  0x00007f04c7d7af79 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007f04c7d7e388 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x000000000062ad29 in ?? ()
#6  0x000000000062af37 in ?? ()
#7  0x000000000062b086 in ?? ()
#8  0x00000000004761ec in ?? ()
#9  0x000000000047ee88 in ?? ()
#10 0x0000000000486790 in ?? ()
#11 0x0000000000472d6c in mono_main ()
#12 0x00007f04c7d65ec5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x0000000000420a69 in _start ()

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.