https://bugzilla.novell.com/show_bug.cgi?id=442027
User [email protected] added comment https://bugzilla.novell.com/show_bug.cgi?id=442027#c6 Andrés G. Aragoneses <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Summary|Loop doesn't cause managed exception |Loop causes unmanaged crash instead of | |StackOverFlow managed exception --- Comment #6 from Andrés G. Aragoneses <[email protected]> 2008-12-17 10:04:36 MST --- I'm seeing this again on trunk: Stack overflow in unmanaged: IP: 0x815ad5c, fault addr: 0xbf0a5acc Stacktrace: at (wrapper managed-to-native) object.__icall_wrapper_mono_object_new_specific (intptr) <0x00053> at (wrapper managed-to-native) object.__icall_wrapper_mono_object_new_specific (intptr) <0xffffffff> at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00071] in /home/knocte/Documents/iDocs/Proyectos/mono/trunk/mcs/class/corlib/System.Reflection/MonoMethod.cs:169 at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /home/knocte/Documents/iDocs/Proyectos/mono/trunk/mcs/class/corlib/System.Reflection/MethodBase.cs:111 at NUnit.Core.Reflect.InvokeMethod (System.Reflection.MethodInfo,object,object[]) <0x00030> at NUnit.Core.Reflect.InvokeMethod (System.Reflection.MethodInfo,object) <0x00015> at NUnit.Core.TestMethod.RunTestMethod (NUnit.Core.TestCaseResult) <0x00018> at NUnit.Core.TestMethod.doTestCase (NUnit.Core.TestCaseResult) <0x00020> at NUnit.Core.TestMethod.doRun (NUnit.Core.TestCaseResult) <0x00076> at NUnit.Core.TestMethod.Run (NUnit.Core.TestCaseResult) <0x0011f> at NUnit.Core.NUnitTestMethod.Run (NUnit.Core.TestCaseResult) <0x00015> at NUnit.Core.TestCase.Run (NUnit.Core.EventListener) <0x000fd> at NUnit.Core.TestCase.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x00016> at NUnit.Core.TestSuite.RunAllTests (NUnit.Core.TestSuiteResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x000e0> at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x001d9> at NUnit.Core.TestFixture.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x00060> at NUnit.Core.TestSuite.RunAllTests (NUnit.Core.TestSuiteResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x000e0> at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x001d9> at NUnit.Core.TestSuite.RunAllTests (NUnit.Core.TestSuiteResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x000e0> at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x001d9> at NUnit.Core.SimpleTestRunner.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x00098> at NUnit.Core.ProxyTestRunner.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x00023> at NUnit.Core.RemoteTestRunner.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x000a1> at (wrapper xdomain-dispatch) NUnit.Core.RemoteTestRunner.Run (object,byte[]&,byte[]&) <0xffffffff> at (wrapper xdomain-invoke) NUnit.Core.RemoteTestRunner.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0xffffffff> at NUnit.Core.ProxyTestRunner.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter) <0x00023> at NUnit.ConsoleRunner.ConsoleUi.Execute (NUnit.ConsoleRunner.ConsoleOptions) <0x006a8> at NUnit.ConsoleRunner.Runner.Main (string[]) <0x0038e> at NUnit.ConsoleRunner.Class1.Main (string[]) <0x00010> at (wrapper runtime-invoke) NUnit.ConsoleRunner.Class1.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: /home/knocte/opt/mono/bin/mono [0x80c8019] /home/knocte/opt/mono/bin/mono [0x80f198b] [0xffffe410] /home/knocte/opt/mono/bin/mono [0x80c5cb9] [0xb7bc0874] [0xb69d0faf] [0xb6e0453b] [0xb4edc841] [0xb4edc7fe] [0xb4edc7e1] [0xb4edc6e9] [0xb4edc57f] [0xb4edc468] [0xb4edc326] [0xb4edbf06] [0xb4edbdff] [0xb64a4091] [0xb64a361a] [0xb64a4379] [0xb64a4091] [0xb64a361a] [0xb64a4091] [0xb64a361a] [0xb64a2c59] [0xb64a2bb4] [0xb69d8e2a] [0xb69d74f6] [0xb6c92f05] [0xb6c964a4] [0xb6e41679] [0xb781976f] [0xb78192b1] [0xb7819203] /home/knocte/opt/mono/bin/mono(mono_runtime_exec_main+0x16e) [0x810e4fe] /home/knocte/opt/mono/bin/mono(mono_runtime_run_main+0x16d) [0x810ec1d] /home/knocte/opt/mono/bin/mono(mono_main+0x18aa) [0x80b0e9a] /home/knocte/opt/mono/bin/mono [0x805acf1] /lib/libc.so.6(__libc_start_main+0xe5) [0xb7d0b5f5] /home/knocte/opt/mono/bin/mono [0x805ac21] Debug info from gdb: [Thread debugging using libthread_db enabled] [New Thread 0xb7cf36f0 (LWP 6297)] [New Thread 0xb47fdb90 (LWP 6312)] [New Thread 0xb48feb90 (LWP 6311)] [New Thread 0xb4db0b90 (LWP 6305)] [New Thread 0xb4eb1b90 (LWP 6304)] [New Thread 0xb62ffb90 (LWP 6302)] [New Thread 0xb6affb90 (LWP 6301)] [New Thread 0xb6d9eb90 (LWP 6300)] [New Thread 0xb7421b90 (LWP 6299)] [New Thread 0xb7f70b90 (LWP 6298)] 0xffffe430 in __kernel_vsyscall () 10 Thread 0xb7f70b90 (LWP 6298) 0xffffe430 in __kernel_vsyscall () 9 Thread 0xb7421b90 (LWP 6299) 0xffffe430 in __kernel_vsyscall () 8 Thread 0xb6d9eb90 (LWP 6300) 0xffffe430 in __kernel_vsyscall () 7 Thread 0xb6affb90 (LWP 6301) 0xffffe430 in __kernel_vsyscall () 6 Thread 0xb62ffb90 (LWP 6302) 0xffffe430 in __kernel_vsyscall () 5 Thread 0xb4eb1b90 (LWP 6304) 0xffffe430 in __kernel_vsyscall () 4 Thread 0xb4db0b90 (LWP 6305) 0xffffe430 in __kernel_vsyscall () 3 Thread 0xb48feb90 (LWP 6311) 0xffffe430 in __kernel_vsyscall () 2 Thread 0xb47fdb90 (LWP 6312) 0xffffe430 in __kernel_vsyscall () 1 Thread 0xb7cf36f0 (LWP 6297) 0xffffe430 in __kernel_vsyscall () Thread 10 (Thread 0xb7f70b90 (LWP 6298)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e6b3e6 in nanosleep () from /lib/libpthread.so.0 #2 0x081a0ab8 in collection_thread (unused=0x0) at collection.c:34 #3 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #4 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 9 (Thread 0xb7421b90 (LWP 6299)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e69ee5 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0 #2 0x08128d59 in finalizer_thread (unused=0x0) at gc.c:928 #3 0x0814c688 in start_wrapper (data=0x82fa928) at threads.c:620 #4 0x081bc876 in thread_start_routine (args=0x82d995c) at threads.c:279 #5 0x081dd0ea in GC_start_routine (arg=0x26f20) at pthread_support.c:1382 #6 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #7 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 8 (Thread 0xb6d9eb90 (LWP 6300)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e67f42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x081a3d58 in timedwait_signal_poll_cond (cond=0x82d99b0, mutex=0x82d9998, timeout=0xb6d9dff8, alertable=1) at handles.c:1500 #3 0x081a6934 in _wapi_handle_timedwait_signal_handle (handle=0x409, timeout=0xb6d9dff8, alertable=1) at handles.c:1570 #4 0x081c0e0c in WaitForSingleObjectEx (handle=0x409, timeout=4499, alertable=1) at wait.c:207 #5 0x08149633 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=0x146d98, handle=0x409, ms=4499, exitContext=1) at threads.c:1442 #6 0xb6dac5df in ?? () #7 0xb6dac03e in ?? () #8 0xb6dab600 in ?? () #9 0xb6e05cb8 in ?? () #10 0x0810bb84 in mono_runtime_delegate_invoke (delegate=0x409, params=0xb6d9e2e4, exc=0x0) at object.c:2938 #11 0x0814c70f in start_wrapper (data=0x0) at threads.c:626 #12 0x081bc876 in thread_start_routine (args=0x82d9ae8) at threads.c:279 #13 0x081dd0ea in GC_start_routine (arg=0x26e40) at pthread_support.c:1382 #14 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #15 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 7 (Thread 0xb6affb90 (LWP 6301)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e67f42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x081a3d58 in timedwait_signal_poll_cond (cond=0x82d9b3c, mutex=0x82d9b24, timeout=0xb6afeff8, alertable=1) at handles.c:1500 #3 0x081a6934 in _wapi_handle_timedwait_signal_handle (handle=0x40c, timeout=0xb6afeff8, alertable=1) at handles.c:1570 #4 0x081c0e0c in WaitForSingleObjectEx (handle=0x40c, timeout=4499, alertable=1) at wait.c:207 #5 0x08149633 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=0x150c90, handle=0x40c, ms=4499, exitContext=1) at threads.c:1442 #6 0xb6c8ec47 in ?? () #7 0xb6c8e916 in ?? () #8 0xb6c8e5a8 in ?? () #9 0xb781ec38 in ?? () #10 0x0810bb84 in mono_runtime_delegate_invoke (delegate=0x40c, params=0xb6aff2e4, exc=0x0) at object.c:2938 #11 0x0814c70f in start_wrapper (data=0x0) at threads.c:626 #12 0x081bc876 in thread_start_routine (args=0x82d9c74) at threads.c:279 #13 0x081dd0ea in GC_start_routine (arg=0x26e40) at pthread_support.c:1382 #14 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #15 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 6 (Thread 0xb62ffb90 (LWP 6302)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e67f42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x081a3d58 in timedwait_signal_poll_cond (cond=0x82db270, mutex=0x82db258, timeout=0x0, alertable=1) at handles.c:1500 #3 0x081a6934 in _wapi_handle_timedwait_signal_handle (handle=0x439, timeout=0x0, alertable=1) at handles.c:1570 #4 0x081a699c in _wapi_handle_wait_signal_handle (handle=0x439, alertable=1) at handles.c:1530 #5 0x081c0f32 in WaitForSingleObjectEx (handle=0x439, timeout=4294967295, alertable=1) at wait.c:205 #6 0x081477a8 in ves_icall_System_Threading_Monitor_Monitor_wait (obj=0x1eda10, ms=4294967295) at monitor.c:1297 #7 0xb64a2b52 in ?? () #8 0xb64a2a45 in ?? () #9 0xb64a28e1 in ?? () #10 0xb6e05cb8 in ?? () #11 0x0810bb84 in mono_runtime_delegate_invoke (delegate=0x290690, params=0xb62ff2e4, exc=0x0) at object.c:2938 #12 0x0814c70f in start_wrapper (data=0x290690) at threads.c:626 #13 0x081bc876 in thread_start_routine (args=0x82d9e00) at threads.c:279 #14 0x081dd0ea in GC_start_routine (arg=0xebfa0) at pthread_support.c:1382 #15 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #16 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 5 (Thread 0xb4eb1b90 (LWP 6304)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7db91c7 in poll () from /lib/libc.so.6 #2 0xb7eea6f2 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0xb7eead2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #4 0xb51f9d4c in ?? () #5 0xb51f9d0d in ?? () #6 0xb51f9b59 in ?? () #7 0xb6e05cb8 in ?? () #8 0x0810bb84 in mono_runtime_delegate_invoke (delegate=0x1bf8f8, params=0xb4eb12e4, exc=0x0) at object.c:2938 #9 0x0814c70f in start_wrapper (data=0x873efb8) at threads.c:626 #10 0x081bc876 in thread_start_routine (args=0x82da2a4) at threads.c:279 #11 0x081dd0ea in GC_start_routine (arg=0x26c60) at pthread_support.c:1382 #12 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #13 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 4 (Thread 0xb4db0b90 (LWP 6305)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7db91c7 in poll () from /lib/libc.so.6 #2 0xb7eea6f2 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0xb7eead2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #4 0xb517ae00 in ?? () from /usr/lib/libORBit-2.so.0 #5 0xb7f1139f in ?? () from /usr/lib/libglib-2.0.so.0 #6 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #7 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 3 (Thread 0xb48feb90 (LWP 6311)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e67f42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x081a3d58 in timedwait_signal_poll_cond (cond=0x82d950c, mutex=0x82d94f4, timeout=0x0, alertable=1) at handles.c:1500 #3 0x081a6934 in _wapi_handle_timedwait_signal_handle (handle=0x400, timeout=0x0, alertable=1) at handles.c:1570 #4 0x081a699c in _wapi_handle_wait_signal_handle (handle=0x400, alertable=1) at handles.c:1530 #5 0x081c0f32 in WaitForSingleObjectEx (handle=0x400, timeout=4294967295, alertable=1) at wait.c:205 #6 0x0814f462 in async_invoke_thread (data=0x0) at threadpool.c:1422 #7 0x0814c688 in start_wrapper (data=0x84e6ea0) at threads.c:620 #8 0x081bc876 in thread_start_routine (args=0x82db090) at threads.c:279 #9 0x081dd0ea in GC_start_routine (arg=0x26520) at pthread_support.c:1382 #10 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #11 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 2 (Thread 0xb47fdb90 (LWP 6312)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e67f42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x081a3d58 in timedwait_signal_poll_cond (cond=0x82d950c, mutex=0x82d94f4, timeout=0x0, alertable=1) at handles.c:1500 #3 0x081a6934 in _wapi_handle_timedwait_signal_handle (handle=0x400, timeout=0x0, alertable=1) at handles.c:1570 #4 0x081a699c in _wapi_handle_wait_signal_handle (handle=0x400, alertable=1) at handles.c:1530 #5 0x081c0f32 in WaitForSingleObjectEx (handle=0x400, timeout=4294967295, alertable=1) at wait.c:205 #6 0x0814f462 in async_invoke_thread (data=0x0) at threadpool.c:1422 #7 0x0814c688 in start_wrapper (data=0x84cb750) at threads.c:620 #8 0x081bc876 in thread_start_routine (args=0x82db114) at threads.c:279 #9 0x081dd0ea in GC_start_routine (arg=0x26520) at pthread_support.c:1382 #10 0xb7e64175 in start_thread () from /lib/libpthread.so.0 #11 0xb7dc2dce in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb7cf36f0 (LWP 6297)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e6abab in read () from /lib/libpthread.so.0 #2 0x080c8193 in mono_handle_native_sigsegv (signal=11, ctx=0xb7bbfd0c) at mini-exceptions.c:1439 #3 0x080f198b in mono_arch_handle_altstack_exception (sigctx=0xb7bbfd0c, fault_addr=0x8, stack_ovf=0) at exceptions-x86.c:864 #4 <signal handler called> #5 restore_stack_protection () at mini-exceptions.c:1242 #6 0x080c5cb9 in mono_altstack_restore_prot (regs=0xbf89b068, code=0xb781a74b "\213M�e\211\r����\213}����i�����", tramp_data=0x80c8610, tramp=0x0) at mini-exceptions.c:1251 #7 0xb7bc0874 in ?? () #8 0xb69d0faf in ?? () #9 0xb6e0453b in ?? () #10 0xb4edc841 in ?? () #11 0xb4edc7fe in ?? () #12 0xb4edc7e1 in ?? () #13 0xb4edc6e9 in ?? () #14 0xb4edc57f in ?? () #15 0xb4edc468 in ?? () #16 0xb4edc326 in ?? () #17 0xb4edbf06 in ?? () #18 0xb4edbdff in ?? () #19 0xb64a4091 in ?? () #20 0xb64a361a in ?? () #21 0xb64a4379 in ?? () #22 0xb64a4091 in ?? () #23 0xb64a361a in ?? () #24 0xb64a4091 in ?? () #25 0xb64a361a in ?? () #26 0xb64a2c59 in ?? () #27 0xb64a2bb4 in ?? () #28 0xb69d8e2a in ?? () #29 0xb69d74f6 in ?? () #30 0xb6c92f05 in ?? () #31 0xb6c964a4 in ?? () #32 0xb6e41679 in ?? () #33 0xb781976f in ?? () #34 0xb78192b1 in ?? () #35 0xb7819203 in ?? () #36 0x0810e4fe in mono_runtime_exec_main (method=0x274bd0, args=0x26f20, exc=0x0) at object.c:3296 #37 0x0810ec1d in mono_runtime_run_main (method=0x82bafec, argc=4, argv=0xbf89bdfc, exc=0x0) at object.c:3084 #38 0x080b0e9a in mono_main (argc=6, argv=0xbf89bdf4) at driver.c:969 #39 0x0805acf1 in main (argc=0, argv=0x0) at main.c:34 #0 0xffffe430 in __kernel_vsyscall () ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= -- Configure bugmail: https://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
