[Mono-bugs] [Bug 81781][Maj] New - SIGABRT while executing native code =>indicates a fatal error in mono runtime ...

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 30 15:58:51 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 newsun at rocketmail.com.

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

--- shadow/81781	2007-05-30 15:58:51.000000000 -0400
+++ shadow/81781.tmp.19885	2007-05-30 15:58:51.000000000 -0400
@@ -0,0 +1,343 @@
+Bug#: 81781
+Product: Mono: Runtime
+Version: 1.2
+OS: other
+OS Details: Ubuntu 7.04
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Major
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: newsun at rocketmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGABRT while executing native code =>indicates a fatal error in mono runtime ...
+
+OS: Ubuntu 7.04
+mono: 1.2.4
+
+dependencies: 
+
+
+
+History:
+--------
+Have been running .Net  assembly under mono 1.2.3 for 3 weeks with minor
+problems[memory leak related to threading].
+
+Upgraded to mono 1.2.4 to see if memory leak would disappear. 
+Downloaded universal installer from mono website 
+Installed Mono 1.2.4 okay
+Created test project, compiled and ran okay 
+
+Ran .Net assembly under Mono 1.2.4
+Application Started okay
+Application crashed when processing first service request  [never happend
+in 1.2.3]
+Repeated  crash several times 
+.Net assembly runs fine on Windows
+
+
+
+Stack Trace: 
+------------
+
+** (Whitehill.Services.Enterprise_7.exe:15198): WARNING **: unable to label
+tree 0x86a6af4
+ (switch (sub (ldind.i1 regvar[%esi]) iconst[1]))
+
+** ERROR **: file mini.c: line 10045 (mini_select_instructions): should not
+be reached
+abortinUpgraded to mono 1.2.4  using universal installer downloaded from
+mono's siteg...
+Stacktrace:
+
+  at
+Microsoft.VisualBasic.CompilerServices.OverloadResolution.CanPassToParameter
+(Microsoft.VisualBasic.CompilerServices.Symbols/Method,object,System.Reflection.ParameterInfo,bool,bool,System.Collections.Generic.List`1,bool&,bool&)
+<0xffffffff>
+  at
+Microsoft.VisualBasic.CompilerServices.OverloadResolution.CanPassToParameter
+(Microsoft.VisualBasic.CompilerServices.Symbols/Method,object,System.Reflection.ParameterInfo,bool,bool,System.Collections.Generic.List`1,bool&,bool&)
+<0x0013d>
+  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ResolveCall
+(Microsoft.VisualBasic.CompilerServices.Symbols/Container,string,System.Reflection.MemberInfo[],object[],string[],System.Type[],System.Reflection.BindingFlags,bool,Microsoft.VisualBasic.CompilerServices.OverloadResolution/ResolutionFailure&)
+<0x004c4>
+  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet
+(object,System.Type,string,object[],string[],System.Type[],bool,bool,Microsoft.VisualBasic.CallType)
+<0x0039d>
+  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSetComplex
+(object,System.Type,string,object[],string[],System.Type[],bool,bool) <0x00025>
+  at
+Whitehill.Services.Framework.Connectivity.Db.ServiceMessageProcessing.toggleState
+(string,System.Data.IDbCommand,System.Collections.IList,string,Whitehill.Common.Db.DatabaseProvider)
+<0x00370>
+  at
+Whitehill.Services.Framework.Connectivity.Db.ServiceMessageProcessing.GetServiceRequests
+(Whitehill.Services.Framework.Connectivity.Db.ServiceRequestStruct&) <0x00460>
+  at
+Whitehill.Services.Framework.Connectivity.Db.BasicDBListener.getMyMessages
+(object,System.Timers.ElapsedEventArgs) <0x0008a>
+  at (wrapper delegate-invoke)
+System.MulticastDelegate.invoke_void_object_ElapsedEventArgs
+(object,System.Timers.ElapsedEventArgs) <0xffffffff>
+  at System.Timers.Timer.Callback (object) <0x002b5>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object
+(object) <0xffffffff>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_object
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        mono [0x8163a5e]
+        [0xffffe440]
+        /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7d81641]
+        /usr/lib/libglib-2.0.so.0(g_logv+0x4ca) [0xb7f0f70a]
+        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7f0f749]
+        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7f0f7c6]
+        mono [0x814f4d6]
+        mono [0x814fd41]
+        mono [0x807a68a]
+        [0xb7c1f032]
+        [0xb660c03d]
+        [0xb660739e]
+        [0xb6626836]
+        [0xb6622ef9]
+        [0xb692e879]
+        [0xb692e0fb]
+        [0xb692dc0c]
+        [0xb692db3e]
+        [0xb692d866]
+        [0xb692d7c0]
+        mono(mono_runtime_invoke_array+0x19b) [0x80972ab]
+        mono [0x80975dd]
+        mono [0x80cc9b3]
+        mono [0x80ce08d]
+        mono [0x80cad90]
+        mono [0x8114422]
+        mono [0x812a0f5]
+        /lib/tls/i686/cmov/libpthread.so.0 [0xb7ec331b]
+        /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7e2557e]
+
+Debug info from gdb:
+
+Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
+[Thread debugging using libthread_db enabled]
+[New Thread -1210759456 (LWP 15198)]
+[New Thread -1234011248 (LWP 15209)]
+[New Thread -1232958576 (LWP 15208)]
+[New Thread -1231905904 (LWP 15205)]
+[New Thread -1230787696 (LWP 15204)]
+[New Thread -1229735024 (LWP 15203)]
+[New Thread -1228682352 (LWP 15202)]
+[New Thread -1227629680 (LWP 15201)]
+[New Thread -1220293744 (LWP 15200)]
+[New Thread -1214534768 (LWP 15199)]
+0xffffe410 in __kernel_vsyscall ()
+  10 Thread -1214534768 (LWP 15199)  0xffffe410 in __kernel_vsyscall ()
+  9 Thread -1220293744 (LWP 15200)  0xffffe410 in __kernel_vsyscall ()
+  8 Thread -1227629680 (LWP 15201)  0xffffe410 in __kernel_vsyscall ()
+  7 Thread -1228682352 (LWP 15202)  0xffffe410 in __kernel_vsyscall ()
+  6 Thread -1229735024 (LWP 15203)  0xffffe410 in __kernel_vsyscall ()
+  5 Thread -1230787696 (LWP 15204)  0xffffe410 in __kernel_vsyscall ()
+  4 Thread -1231905904 (LWP 15205)  0xffffe410 in __kernel_vsyscall ()
+  3 Thread -1232958576 (LWP 15208)  0xffffe410 in __kernel_vsyscall ()
+  2 Thread -1234011248 (LWP 15209)  0xffffe410 in __kernel_vsyscall ()
+  1 Thread -1210759456 (LWP 15198)  0xffffe410 in __kernel_vsyscall ()
+
+Thread 10 (Thread -1214534768 (LWP 15199)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7eca986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08100304 in collection_thread (unused=0x0) at collection.c:34
+#3  0xb7ec331b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#4  0xb7e2557e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 9 (Thread -1220293744 (LWP 15200)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ec75c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08102f7f in timedwait_signal_poll_cond (cond=0xb79261dc, 
+    mutex=0xb79261c4, timeout=0x0, alertable=0) at handles.c:1413
+#3  0x0810579f in _wapi_handle_timedwait_signal_handle (handle=0x404, 
+    timeout=0x0, alertable=0) at handles.c:1493
+#4  0x0810581c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
+    at handles.c:1453
+#5  0x0811560f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
+    alertable=0) at wait.c:200
+#6  0x080abeda in finalizer_thread (unused=0x0) at gc.c:835
+#7  0x080cad90 in start_wrapper (data=0x82484e0) at threads.c:309
+#8  0x08114422 in thread_start_routine (args=0xb77d2ff0) at threads.c:253
+#9  0x0812a0f5 in GC_start_routine (arg=0x22f40) at pthread_support.c:1362
+#10 0xb7ec331b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#11 0xb7e2557e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 8 (Thread -1227629680 (LWP 15201)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ec784c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08102f3a in timedwait_signal_poll_cond (cond=0xb7926464, 
+    mutex=0xb792644c, timeout=0xb6d3d180, alertable=1) at handles.c:1423
+#3  0x0810579f in _wapi_handle_timedwait_signal_handle (handle=0x40a, 
+    timeout=0xb6d3d180, alertable=1) at handles.c:1493
+#4  0x081154ca in WaitForSingleObjectEx (handle=0x40a, timeout=5000, 
+    alertable=1) at wait.c:202
+#5  0x080c8388 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
+    this=0xcff30, handle=0x40a, ms=5000, exitContext=0) at threads.c:1030
+#6  0xb6d9020a in ?? ()
+#7  0x000cff30 in ?? ()
+#8  0x0000040a in ?? ()
+#9  0x00001388 in ?? ()
+#10 0x00000000 in ?? ()
+
+Thread 7 (Thread -1228682352 (LWP 15202)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ec784c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08102f3a in timedwait_signal_poll_cond (cond=0xb7926614, 
+    mutex=0xb79265fc, timeout=0xb6c3c180, alertable=1) at handles.c:1423
+#3  0x0810579f in _wapi_handle_timedwait_signal_handle (handle=0x40e, 
+    timeout=0xb6c3c180, alertable=1) at handles.c:1493
+#4  0x081154ca in WaitForSingleObjectEx (handle=0x40e, timeout=10000, 
+    alertable=1) at wait.c:202
+#5  0x080c8388 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
+    this=0xcff00, handle=0x40e, ms=10000, exitContext=0) at threads.c:1030
+#6  0xb6d9020a in ?? ()
+#7  0x000cff00 in ?? ()
+#8  0x0000040e in ?? ()
+#9  0x00002710 in ?? ()
+#10 0x00000000 in ?? ()
+
+Thread 6 (Thread -1229735024 (LWP 15203)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ec784c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08102f3a in timedwait_signal_poll_cond (cond=0xb7926758, 
+    mutex=0xb7926740, timeout=0xb6b3b180, alertable=1) at handles.c:1423
+#3  0x0810579f in _wapi_handle_timedwait_signal_handle (handle=0x411, 
+    timeout=0xb6b3b180, alertable=1) at handles.c:1493
+#4  0x081154ca in WaitForSingleObjectEx (handle=0x411, timeout=3600000, 
+    alertable=1) at wait.c:202
+#5  0x080c8388 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
+    this=0xcfed0, handle=0x411, ms=3600000, exitContext=0) at threads.c:1030
+#6  0xb6d9020a in ?? ()
+#7  0x000cfed0 in ?? ()
+#8  0x00000411 in ?? ()
+#9  0x0036ee80 in ?? ()
+#10 0x00000000 in ?? ()
+
+Thread 5 (Thread -1230787696 (LWP 15204)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ec784c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08102f3a in timedwait_signal_poll_cond (cond=0xb7926908, 
+    mutex=0xb79268f0, timeout=0xb6a3a180, alertable=1) at handles.c:1423
+#3  0x0810579f in _wapi_handle_timedwait_signal_handle (handle=0x415, 
+    timeout=0xb6a3a180, alertable=1) at handles.c:1493
+#4  0x081154ca in WaitForSingleObjectEx (handle=0x415, timeout=1000, 
+    alertable=1) at wait.c:202
+#5  0x080c8388 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
+    this=0xcfeb8, handle=0x415, ms=1000, exitContext=0) at threads.c:1030
+#6  0xb6d9020a in ?? ()
+#7  0x000cfeb8 in ?? ()
+#8  0x00000415 in ?? ()
+#9  0x000003e8 in ?? ()
+#10 0x00000000 in ?? ()
+
+Thread 4 (Thread -1231905904 (LWP 15205)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ec784c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08102f3a in timedwait_signal_poll_cond (cond=0xb792602c, 
+    mutex=0xb7926014, timeout=0xb6929268, alertable=1) at handles.c:1423
+#3  0x0810579f in _wapi_handle_timedwait_signal_handle (handle=0x400, 
+    timeout=0xb6929268, alertable=1) at handles.c:1493
+#4  0x081154ca in WaitForSingleObjectEx (handle=0x400, timeout=10000, 
+    alertable=1) at wait.c:202
+#5  0x080ce0cf in async_invoke_thread (data=0x0) at threadpool.c:1224
+#6  0x080cad90 in start_wrapper (data=0x826fd88) at threads.c:309
+#7  0x08114422 in thread_start_routine (args=0xb77d3608) at threads.c:253
+#8  0x0812a0f5 in GC_start_routine (arg=0xb5fe0) at pthread_support.c:1362
+#9  0xb7ec331b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#10 0xb7e2557e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 3 (Thread -1232958576 (LWP 15208)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e1e3d1 in select () from /lib/tls/i686/cmov/libc.so.6
+#2  0xb7f324a0 in IA__g_spawn_sync (working_directory=0x0, argv=0x86ac200, 
+    envp=0x0, flags=G_SPAWN_SEARCH_PATH, child_setup=0, user_data=0x0, 
+    standard_output=0xb6826ec4, standard_error=0xb6826ec0, 
+    exit_status=0xb6826ebc, error=0x0) at gspawn.c:288
+#3  0xb7f3286c in IA__g_spawn_command_line_sync (
+    command_line=0xb6826ec8 "gdb --ex 'attach 15198' --ex 'info threads'
+--ex 'thread apply all bt' --batch", standard_output=0xb6826ec4, 
+    standard_error=0xb6826ec0, exit_status=0xb6826ebc, error=0x0)
+    at gspawn.c:656
+#4  0x08163af9 in mono_handle_native_sigsegv (signal=6, ctx=0xb682736c)
+    at mini-exceptions.c:1065
+#5  <signal handler called>
+#6  0xffffe410 in __kernel_vsyscall ()
+#7  0xb7d7fdf0 in raise () from /lib/tls/i686/cmov/libc.so.6
+#8  0xb7d81641 in abort () from /lib/tls/i686/cmov/libc.so.6
+#9  0xb7f0f70a in IA__g_logv (log_domain=<value optimized out>, 
+    log_level=G_LOG_LEVEL_ERROR, 
+    format=0xb7f3a570 "file %s: line %d (%s): should not be reached", 
+    args1=0xb6827c58 "&#65533;d\037\b='") at gmessages.c:497
+#10 0xb7f0f749 in IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, 
+    format=0xb7f3a570 "file %s: line %d (%s): should not be reached")
+    at gmessages.c:517
+#11 0xb7f0f7c6 in IA__g_assert_warning (log_domain=0x0, 
+    file=0x81f64d6 "mini.c", line=10045, 
+    pretty_function=0x81f05c6 "mini_select_instructions", expression=0x0)
+    at gmessages.c:552
+#12 0x0814f4d6 in mini_method_compile (method=0x862211c, opts=5335551, 
+    domain=0x21ed8, run_cctors=<value optimized out>, 
+    compile_aot=<value optimized out>, parts=0) at mini.c:10045
+#13 0x0814fd41 in mono_jit_compile_method (method=0x862211c) at mini.c:10784
+#14 0x0807a68a in mono_magic_trampoline (regs=0xb6827dcc, 
+    code=0xb660e68d "\203&#65533; \210E&#65533;\017&#65533;E&#65533;\205&#65533;t\b\017&#65533;E&#65533;\205&#65533;u\t\017&#65533;E&#65533;&#65533;<", 
+    m=0x862211c, tramp=0x0) at mini-trampolines.c:27
+#15 0xb7c1f032 in ?? ()
+#16 0xb6827dcc in ?? ()
+#17 0xb660e68d in ?? ()
+#18 0x0862211c in ?? ()
+#19 0x00000000 in ?? ()
+
+Thread 2 (Thread -1234011248 (LWP 15209)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ec784c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08102f3a in timedwait_signal_poll_cond (cond=0xb792602c, 
+    mutex=0xb7926014, timeout=0xb6727268, alertable=1) at handles.c:1423
+#3  0x0810579f in _wapi_handle_timedwait_signal_handle (handle=0x400, 
+    timeout=0xb6727268, alertable=1) at handles.c:1493
+#4  0x081154ca in WaitForSingleObjectEx (handle=0x400, timeout=10000, 
+    alertable=1) at wait.c:202
+#5  0x080ce0cf in async_invoke_thread (data=0x0) at threadpool.c:1224
+#6  0x080cad90 in start_wrapper (data=0x85bcd40) at threads.c:309
+#7  0x08114422 in thread_start_routine (args=0xb77d3878) at threads.c:253
+#8  0x0812a0f5 in GC_start_routine (arg=0xb5fc0) at pthread_support.c:1362
+#9  0xb7ec331b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#10 0xb7e2557e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 1 (Thread -1210759456 (LWP 15198)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7eca18b in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x081079ea in console_read (handle=0x0, buffer=0xb2560, numbytes=1024, 
+    bytesread=0xbfc46e58, overlapped=0x0) at io.c:1069
+#3  0x08108ced in ReadFile (handle=0x0, buffer=0xb2560, numbytes=1024, 
+    bytesread=0xbfc46e58, overlapped=0x0) at io.c:2177
+#4  0x080ce836 in ves_icall_System_IO_MonoIO_Read (handle=0x0, dest=0xb2550, 
+    dest_offset=0, count=730464, error=0xbfc46ec4) at file-io.c:789
+#5  0xb6fad4e3 in ?? ()
+#6  0x00000000 in ?? ()
+#0  0xffffe410 in __kernel_vsyscall ()
+
+
+=================================================================
+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.
+=================================================================


More information about the mono-bugs mailing list