[Mono-bugs] [Bug 76612][Cri] New - String Constructor (SByte*, Int32, Int32, Encoding) results in segmentation fault

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 1 06:02:23 EST 2005

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 sk68 at cornell.edu.


--- shadow/76612	2005-11-01 06:02:23.000000000 -0500
+++ shadow/76612.tmp.1653	2005-11-01 06:02:23.000000000 -0500
@@ -0,0 +1,78 @@
+Bug#: 76612
+Product: Mono: Runtime
+Version: 1.1
+OS: Red Hat 8.0
+OS Details: 
+Status: NEW   
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: sk68 at cornell.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: String Constructor (SByte*, Int32, Int32, Encoding) results in segmentation fault
+Description of Problem:
+using String Constructor (SByte*, Int32, Int32, Encoding) in Mono 
+results in a segmentation fault.
+Steps to reproduce the problem:
+1. compile the attached source ( mono -unsafe+ test_String_ctor2.cs )
+2. run ( mono ./test_String_ctor2.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.
+in <0x4> (wrapper managed-to-native) System.String:.ctor 
+in <0xfffff974> (wrapper managed-to-native) System.String:.ctor 
+in <0xf4> test_String_ctor2:Main ()
+in <0xc7703756> (wrapper runtime-invoke) System.Object:runtime_invoke_void 
+Native stacktrace:
+ mono(mono_handle_native_sigsegv+0x70) [0x81196ec]
+ mono [0x810a05a]
+ /lib/i686/libpthread.so.0 [0x400c8516]
+ mono [0x42028c40]
+ mono [0x8109efc]
+ mono(mono_runtime_invoke+0x18) [0x80845c0]
+ mono [0x80b339c]
+ [0x40a07340]
+ [0x40a06c85]
+ [0x40a0680e]
+ mono [0x8109f3f]
+ mono(mono_runtime_invoke+0x18) [0x80845c0]
+ mono(mono_runtime_exec_main+0x4f) [0x80850f3]
+ mono(mono_runtime_run_main+0x15c) [0x8084df0]
+ mono [0x805c74f]
+ mono(mono_main+0x6c0) [0x805cf30]
+ mono [0x805bcdb]
+ mono(__libc_start_main+0xa4) [0x420158d4]
+ mono [0x805bc35]
+Expected Results:
+No errors and program outputs:
+The UTF8 String is QRSTTV
+How often does this happen? 
+Additional Information:
+This also occurs with the svn which I got in October 28, 2005

More information about the mono-bugs mailing list