[Mono-bugs] [Bug 78418][Min] New - SIGSEGV on missing DLL

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 16 10:49:07 EDT 2006


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 pawel.sakowski at mind-breeze.com.

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

--- shadow/78418	2006-05-16 10:49:07.000000000 -0400
+++ shadow/78418.tmp.21002	2006-05-16 10:49:07.000000000 -0400
@@ -0,0 +1,75 @@
+Bug#: 78418
+Product: Mono: Runtime
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: pawel.sakowski at mind-breeze.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGSEGV on missing DLL
+
+Description of Problem:
+When an assembly references a DLL that cannot be loaded, the runtime
+crashes on a segmentation fault.
+
+Steps to reproduce the problem:
+1. echo 'class X{}' > a.cs
+2. gmcs /target:module /out:a.dll a.cs
+3. echo 'class Y{static void Main(){new X();}}' > b.cs
+4. gmcs /addmodule:a.dll b.cs
+5. rm a.dll
+6. mono b.exe
+
+Actual Results:
+=================================================================
+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.
+=================================================================
+
+Stacktrace:
+
+
+Native stacktrace:
+
+       
+/opt/mono-mindbreeze/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3)
+[0x702c64]
+        /opt/mono-mindbreeze/lib/libmono.so.0 [0x6e2033]
+        /lib/tls/libpthread.so.0 [0xb947c0]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mono_class_from_typeref+0xb3)
+[0x7a9472]
+        /opt/mono-mindbreeze/lib/libmono.so.0 [0x7a6412]
+        /opt/mono-mindbreeze/lib/libmono.so.0 [0x7a68bd]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mono_get_method_full+0x5d)
+[0x7a71d0]
+        /opt/mono-mindbreeze/lib/libmono.so.0 [0x6ce1ed]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mini_method_compile+0x28e)
+[0x6dfc32]
+        /opt/mono-mindbreeze/lib/libmono.so.0 [0x6c08bd]
+        /opt/mono-mindbreeze/lib/libmono.so.0 [0x6e1e93]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mono_runtime_invoke+0x33)
+[0x747e2b]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mono_runtime_exec_main+0x67)
+[0x74b70a]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mono_runtime_run_main+0x1f9)
+[0x74ba50]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mono_jit_exec+0x90) [0x6f3d13]
+        /opt/mono-mindbreeze/lib/libmono.so.0(mono_main+0x10da) [0x6f4e36]
+        mono [0x804854a]
+        /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xa46e23]
+        mono [0x80484a5]
+
+Expected Results:
+The problem (missing DLL) reported in a civilised way.
+
+How often does this happen? 
+100%


More information about the mono-bugs mailing list