[Mono-osx] AOT error on the new 2.10.1 build

jcannonb jcannonb at gmail.com
Sat Feb 26 21:51:42 EST 2011


Greetings to all.

I am using the new 2.10.1 build on OS X, Snow Leopard with all updates, and
trying to AOT a binary of mine, I get the following:

jcannonb-mbp13:Release jcannonb$ mono --aot -O=all <my_exe>.exe 
Mono Ahead of Time compiler - compiling assembly
/Users/jcannonb/Projects/<my_project>/<my_exe>.exe 
* Assertion at mini-x86.c:2981, condition `ins->dreg == MONO_ARCH_GOT_REG'
not met

Stacktrace:


Native stacktrace:

	0   mono                                0x000b7009 0x0 + 749577
	1   libSystem.B.dylib                   0x90ee746b _sigtramp + 43
	2   ???                                 0xffffffff 0x0 + 4294967295
	3   libSystem.B.dylib                   0x90f7489d raise + 26
	4   libSystem.B.dylib                   0x90f8a9bc abort + 93
	5   mono                                0x0024ee62 0x0 + 2420322
	6   mono                                0x0024eec4 0x0 + 2420420
	7   mono                                0x00105373 0x0 + 1069939
	8   mono                                0x00008eb9 0x0 + 36537
	9   mono                                0x0000ed80 0x0 + 60800
	10  mono                                0x00094638 0x0 + 607800
	11  mono                                0x0009565e 0x0 + 611934
	12  mono                                0x0009ed3f 0x0 + 650559
	13  mono                                0x000884ef 0x0 + 558319
	14  mono                                0x00003ca6 0x0 + 15526

Debug info from gdb:

/tmp/mono-gdb-commands.nzm2ZY:1: Error in sourced command file:
unable to debug self

=================================================================
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.
=================================================================

Abort trap
jcannonb-mbp13:Release jcannonb$ mono --aot -O=all jcache-server.exe 
Mono Ahead of Time compiler - compiling assembly
/Users/jcannonb/Projects/jcache-server/testwebmt2/bin/Release/jcache-server.exe
* Assertion at mini-x86.c:2981, condition `ins->dreg == MONO_ARCH_GOT_REG'
not met

Stacktrace:


Native stacktrace:

	0   mono                                0x000b7009 0x0 + 749577
	1   libSystem.B.dylib                   0x90ee746b _sigtramp + 43
	2   ???                                 0xffffffff 0x0 + 4294967295
	3   libSystem.B.dylib                   0x90f7489d raise + 26
	4   libSystem.B.dylib                   0x90f8a9bc abort + 93
	5   mono                                0x0024ee62 0x0 + 2420322
	6   mono                                0x0024eec4 0x0 + 2420420
	7   mono                                0x00105373 0x0 + 1069939
	8   mono                                0x00008eb9 0x0 + 36537
	9   mono                                0x0000ed80 0x0 + 60800
	10  mono                                0x00094638 0x0 + 607800
	11  mono                                0x0009565e 0x0 + 611934
	12  mono                                0x0009ed3f 0x0 + 650559
	13  mono                                0x000884ef 0x0 + 558319
	14  mono                                0x00003ca6 0x0 + 15526

Debug info from gdb:

/tmp/mono-gdb-commands.DXiXhm:1: Error in sourced command file:
unable to debug self

=================================================================
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.
=================================================================

Hope this helps

Abort trap
jcannonb-mbp13:Release jcannonb$ 


-- 
View this message in context: http://mono.1490590.n4.nabble.com/AOT-error-on-the-new-2-10-1-build-tp3326515p3326515.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list