[Mono-bugs] [Bug 587306] New: SIGABRT when running mono --aot=static
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Mar 10 23:18:53 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=587306
http://bugzilla.novell.com/show_bug.cgi?id=587306#c0
Summary: SIGABRT when running mono --aot=static
Classification: Mono
Product: Mono: Compilers
Version: 2.4.x
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: brett_senior at yahoo.com.au
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8)
Gecko/20100225 Iceweasel/3.5.8 (like Firefox/3.5.8)
When I run the following command:
mono --aot=static MP3_Validator.exe
instead of ending up with an object file I get a SIGABRT. The details of this
are as follows:
Mono Ahead of Time compiler - compiling assembly
/home/brett/Programs/Mono/C#/MP3_Validator/MP3_Validator/bin/Release/MP3_Validator.exe
reloc: got at 24
reloc: name_0 at 32
reloc: methods at 40
reloc: name_1 at 48
reloc: methods_end at 56
reloc: name_2 at 64
reloc: method_offsets at 72
reloc: name_3 at 80
reloc: method_info at 88
reloc: name_4 at 96
reloc: method_info_offsets at 104
reloc: name_5 at 112
reloc: extra_method_info at 120
reloc: name_6 at 128
reloc: extra_method_table at 136
reloc: name_7 at 144
reloc: extra_method_info_offsets at 152
reloc: name_8 at 160
reloc: method_order at 168
reloc: name_9 at 176
reloc: method_order_end at 184
reloc: name_10 at 192
reloc: class_name_table at 200
reloc: name_11 at 208
reloc: got_info at 216
reloc: name_12 at 224
reloc: got_info_offsets at 232
reloc: name_13 at 240
reloc: ex_info at 248
reloc: name_14 at 256
reloc: ex_info_offsets at 264
reloc: name_15 at 272
reloc: class_info at 280
reloc: name_16 at 288
reloc: class_info_offsets at 296
reloc: name_17 at 304
reloc: plt at 312
reloc: name_18 at 320
reloc: plt_end at 328
reloc: name_19 at 336
reloc: mono_image_table at 344
reloc: name_20 at 352
reloc: mono_aot_file_info at 360
reloc: name_21 at 368
reloc: mono_assembly_guid at 376
reloc: name_22 at 384
reloc: mono_aot_version at 392
reloc: name_23 at 400
reloc: mono_aot_opt_flags at 408
reloc: name_24 at 416
reloc: mono_aot_full_aot at 424
reloc: name_25 at 432
reloc: mono_runtime_version at 440
reloc: name_26 at 448
reloc: mono_aot_assembly_name at 456
**
ERROR:aot-compiler.c:456:bin_writer_emit_pointer_unaligned: code should not be
reached
Stacktrace:
Native stacktrace:
mono [0x47b87f]
/lib/libpthread.so.0 [0x7fa73f997990]
/lib/libc.so.6(gsignal+0x35) [0x7fa73f3e4f45]
/lib/libc.so.6(abort+0x180) [0x7fa73f3e7d80]
/lib/libglib-2.0.so.0(g_assertion_message+0xfc) [0x7fa740010e9c]
mono [0x4679a4]
mono [0x46b756]
mono [0x4720f0]
mono(mono_main+0x66f) [0x46285f]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7fa73f3d1abd]
mono [0x416d19]
Debug info from gdb:
[Thread debugging using libthread_db enabled]
[New Thread 0x7fa73e2df910 (LWP 7414)]
[New Thread 0x7fa740683910 (LWP 7413)]
0x00007fa73f99690b in read () from /lib/libpthread.so.0
3 Thread 0x7fa740683910 (LWP 7413) 0x00007fa73f997131 in nanosleep ()
from /lib/libpthread.so.0
2 Thread 0x7fa73e2df910 (LWP 7414) 0x00007fa73f995c61 in sem_wait ()
from /lib/libpthread.so.0
* 1 Thread 0x7fa74067a730 (LWP 7412) 0x00007fa73f99690b in read ()
from /lib/libpthread.so.0
Thread 3 (Thread 0x7fa740683910 (LWP 7413)):
#0 0x00007fa73f997131 in nanosleep () from /lib/libpthread.so.0
#1 0x0000000000554352 in ?? ()
#2 0x00007fa73f98f73a in start_thread () from /lib/libpthread.so.0
#3 0x00007fa73f47e69d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fa73e2df910 (LWP 7414)):
#0 0x00007fa73f995c61 in sem_wait () from /lib/libpthread.so.0
#1 0x00000000004e35ca in ?? ()
#2 0x0000000000503955 in ?? ()
#3 0x000000000056de03 in ?? ()
#4 0x000000000058b681 in ?? ()
#5 0x00007fa73f98f73a in start_thread () from /lib/libpthread.so.0
#6 0x00007fa73f47e69d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7fa74067a730 (LWP 7412)):
#0 0x00007fa73f99690b in read () from /lib/libpthread.so.0
#1 0x000000000047b9e4 in ?? ()
#2 <signal handler called>
#3 0x00007fa73f3e4f45 in raise () from /lib/libc.so.6
#4 0x00007fa73f3e7d80 in abort () from /lib/libc.so.6
#5 0x00007fa740010e9c in g_assertion_message () from /lib/libglib-2.0.so.0
#6 0x00000000004679a4 in ?? ()
#7 0x000000000046b756 in ?? ()
#8 0x00000000004720f0 in ?? ()
#9 0x000000000046285f in mono_main ()
#10 0x00007fa73f3d1abd in __libc_start_main () from /lib/libc.so.6
#11 0x0000000000416d19 in ?? ()
#12 0x00007fff32adf828 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000003 in ?? ()
#15 0x00007fff32ae0627 in ?? ()
#16 0x00007fff32ae062c in ?? ()
#17 0x00007fff32ae0639 in ?? ()
#18 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
Reproducible: Always
Steps to Reproduce:
1. Create a .exe file
2. mono --aot=static <exe-file>
Actual Results:
Mono Ahead of Time compiler - compiling assembly
/home/brett/Programs/Mono/C#/MP3_Validator/MP3_Validator/bin/Release/MP3_Validator.exe
reloc: got at 24
reloc: name_0 at 32
reloc: methods at 40
reloc: name_1 at 48
reloc: methods_end at 56
reloc: name_2 at 64
reloc: method_offsets at 72
reloc: name_3 at 80
reloc: method_info at 88
reloc: name_4 at 96
reloc: method_info_offsets at 104
reloc: name_5 at 112
reloc: extra_method_info at 120
reloc: name_6 at 128
reloc: extra_method_table at 136
reloc: name_7 at 144
reloc: extra_method_info_offsets at 152
reloc: name_8 at 160
reloc: method_order at 168
reloc: name_9 at 176
reloc: method_order_end at 184
reloc: name_10 at 192
reloc: class_name_table at 200
reloc: name_11 at 208
reloc: got_info at 216
reloc: name_12 at 224
reloc: got_info_offsets at 232
reloc: name_13 at 240
reloc: ex_info at 248
reloc: name_14 at 256
reloc: ex_info_offsets at 264
reloc: name_15 at 272
reloc: class_info at 280
reloc: name_16 at 288
reloc: class_info_offsets at 296
reloc: name_17 at 304
reloc: plt at 312
reloc: name_18 at 320
reloc: plt_end at 328
reloc: name_19 at 336
reloc: mono_image_table at 344
reloc: name_20 at 352
reloc: mono_aot_file_info at 360
reloc: name_21 at 368
reloc: mono_assembly_guid at 376
reloc: name_22 at 384
reloc: mono_aot_version at 392
reloc: name_23 at 400
reloc: mono_aot_opt_flags at 408
reloc: name_24 at 416
reloc: mono_aot_full_aot at 424
reloc: name_25 at 432
reloc: mono_runtime_version at 440
reloc: name_26 at 448
reloc: mono_aot_assembly_name at 456
**
ERROR:aot-compiler.c:456:bin_writer_emit_pointer_unaligned: code should not be
reached
Stacktrace:
Native stacktrace:
mono [0x47b87f]
/lib/libpthread.so.0 [0x7fa73f997990]
/lib/libc.so.6(gsignal+0x35) [0x7fa73f3e4f45]
/lib/libc.so.6(abort+0x180) [0x7fa73f3e7d80]
/lib/libglib-2.0.so.0(g_assertion_message+0xfc) [0x7fa740010e9c]
mono [0x4679a4]
mono [0x46b756]
mono [0x4720f0]
mono(mono_main+0x66f) [0x46285f]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7fa73f3d1abd]
mono [0x416d19]
Debug info from gdb:
[Thread debugging using libthread_db enabled]
[New Thread 0x7fa73e2df910 (LWP 7414)]
[New Thread 0x7fa740683910 (LWP 7413)]
0x00007fa73f99690b in read () from /lib/libpthread.so.0
3 Thread 0x7fa740683910 (LWP 7413) 0x00007fa73f997131 in nanosleep ()
from /lib/libpthread.so.0
2 Thread 0x7fa73e2df910 (LWP 7414) 0x00007fa73f995c61 in sem_wait ()
from /lib/libpthread.so.0
* 1 Thread 0x7fa74067a730 (LWP 7412) 0x00007fa73f99690b in read ()
from /lib/libpthread.so.0
Thread 3 (Thread 0x7fa740683910 (LWP 7413)):
#0 0x00007fa73f997131 in nanosleep () from /lib/libpthread.so.0
#1 0x0000000000554352 in ?? ()
#2 0x00007fa73f98f73a in start_thread () from /lib/libpthread.so.0
#3 0x00007fa73f47e69d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fa73e2df910 (LWP 7414)):
#0 0x00007fa73f995c61 in sem_wait () from /lib/libpthread.so.0
#1 0x00000000004e35ca in ?? ()
#2 0x0000000000503955 in ?? ()
#3 0x000000000056de03 in ?? ()
#4 0x000000000058b681 in ?? ()
#5 0x00007fa73f98f73a in start_thread () from /lib/libpthread.so.0
#6 0x00007fa73f47e69d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7fa74067a730 (LWP 7412)):
#0 0x00007fa73f99690b in read () from /lib/libpthread.so.0
#1 0x000000000047b9e4 in ?? ()
#2 <signal handler called>
#3 0x00007fa73f3e4f45 in raise () from /lib/libc.so.6
#4 0x00007fa73f3e7d80 in abort () from /lib/libc.so.6
#5 0x00007fa740010e9c in g_assertion_message () from /lib/libglib-2.0.so.0
#6 0x00000000004679a4 in ?? ()
#7 0x000000000046b756 in ?? ()
#8 0x00000000004720f0 in ?? ()
#9 0x000000000046285f in mono_main ()
#10 0x00007fa73f3d1abd in __libc_start_main () from /lib/libc.so.6
#11 0x0000000000416d19 in ?? ()
#12 0x00007fff32adf828 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000003 in ?? ()
#15 0x00007fff32ae0627 in ?? ()
#16 0x00007fff32ae062c in ?? ()
#17 0x00007fff32ae0639 in ?? ()
#18 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
Expected Results:
The creation of an object file
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list