[Mono-bugs] [Bug 58659][Nor] New - Generics: assertion failed: (io <= max_vtsize)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 18 May 2004 13:05:55 -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 edd@usefulinc.com.

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

--- shadow/58659	2004-05-18 13:05:55.000000000 -0400
+++ shadow/58659.tmp.26793	2004-05-18 13:05:55.000000000 -0400
@@ -0,0 +1,78 @@
+Bug#: 58659
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: edd@usefulinc.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Generics: assertion failed: (io <= max_vtsize)
+
+When compiling and running a program using generics, it aborts.
+
+Here's the back trace, I'll attach the program next.
+
+Starting program: /opt/mono/bin/mono FullCrowd.exe
+[Thread debugging using libthread_db enabled]
+[New Thread 1077748384 (LWP 19214)]
+[New Thread 1087331248 (LWP 19217)]
+[New Thread 1089457072 (LWP 19218)]
+ 
+** ERROR **: file class.c: line 968 (mono_class_setup_vtable): assertion
+failed: (io <= max_vtsize)
+aborting...
+ 
+Program received signal SIGABRT, Aborted.
+[Switching to Thread 1089457072 (LWP 19218)]
+0xffffe410 in __kernel_vsyscall ()
+(gdb) bt
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0x402c1e63 in raise () from /lib/tls/i686/cmov/libc.so.6
+#2  0x402c371c in abort () from /lib/tls/i686/cmov/libc.so.6
+#3  0x401f2f57 in g_logv () from /usr/lib/libglib-2.0.so.0
+#4  0x401f2f94 in g_log () from /usr/lib/libglib-2.0.so.0
+#5  0x400f4ee0 in mono_class_setup_vtable (class=0x8144b18, overrides=0x0,
+    onum=0) at class.c:977
+#6  0x400f51d8 in mono_class_init (class=0x8144b18) at class.c:1454
+#7  0x400f56dc in mono_class_init (class=0x81437b8) at class.c:1303
+#8  0x400f0218 in method_from_memberref (image=0x8128078, idx=2, context=0x0)
+    at loader.c:329
+#9  0x400f1086 in mono_get_method_from_token (image=0x8128078,
+    token=167772162, klass=0x0, context=0x0) at loader.c:713
+#10 0x400f15a0 in mono_get_method_full (image=0x8128078, token=167772162,
+    klass=0x0, context=0x0) at loader.c:846
+#11 0x4004fcba in mono_method_to_ir (cfg=0x81475d0, method=0x81446b8,
+    start_bblock=0x81456e8, end_bblock=0x8145780, locals_offset=1,
+    return_var=0x0, dont_inline=0x8065ce4, inline_args=0x0, inline_offset=0,
+    is_virtual_call=0) at mini.c:3951
+#12 0x4005d528 in mini_method_compile (method=0x81446b8, opts=0, domain=0x0,
+    run_cctors=0, parts=0) at mini.c:7698
+#13 0x4005df3b in mono_jit_compile_method_inner (method=0x81446b8,
+    target_domain=0x808eed8) at mini.c:7994
+#14 0x4005e219 in mono_jit_compile_method (method=0x0) at mini.c:8071
+#15 0x4005e2fe in mono_jit_runtime_invoke (method=0x81446b8, obj=0x0,
+    params=0x0, exc=0x0) at mini.c:8122
+#16 0x400a5f35 in mono_runtime_invoke (method=0x0, obj=0x0, params=0x0,
+    exc=0x0) at object.c:961
+#17 0x400a6d9d in mono_runtime_exec_main (method=0x81446b8, args=0x0, exc=0x0)
+    at object.c:1454
+#18 0x400a68df in mono_runtime_run_main (method=0x81446b8, argc=0,
+    argv=0xbffff4cc, exc=0x0) at object.c:1319
+#19 0x4007dcae in mono_jit_exec (domain=0x808eed8, assembly=0x0, argc=6,
+    argv=0x6) at driver.c:468
+#20 0x4007dd12 in main_thread_handler (user_data=0xbffff3f0) at driver.c:502
+---Type <return> to continue, or q <return> to quit---
+#21 0x400c81be in start_wrapper (data=0x812ec88) at threads.c:239
+#22 0x4010bc28 in timed_thread_start_routine (args=0x812eca0)
+    at timed-thread.c:129
+#23 0x4011d3fc in GC_start_routine (arg=0x808bc80) at linux_threads.c:1663
+#24 0x40288ae5 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#25 0x00000000 in ?? ()