[Mono-bugs] [Bug 78539][Maj] New - Crash with string.Trim

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 30 13:27:58 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 colin at breame.net.

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

--- shadow/78539	2006-05-30 13:27:58.000000000 -0400
+++ shadow/78539.tmp.14145	2006-05-30 13:27:58.000000000 -0400
@@ -0,0 +1,67 @@
+Bug#: 78539
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: colin at breame.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Crash with string.Trim
+
+I have a particularly ordinary program that does a SIGSEGV (as below).  
+Due to the difficulty of "distilling the problem", I've attached the 
+binaries.  If you need the source then give me a shout.  
+  
+To test:  
+ $ tar xfz test.tbz && cd test 
+ $ ./bin/litc_embed test out 
+ 
+Thanks. 
+ 
+p.s. 1.1.15 
+--- 
+ 
+Stacktrace:  
+  
+in (wrapper managed-to-native) System.String:InternalTrim (char[],int)  
+<0x4>  
+in (wrapper managed-to-native) System.String:InternalTrim (char[],int)  
+<0xffffffe9>  
+in System.String:Trim ()  
+(at /home/colin/src/mono-1.1.15/mcs/class/corlib/System/String.cs:389)  
+in litc.litc_embed_t:get_params (string[])  
+(at /opt/confluence/litc/litc_embed.cs:155)  
+in litc.litc_embed_t:parse () (at /opt/confluence/litc/litc_embed.cs:57)  
+in litc.litc_embed_t:Main (string[])  
+(at /opt/confluence/litc/litc_embed.cs:28)  
+in (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[]  
+(object,intptr,intptr,intptr) <0x50baa867>  
+  
+Native stacktrace:  
+  
+        mono(mono_handle_native_sigsegv+0xc3) [0x813ec93]  
+        mono [0x8129416]  
+        [0xffffe440]  
+        [0xb7580434]  
+        [0xb75803f2]  
+        [0xb758bacd]  
+        [0xb758b7d3]  
+        [0xb757ebd6]  
+        [0xb757ea84]  
+        mono [0x81292c0]  
+        mono(mono_runtime_invoke+0x27) [0x80c34b7]  
+        mono(mono_runtime_exec_main+0xaf) [0x80c44cf]  
+        mono(mono_runtime_run_main+0x19f) [0x80c410f]  
+        mono [0x805c6f1]  
+        mono(mono_main+0x833) [0x805d0e3]  
+        mono [0x805ba7b]  
+        /lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7d7aeb0]  
+        mono [0x805b9b1]


More information about the mono-bugs mailing list