[Mono-bugs] [Bug 58467][Cri] New - Mono runtime crash on OSX in mono_class_vtable.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 13 May 2004 17:20:48 -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 grompf@sublimeintervention.com.

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

--- shadow/58467	2004-05-13 17:20:48.000000000 -0400
+++ shadow/58467.tmp.30802	2004-05-13 17:20:48.000000000 -0400
@@ -0,0 +1,99 @@
+Bug#: 58467
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: OSX 10.3.3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: grompf@sublimeintervention.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono runtime crash on OSX in mono_class_vtable.
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+
+mint is throwing a SIGBUS SIG_DFL on my code which reads some information from a sqlite 
+database using Mono.Data.SqliteClient.  Backtrace from gdb provided.
+
+Reading symbols for shared libraries . done
+[2004-05-13 16:55:41] Loading configuration
+
+Program received signal EXC_BAD_ACCESS, Could not access memory.
+[Switching to process 29145 thread 0x2503]
+0x0104e93c in mono_class_vtable (domain=0x24f18, class=0x3f3fe0) at object.c:655
+655                     int slot = class->interface_offsets [i];
+(gdb) bt
+#0  0x0104e93c in mono_class_vtable (domain=0x24f18, class=0x3f3fe0) at object.c:655
+#1  0x0102ef88 in mono_interp_transform_method (runtime_method=0x38951e8, 
+context=0xf04017b0) at transform.c:2880
+#2  0x0100c640 in ves_exec_method_with_context (frame=0xf03fe5f0, context=0xf04017b0) at 
+interp.c:1342
+#3  0x0100d31c in ves_exec_method_with_context (frame=0xf03febe8, context=0xf04017b0) 
+at interp.c:1528
+#4  0x0101cbc4 in ves_exec_method (frame=0xf03febe8) at interp.c:4034
+#5  0x0388c8f4 in ?? ()
+#6  0x03267c94 in sqliteVdbeExec ()
+#7  0x03232ca0 in sqliteExec ()
+#8  0x0324e31c in yy_reduce ()
+#9  0x032510d8 in sqliteParser ()
+#10 0x0325d8bc in sqliteRunParser ()
+#11 0x03246a20 in sqliteMain ()
+#12 0x03246c08 in sqlite_exec ()
+#13 0x003f3fbc in ?? ()
+#14 0x0100ae00 in ves_pinvoke_method (frame=0xf03ffe00, sig=0x3f9ab0, addr=0x3246bc0 
+<sqlite_exec>, string_ctor=0, context=0xf04017b0) at interp.c:725
+#15 0x0100d4d4 in ves_exec_method_with_context (frame=0xf04001a0, context=0xf04017b0) 
+at interp.c:1572
+#16 0x0100d6c4 in ves_exec_method_with_context (frame=0xf04003e0, context=0xf04017b0) 
+at interp.c:1618
+#17 0x0100d9fc in ves_exec_method_with_context (frame=0xf0400640, context=0xf04017b0) 
+at interp.c:1698
+#18 0x0100d9fc in ves_exec_method_with_context (frame=0xf0400a60, context=0xf04017b0) 
+at interp.c:1698
+#19 0x0100d9fc in ves_exec_method_with_context (frame=0xf0400d10, context=0xf04017b0) 
+at interp.c:1698
+#20 0x01013388 in ves_exec_method_with_context (frame=0xf0401550, context=0xf04017b0) 
+at interp.c:2532
+#21 0x01013388 in ves_exec_method_with_context (frame=0xf0401730, context=0xf04017b0) 
+at interp.c:2532
+#22 0x0100c164 in interp_mono_runtime_invoke (method=0x33d370, obj=0x0, 
+params=0xf0401c64, exc=0xf0401d3c) at interp.c:1181
+#23 0x0104f764 in mono_runtime_invoke (method=0x33d370, obj=0x0, params=0xf0401c64, 
+exc=0xf0401d3c) at object.c:961
+#24 0x01050c8c in mono_runtime_exec_main (method=0x33d370, args=0x2df90, 
+exc=0xf0401d3c) at object.c:1454
+#25 0x01050740 in mono_runtime_run_main (method=0x33d370, argc=1, argv=0xbffffccc, 
+exc=0xf0401d3c) at object.c:1319
+#26 0x0101cd28 in ves_exec (domain=0x24f18, assembly=0x332c30, argc=2, argv=0xbffffcc8) 
+at interp.c:4064
+#27 0x0101d5f8 in main_thread_handler (user_data=0xbffffb70) at interp.c:4316
+#28 0x0107aca8 in start_wrapper (data=0x332100) at threads.c:239
+#29 0x010deee8 in timed_thread_start_routine (args=0x331fa0) at timed-thread.c:129
+#30 0x900247e8 in _pthread_body ()
+
+
+Steps to reproduce the problem:
+1. Create a small sqlite database
+2. Use mint on ppc to fetch 1 row out.
+
+
+Actual Results:
+Runtime crashes
+
+Expected Results:
+
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+The project this is shown in is wirns (wirns.sourceforge.net), the latest code with the mono 
+changes isn't up on sourceforge yet tho, please let me know directly and I'll forward it off if 
+needed.