[Mono-bugs] [Bug 77580][Maj] New - Segmentation fault in runtime - test case attached

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 17 12:48:24 EST 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 paussems at dti-be.com.

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

--- shadow/77580	2006-02-17 12:48:24.000000000 -0500
+++ shadow/77580.tmp.7381	2006-02-17 12:48:24.000000000 -0500
@@ -0,0 +1,75 @@
+Bug#: 77580
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: Debian unstable
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: paussems at dti-be.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Segmentation fault in runtime - test case attached
+
+Description of Problem:
+I encountered this bug in a program that has been developped using Visual 
+C# Express, and that runs fine on windows platform. When I tried it on a 
+Linux machine using mono it crashed, so I tried to narrow down the problem 
+and ended up with this small test case. It has been tested with today's 
+SVN version, and version 1.1.13.2
+
+Steps to reproduce the problem:
+1. Get the attached test.cs file
+2. Compile it using "gmcs test.cs"
+3. Run with "mono test.exe"
+4. In the test case, there are three comments (1, 2, 3).
+   If any of those lines are commented out, the program runs fine...
+
+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:
+
+in <0xffffffff> XXX:.ctor ()
+in <0xb> XXX:.ctor ()
+in <0x34> Crash:Main ()
+in <0x568e27> (wrapper runtime-invoke) System.Object:runtime_invoke_void 
+(object,intptr,intptr,intptr)
+
+Native stacktrace:
+
+        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe5) 
+[0xb7dca485]
+        /usr/lib/libmono.so.0 [0xb7d8b4dd]
+        [0xffffe440]
+        /usr/lib/libmono.so.0(mono_field_from_token+0x2a9) [0xb7e6ddc9]
+        /usr/lib/libmono.so.0 [0xb7d9a6da]
+        /usr/lib/libmono.so.0(mini_method_compile+0x246) [0xb7da6816]
+        /usr/lib/libmono.so.0 [0xb7da84db]
+        /usr/lib/libmono.so.0(mono_compile_method+0x24) [0xb7e0cc64]
+        /usr/lib/libmono.so.0(mono_magic_trampoline+0x25) [0xb7de0285]
+        [0xb7f2c032]
+        [0xb783fcc5]
+        [0xb783fabe]
+        /usr/lib/libmono.so.0 [0xb7da88c0]
+        /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7e0c8c3]
+        /usr/lib/libmono.so.0(mono_runtime_exec_main+0x6b) [0xb7e0f82b]
+        /usr/lib/libmono.so.0(mono_runtime_run_main+0x18c) [0xb7e12d0c]
+        /usr/lib/libmono.so.0(mono_jit_exec+0x8e) [0xb7dbb9fe]
+        /usr/lib/libmono.so.0(mono_main+0x1100) [0xb7dbcbc0]
+        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0) [0xb7b44eb0]
+        /usr/bin/cli [0x8048471]
+Aborted
+
+
+Expected Results:
+No crash :)


More information about the mono-bugs mailing list