[Mono-bugs] [Bug 57545][Wis] New - mono/test pinvoke3.exe fails (crash in strlen)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 23 Apr 2004 18:27:12 -0400 (EDT)


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 umuff@quark.com.

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

--- shadow/57545	2004-04-23 18:27:12.000000000 -0400
+++ shadow/57545.tmp.31988	2004-04-23 18:27:12.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 57545
+Product: Mono: Runtime
+Version: unspecified
+OS: Mac OS X 10.3
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: umuff@quark.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono/test pinvoke3.exe fails (crash in strlen)
+
+(gdb) bt
+#0  0x90006f70 in strlen ()
+#1  0x01069c34 in mono_string_new (domain=0x97f18, text=0xc24bc195 <Address 
+0xc24bc195 out of bounds>) at object.c:2040
+#2  0x01069ce8 in mono_string_new_wrapper (text=0xc24bc195 <Address 0xc24bc195 out of 
+bounds>) at object.c:2068
+#3  0x002fab34 in offset 0x9c of method (wrapper managed-to-native) System.Object:
+__icall_wrapper_mono_string_new_wrapper (intptr) (0x2faa98 0x2faba4)
+#4  0x002faf2c in offset 0x164 of method (wrapper native-to-managed) Tests:
+delegate_test_struct (Tests/SimpleStruct) (0x2fadc8 0x2fb0d4)
+#5  0x0049adac in mono_test_marshal_delegate2 (delegate=0xc24bc195) at libtest.c:469
+#6  0x002faa1c in ?? ()
+#7  0x002fa718 in ?? ()
+#8  0x002fa4d8 in ?? ()
+#9  0x0101e1ec in mono_jit_runtime_invoke (method=0xc24bc195, obj=0x0, params=0x0, 
+exc=0x0) at mini.c:8082
+#10 0x01067488 in mono_runtime_invoke (method=0x53ccb0, obj=0x0, params=0x0, 
+exc=0x0) at object.c:957
+#11 0x01068dc8 in mono_runtime_invoke_array (method=0x53ccb0, obj=0x0, params=0x0, 
+exc=0x0) at object.c:1529
+#12 0x01073528 in ves_icall_InternalInvoke (method=0xace88, this=0x0, params=0x0) at 
+icall.c:2147
+#13 0x002fa414 in ?? ()
+#14 0x002f97e0 in ?? ()
+#15 0x002f96bc in ?? ()
+#16 0x000f4c3c in ?? ()
+#17 0x000f4478 in ?? ()
+#18 0x000f43a0 in ?? ()
+#19 0x000f4280 in ?? ()
+#20 0x0101e1ec in mono_jit_runtime_invoke (method=0xc24bc195, obj=0x0, 
+params=0xf0401ca4, exc=0x0) at mini.c:8082
+#21 0x01067488 in mono_runtime_invoke (method=0x53bdf0, obj=0x0, params=0xf0401ca4, 
+exc=0x0) at object.c:957
+#22 0x0106891c in mono_runtime_exec_main (method=0x53bdf0, args=0xa0f60, exc=0x0) at 
+object.c:1439
+#23 0x01068450 in mono_runtime_run_main (method=0x53bdf0, argc=0, argv=0xbffffd54, 
+exc=0x0) at object.c:1313
+#24 0x01038df4 in mono_jit_exec (domain=0xc24bc195, assembly=0x1, argc=1, 
+argv=0xbffffd50) at driver.c:466
+#25 0x01038eb4 in main_thread_handler (user_data=0xc24bc195) at driver.c:500
+#26 0x0109254c in start_wrapper (data=0x53b5b0) at threads.c:239
+#27 0x010eda88 in timed_thread_start_routine (args=0x53b450) at timed-thread.c:129
+#28 0x900247e8 in _pthread_body ()