[Mono-bugs] [Bug 82103][Blo] New - Building mono/mcs from SVN fails on AMD64

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 15 07:41:18 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by fog at initd.org.

http://bugzilla.ximian.com/show_bug.cgi?id=82103

--- shadow/82103	2007-07-15 07:41:18.000000000 -0400
+++ shadow/82103.tmp.601	2007-07-15 07:41:18.000000000 -0400
@@ -0,0 +1,158 @@
+Bug#: 82103
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: fog at initd.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Building mono/mcs from SVN fails on AMD64
+
+Building last mono (r81992) and mcs (82004) from SVN fails with the
+following error on the amd64 architecture:
+
+MONO_PATH="../../class/lib/basic:$MONO_PATH"
+/home/fog/Workspaces/external/mono/runtime/mono-wrapper 
+../../class/lib/basic/mcs.exe /codepage:65001   -d:NET_1_1 -d:ONLY_1_1
+-d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig -r:mscorlib.dll -r:System.dll
+-nowarn:0162,0618,0612,0642,1595 -target:library -out:System.Xml.dll
+System.Xml.XPath/Parser.cs Mono.Xml.Xsl/PatternParser.cs
+Mono.Xml.Xsl/PatternTokenizer.cs @System.Xml.dll.sources
+
+** ERROR **: file mini-amd64.c: line 5458 (mono_arch_build_imt_thunk):
+assertion failed: (amd64_is_imm32 (item->method))
+aborting...
+Stacktrace:
+
+  at Mono.CSharp.Driver.parse (Mono.CSharp.SourceFile) <0xffffffff>
+  at Mono.CSharp.Driver.parse (Mono.CSharp.SourceFile) <0x001ee>
+  at Mono.CSharp.Driver.ProcessFiles () <0x0007c>
+  at Mono.CSharp.Driver.MainDriver (string[]) <0x00449>
+  at Mono.CSharp.Driver.Main (string[]) <0x00079>
+  at (wrapper runtime-invoke)
+Mono.CSharp.Driver.runtime_invoke_int_string[]
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x523521]
+        /lib/libpthread.so.0 [0x2b28ab8ad0e0]
+        /lib/libc.so.6(gsignal+0x35) [0x2b28abd6d1b5]
+        /lib/libc.so.6(abort+0x110) [0x2b28abd6ec70]
+        /usr/lib/libglib-2.0.so.0(g_logv+0x395) [0x2b28ab430845]
+        /usr/lib/libglib-2.0.so.0(g_log+0x83) [0x2b28ab4308d3]
+        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0x2b28ab430956]
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x42d1f0]
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x454adc]
+       
+/home/fog/Workspaces/external/mono/mono/mini/mono(mono_class_vtable+0x683)
+[0x455213]
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x4f66f6]
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x50489d]
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x50f224]
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x510a29]
+        /home/fog/Workspaces/external/mono/mono/mini/mono [0x43e3ce]
+        [0x40000139]
+
+Debug info from gdb:
+
+Using host libthread_db library "/lib/libthread_db.so.1".
+[Thread debugging using libthread_db enabled]
+[New Thread 47453684966272 (LWP 7106)]
+[New Thread 1075988816 (LWP 7198)]
+[New Thread 1073822032 (LWP 7197)]
+0x00002b28abe077b2 in select () from /lib/libc.so.6
+  3 Thread 1073822032 (LWP 7197)  0x00002b28ab8ac791 in ?? ()
+   from /lib/libpthread.so.0
+  2 Thread 1075988816 (LWP 7198)  0x00002b28ab8a9756 in
+pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
+  1 Thread 47453684966272 (LWP 7106)  0x00002b28abe077b2 in select ()
+   from /lib/libc.so.6
+
+Thread 3 (Thread 1073822032 (LWP 7197)):
+#0  0x00002b28ab8ac791 in ?? () from /lib/libpthread.so.0
+#1  0x00000000004cf6f0 in collection_thread (unused=<value optimized out>)
+    at collection.c:34
+#2  0x00002b28ab8a5225 in start_thread () from /lib/libpthread.so.0
+#3  0x00002b28abe0e33d in clone () from /lib/libc.so.6
+
+Thread 2 (Thread 1075988816 (LWP 7198)):
+#0  0x00002b28ab8a9756 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib/libpthread.so.0
+#1  0x00000000004d7a05 in timedwait_signal_poll_cond (cond=0x2aaaab62b268, 
+    mutex=0x2aaaab62b240, timeout=0x3, alertable=-1) at handles.c:1413
+#2  0x00000000004d9dad in _wapi_handle_timedwait_signal_handle (
+    handle=<value optimized out>, timeout=0x0, alertable=-1419595200)
+    at handles.c:1493
+#3  0x00000000004d38cb in WaitForSingleObjectEx (handle=0x404, 
+    timeout=4294967295, alertable=0) at wait.c:200
+#4  0x00000000004c71d1 in finalizer_thread (unused=<value optimized out>)
+    at gc.c:835
+#5  0x0000000000479893 in start_wrapper (data=<value optimized out>)
+    at threads.c:319
+#6  0x00000000004d0cb7 in thread_start_routine (args=0x2aaaab6923f0)
+    at threads.c:253
+#7  0x00000000004e7542 in GC_start_routine (arg=<value optimized out>)
+    at pthread_support.c:1362
+#8  0x00002b28ab8a5225 in start_thread () from /lib/libpthread.so.0
+#9  0x00002b28abe0e33d in clone () from /lib/libc.so.6
+
+Thread 1 (Thread 47453684966272 (LWP 7106)):
+#0  0x00002b28abe077b2 in select () from /lib/libc.so.6
+#1  0x00002b28ab45168f in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
+#2  0x00002b28ab451a58 in g_spawn_command_line_sync ()
+   from /usr/lib/libglib-2.0.so.0
+#3  0x00000000005235b8 in mono_handle_native_sigsegv (
+    signal=<value optimized out>, ctx=<value optimized out>)
+    at mini-exceptions.c:1081
+#4  <signal handler called>
+#5  0x00002b28abd6d1b5 in raise () from /lib/libc.so.6
+#6  0x00002b28abd6ec70 in abort () from /lib/libc.so.6
+#7  0x00002b28ab430845 in g_logv () from /usr/lib/libglib-2.0.so.0
+#8  0x00002b28ab4308d3 in g_log () from /usr/lib/libglib-2.0.so.0
+#9  0x00002b28ab430956 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
+#10 0x000000000042d1f0 in mono_arch_build_imt_thunk (vtable=0x2aaaac0051e0, 
+    domain=<value optimized out>, imt_entries=0x2aaaac00c000, count=2)
+    at mini-amd64.c:5458
+#11 0x0000000000454adc in build_imt (klass=0x8d32a8, vt=0x2aaaac0051e0, 
+    domain=0x2aaaaaacce00, imt=0x2aaaac005148, extra_interfaces=0x0)
+    at object.c:1119
+#12 0x0000000000455213 in mono_class_vtable (domain=0x2aaaaaacce00, 
+    class=0x8d32a8) at object.c:1453
+#13 0x00000000004f66f6 in handle_alloc (cfg=0x2aaaac007010, 
+    bblock=0x2aaaac003ae8, klass=0x8d32a8, for_box=0, ip=0x2aaaaaaf5b54 "s8")
+    at mini.c:2891
+#14 0x000000000050489d in mono_method_to_ir (cfg=0x2aaaac007010, 
+    method=0x9a8b38, start_bblock=0x2aaaac003260, end_bblock=0x2aaaac003368, 
+    locals_offset=1, return_var=0x0, dont_inline=0x0, inline_args=0x0, 
+    inline_offset=0, is_virtual_call=0) at mini.c:5619
+#15 0x000000000050f224 in mini_method_compile (method=0x9a8b38, 
+    opts=<value optimized out>, domain=0x2aaaaaacce00, 
+    run_cctors=<value optimized out>, compile_aot=<value optimized out>, 
+    parts=0) at mini.c:10356
+#16 0x0000000000510a29 in mono_jit_compile_method (method=0x9a8b38)
+    at mini.c:10727
+#17 0x000000000043e3ce in mono_magic_trampoline (regs=0x7fffffcda5f8, 
+    code=0x1bc2 <Address 0x1bc2 out of bounds>, m=0x6, 
+    tramp=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>)
+    at mini-trampolines.c:71
+#18 0x0000000040000139 in ?? ()
+#19 0x0000000000000000 in ?? ()
+#0  0x00002b28abe077b2 in select () from /lib/libc.so.6
+
+
+=================================================================
+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.
+=================================================================
+
+make[8]: *** [../../class/lib/basic/System.Xml.dll] Abortito


More information about the mono-bugs mailing list