[Mono-bugs] [Bug 82083][Maj] New - a mysterious crash

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 12 09:05:49 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 dna at informatik.uni-kiel.de.

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

--- shadow/82083	2007-07-12 09:05:49.000000000 -0400
+++ shadow/82083.tmp.31356	2007-07-12 09:05:49.000000000 -0400
@@ -0,0 +1,357 @@
+Bug#: 82083
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: Ubuntu feisty
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: dna at informatik.uni-kiel.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: a mysterious crash
+
+Mono r81859.
+Tested with IMT enabled and disabled.
+
+On the first request after changing the Web.config xsp2 crashes:
+
+[mono] ~/SailEventScheduler @ xsp2
+xsp2
+Listening on port: 8080 (non-secure)
+Listening on address: 0.0.0.0
+Root directory: /home/dna/SailEventScheduler
+Hit Return to stop the server.
+
+** (/home/dna/mono-dev/lib/mono/2.0/xsp2.exe:15666): WARNING **: implement
+me 0xee
+
+
+** ERROR **: file class.c: line 3429 (mono_class_from_mono_type): should
+not be reached
+aborting...
+Stacktrace:
+
+  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom
+(string,bool) <0x00004>
+  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom
+(string,bool) <0xffffffff>
+  at System.Reflection.Assembly.LoadFrom (string) <0x0000c>
+  at System.Web.Configuration.ProvidersHelper.InstantiateProvider
+(System.Configuration.ProviderSettings,System.Type) <0x0009a>
+  at System.Web.Configuration.ProvidersHelper.InstantiateProviders
+(System.Configuration.ProviderSettingsCollection,System.Configuration.Provider.ProviderCollection,System.Type)
+<0x00079>
+  at System.Web.Security.Membership..cctor () <0x0006b>
+  at (wrapper runtime-invoke) System.Web.HttpUtility.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+  at SailEventScheduler.BusinessLayer.EventManager.GetEvents
+(System.Collections.Generic.List`1,System.Collections.Generic.List`1,System.Collections.Generic.List`1,System.DateTime,System.DateTime,int,int)
+<0xffffffff>
+  at SailEventScheduler.BusinessLayer.EventManager.GetEvents
+(System.Collections.Generic.List`1,System.Collections.Generic.List`1,System.Collections.Generic.List`1,System.DateTime,System.DateTime,int,int)
+<0x00035>
+  at SailEventScheduler.Web.EventObjectDataSource.GetEvents
+(System.Collections.Generic.List`1,System.Collections.Generic.List`1,System.Collections.Generic.List`1,System.DateTime,System.DateTime,int,int)
+<0x0005e>
+  at
+SailEventScheduler.Web.SailEventSchedulerMasterPage.CreateUpcomingEventsList
+() <0x00107>
+  at SailEventScheduler.Web.SailEventSchedulerMasterPage.Page_Init
+(object,System.EventArgs) <0x0024c>
+  at System.Web.UI.Control.OnInit (System.EventArgs) <0x0010d>
+  at System.Web.UI.UserControl.OnInit (System.EventArgs) <0x00032>
+  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control) <0x0024a>
+  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control) <0x001ef>
+  at System.Web.UI.Page.InternalProcessRequest () <0x001b9>
+  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext) <0x000b7>
+  at <>c__CompilerGenerated2.MoveNext () <0x01d63>
+  at System.Web.HttpApplication.Tick () <0x0002c>
+  at System.Web.HttpApplication.Start (object) <0x000fb>
+  at
+System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest
+(System.Web.HttpContext,System.AsyncCallback,object) <0x00073>
+  at System.Web.HttpRuntime.RealProcessRequest (object) <0x00229>
+  at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest)
+<0x0002a>
+  at Mono.WebServer.MonoWorkerRequest.ProcessRequest () <0x0007e>
+  at Mono.WebServer.BaseApplicationHost.ProcessRequest
+(Mono.WebServer.MonoWorkerRequest) <0x00054>
+  at Mono.WebServer.XSPApplicationHost.ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0x0039e>
+  at (wrapper remoting-invoke-with-check)
+Mono.WebServer.XSPApplicationHost.ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0xffffffff>
+  at (wrapper xdomain-dispatch)
+Mono.WebServer.XSPApplicationHost.ProcessRequest
+(object,byte[]&,byte[]&,int,long,int,long,int,string,string,string,string,byte[],string)
+<0xffffffff>
+  at (wrapper xdomain-invoke)
+Mono.WebServer.XSPApplicationHost.ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0xffffffff>
+  at (wrapper remoting-invoke-with-check)
+Mono.WebServer.XSPApplicationHost.ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0xffffffff>
+  at Mono.WebServer.XSPWorker.RunInternal (object) <0x00603>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object
+(object) <0xffffffff>
+  at (wrapper runtime-invoke)
+System.Threading.WaitCallback.runtime_invoke_void_object
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        /home/dna/mono-dev/bin/mono [0x81696de]
+        [0xffffe440]
+        /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7dd7641]
+        /usr/lib/libglib-2.0.so.0(g_logv+0x4ca) [0xb7f6570a]
+        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7f65749]
+        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7f657c6]
+        /home/dna/mono-dev/bin/mono(mono_class_from_mono_type+0x71) [0x80fd8b1]
+        /home/dna/mono-dev/bin/mono [0x80f2bb8]
+        /usr/lib/libglib-2.0.so.0 [0xb7f4ff4a]
+        /home/dna/mono-dev/bin/mono [0x80f3aa8]
+        /home/dna/mono-dev/bin/mono(mono_image_close+0x5b) [0x80ed02b]
+        /home/dna/mono-dev/bin/mono(mono_assembly_open_full+0x275) [0x80e7945]
+        /home/dna/mono-dev/bin/mono [0x80d8eef]
+        [0xb651a5b4]
+        [0xb651a56d]
+        [0xb61851f3]
+        [0xb56bab02]
+        [0xb56ba674]
+        [0xb693d6fe]
+        /home/dna/mono-dev/bin/mono(mono_runtime_class_init+0x1d5) [0x8099885]
+        /home/dna/mono-dev/bin/mono [0x8156d85]
+        /home/dna/mono-dev/bin/mono [0x807e04a]
+        [0xb7c78032]
+        [0xb56ba257]
+        [0xb56b8778]
+        [0xb5d9f715]
+        [0xb59d117e]
+        [0xb59d3753]
+        [0xb59d0de3]
+        [0xb59d0d88]
+        [0xb6019002]
+        [0xb6015938]
+        [0xb618a7dc]
+        [0xb61888dd]
+        [0xb6181e1c]
+        [0xb6181c74]
+        [0xb692bb52]
+        [0xb692ab8b]
+        [0xb692a847]
+        [0xb692a3e5]
+        [0xb696bb37]
+        [0xb696aebd]
+        [0xb696a81b]
+        [0xb69578db]
+        [0xb69576be]
+        [0xb6dea90c]
+        [0xb6dea2d7]
+        [0xb6dea23e]
+        /home/dna/mono-dev/bin/mono(mono_runtime_invoke_array+0x1a7)
+[0x809c387]
+        /home/dna/mono-dev/bin/mono [0x809c6fd]
+        /home/dna/mono-dev/bin/mono [0x80d1ef3]
+        /home/dna/mono-dev/bin/mono [0x80d35cd]
+        /home/dna/mono-dev/bin/mono [0x80d02b4]
+        /home/dna/mono-dev/bin/mono [0x811ab72]
+        /home/dna/mono-dev/bin/mono [0x8131225]
+        /lib/tls/i686/cmov/libpthread.so.0 [0xb7f1931b]
+        /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7e7b57e]
+
+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 -1210407200 (LWP 15666)]
+[New Thread -1230042224 (LWP 15859)]
+[New Thread -1242907760 (LWP 15858)]
+[New Thread -1231946864 (LWP 15847)]
+[New Thread -1252316272 (LWP 15846)]
+[New Thread -1250145392 (LWP 15825)]
+[New Thread -1225819248 (LWP 15670)]
+[New Thread -1220064368 (LWP 15668)]
+[New Thread -1220047984 (LWP 15667)]
+0xffffe410 in __kernel_vsyscall ()
+  9 Thread -1220047984 (LWP 15667)  0xffffe410 in __kernel_vsyscall ()
+  8 Thread -1220064368 (LWP 15668)  0xffffe410 in __kernel_vsyscall ()
+  7 Thread -1225819248 (LWP 15670)  0xffffe410 in __kernel_vsyscall ()
+  6 Thread -1250145392 (LWP 15825)  0xffffe410 in __kernel_vsyscall ()
+  5 Thread -1252316272 (LWP 15846)  0xffffe410 in __kernel_vsyscall ()
+  4 Thread -1231946864 (LWP 15847)  0xffffe410 in __kernel_vsyscall ()
+  3 Thread -1242907760 (LWP 15858)  0xffffe410 in __kernel_vsyscall ()
+  2 Thread -1230042224 (LWP 15859)  0xffffe410 in __kernel_vsyscall ()
+  1 Thread -1210407200 (LWP 15666)  0xffffe410 in __kernel_vsyscall ()
+
+Thread 9 (Thread -1220047984 (LWP 15667)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7f20986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08105e14 in collection_thread (unused=0x0) at collection.c:34
+#3  0xb7f1931b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#4  0xb7e7b57e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 8 (Thread -1220064368 (LWP 15668)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7f1d5c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0810970f in timedwait_signal_wait_cond (cond=0xb79521dc, 
+    mutex=0xb79521c4, timeout=0x0, alertable=0, waiting_on=0x404)
+    at handles.c:1424
+#3  0x0810b49c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
+    at handles.c:1486
+#4  0x0811bd5f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
+    alertable=0) at wait.c:200
+#5  0x080b11ba in finalizer_thread (unused=0x0) at gc.c:835
+#6  0x080d02b4 in start_wrapper (data=0x825b208) at threads.c:319
+#7  0x0811ab72 in thread_start_routine (args=0xb7801348) at threads.c:253
+#8  0x08131225 in GC_start_routine (arg=0x22f40) at pthread_support.c:1362
+#9  0xb7f1931b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#10 0xb7e7b57e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 7 (Thread -1225819248 (LWP 15670)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e7bbe6 in epoll_wait () from /lib/tls/i686/cmov/libc.so.6
+#2  0x080d1c1c in socket_io_epoll_main (p=0x82042a0) at threadpool.c:554
+#3  0x080d02b4 in start_wrapper (data=0x84348e0) at threads.c:319
+#4  0x0811ab72 in thread_start_routine (args=0xb78015b8) at threads.c:253
+#5  0x08131225 in GC_start_routine (arg=0x22d80) at pthread_support.c:1362
+#6  0xb7f1931b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#7  0xb7e7b57e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 6 (Thread -1250145392 (LWP 15825)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e743d1 in select () from /lib/tls/i686/cmov/libc.so.6
+#2  0xb7f884a0 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
+#3  0xb7f8886c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
+#4  0x08169779 in mono_handle_native_sigsegv (signal=6, ctx=0xb57c273c)
+    at mini-exceptions.c:1081
+#5  <signal handler called>
+#6  0xffffe410 in __kernel_vsyscall ()
+#7  0xb7dd5df0 in raise () from /lib/tls/i686/cmov/libc.so.6
+#8  0xb7dd7641 in abort () from /lib/tls/i686/cmov/libc.so.6
+#9  0xb7f6570a in g_logv () from /usr/lib/libglib-2.0.so.0
+#10 0xb7f65749 in g_log () from /usr/lib/libglib-2.0.so.0
+#11 0xb7f657c6 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
+#12 0x080fd8b1 in mono_class_from_mono_type (type=0x89851ac) at class.c:3429
+#13 0x080f2bb8 in ginst_in_image (key=0x89a6558, value=0x89a6558, data=0x0)
+    at metadata.c:1924
+#14 0xb7f4ff4a in ?? () from /usr/lib/libglib-2.0.so.0
+#15 0x089a6558 in ?? ()
+#16 0x089a6558 in ?? ()
+#17 0x08b3a7d0 in ?? ()
+#18 0x08b3a7d0 in ?? ()
+#19 0x082932e0 in ?? ()
+#20 0x08b3a7d0 in ?? ()
+#21 0x08b3a7d0 in ?? ()
+#22 0x080f2b90 in ?? () at metadata.c:4731
+#23 0x0821aa80 in ?? ()
+#24 0x0000004e in ?? ()
+#25 0x00000000 in ?? ()
+
+Thread 5 (Thread -1252316272 (LWP 15846)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7f1d84c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x081096cf in timedwait_signal_wait_cond (cond=0xb79524d0, 
+    mutex=0xb79524b8, timeout=0xb55b2258, alertable=1, waiting_on=0x40b)
+    at handles.c:1422
+#3  0x0811bc1a in WaitForSingleObjectEx (handle=0x40b, timeout=10000, 
+    alertable=1) at wait.c:202
+#4  0x080d34b2 in async_invoke_io_thread (data=0x0) at threadpool.c:285
+#5  0x080d02b4 in start_wrapper (data=0x8b82108) at threads.c:319
+#6  0x0811ab72 in thread_start_routine (args=0xb7804198) at threads.c:253
+#7  0x08131225 in GC_start_routine (arg=0xcc2fe0) at pthread_support.c:1362
+#8  0xb7f1931b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#9  0xb7e7b57e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 4 (Thread -1231946864 (LWP 15847)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7f1d84c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x081096cf in timedwait_signal_wait_cond (cond=0xb7955dc4, 
+    mutex=0xb7955dac, timeout=0xb691f184, alertable=1, waiting_on=0x492)
+    at handles.c:1422
+#3  0x0811bc1a in WaitForSingleObjectEx (handle=0x492, timeout=15000, 
+    alertable=1) at wait.c:202
+#4  0x080cd888 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
+    this=0x4c0240, handle=0x492, ms=15000, exitContext=0) at threads.c:1051
+#5  0xb692afd2 in ?? ()
+#6  0x004c0240 in ?? ()
+#7  0x00000492 in ?? ()
+#8  0x00003a98 in ?? ()
+#9  0x00000000 in ?? ()
+
+Thread 3 (Thread -1242907760 (LWP 15858)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e6c05b in read () from /lib/tls/i686/cmov/libc.so.6
+#2  0xb61f903d in ?? ()
+#3  0x0000002c in ?? ()
+#4  0x00561010 in ?? ()
+#5  0x00001000 in ?? ()
+#6  0x00561000 in ?? ()
+#7  0x00561010 in ?? ()
+#8  0x084c6da8 in ?? ()
+#9  0x00561000 in ?? ()
+#10 0xb5eab1fc in ?? ()
+#11 0xffffffff in ?? ()
+#12 0x00c6aeb0 in ?? ()
+#13 0x00561000 in ?? ()
+#14 0xb5eab20c in ?? ()
+#15 0xb61f9004 in ?? ()
+#16 0xb5eab260 in ?? ()
+#17 0xb631af1b in ?? ()
+#18 0x0000002c in ?? ()
+#19 0x00561000 in ?? ()
+#20 0x00001000 in ?? ()
+#21 0x00000000 in ?? ()
+
+Thread 2 (Thread -1230042224 (LWP 15859)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7f1d5c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0810970f in timedwait_signal_wait_cond (cond=0xb79564f0, 
+    mutex=0xb79564d8, timeout=0x0, alertable=1, waiting_on=0x4a3)
+    at handles.c:1424
+#3  0x0810b49c in _wapi_handle_wait_signal_handle (handle=0x4a3, alertable=1)
+    at handles.c:1486
+#4  0x0811bd5f in WaitForSingleObjectEx (handle=0x4a3, timeout=4294967295, 
+    alertable=1) at wait.c:200
+#5  0x080cd888 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (
+    this=0x2dc6a8, handle=0x4a3, ms=-1, exitContext=0) at threads.c:1051
+#6  0xb692afd2 in ?? ()
+#7  0x002dc6a8 in ?? ()
+#8  0x000004a3 in ?? ()
+#9  0xffffffff in ?? ()
+#10 0x00000000 in ?? ()
+
+Thread 1 (Thread -1210407200 (LWP 15666)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7f2018b in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0810d6ea in console_read (handle=0x0, buffer=0xd1560, numbytes=1024, 
+    bytesread=0xbfcf4660, overlapped=0x0) at io.c:1069
+#3  0x0810e9ed in ReadFile (handle=0x0, buffer=0xd1560, numbytes=1024, 
+    bytesread=0xbfcf4660, overlapped=0x0) at io.c:2177
+#4  0x080d3d76 in ves_icall_System_IO_MonoIO_Read (handle=0x0, dest=0xd1550, 
+    dest_offset=0, count=857440, error=0xbfcf46cc) at file-io.c:605
+#5  0xb7056603 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.
+=================================================================
+
+Aborted (core dumped)


More information about the mono-bugs mailing list