[Mono-bugs] [Bug 437096] New: ERROR:(generic-sharing.c:278): mini_get_basic_type_from_generic: assertion failed: (gsctx)
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Oct 20 16:56:48 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=437096
Summary: ERROR:(generic-
sharing.c:278):mini_get_basic_type_from_generic:
assertion failed: (gsctx)
Product: Mono: Runtime
Version: 2.0
Platform: Other
OS/Version: Red Hat 9.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: generics
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: lortiz at interactivesupercomputing.com
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Created an attachment (id=246654)
--> (https://bugzilla.novell.com/attachment.cgi?id=246654)
Standard Generics Example from MSDN
$ gmcs Generics.cs
$ mono --trace Generics.exe > Oy.txt
**
** ERROR:(generic-sharing.c:278):mini_get_basic_type_from_generic: assertion
failed: (gsctx)
Stacktrace:
Native stacktrace:
mono [0x806ab69]
[0x11040c]
/lib/libc.so.6(abort+0x188) [0x1e1028]
/lib/libglib-2.0.so.0(g_assertion_message+0x129) [0x3fef99]
/lib/libglib-2.0.so.0 [0x3ff42d]
mono [0x806edd0]
mono [0x806fe9f]
mono [0x807012c]
mono [0x81a863f]
[0x16a54b]
[0x16038a]
[0x160264]
mono(mono_runtime_exec_main+0xe5) [0x810ded5]
mono(mono_runtime_run_main+0x16d) [0x810e64d]
mono(mono_main+0x16df) [0x805a3af]
mono [0x8058752]
/lib/libc.so.6(__libc_start_main+0xe6) [0x1cb5d6]
mono [0x8058691]
Debug info from gdb:
/home/lfo/Cheetah/.gdbinit:5: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
Could not find the frame base for "IA__g_assertion_message_expr".
[Thread debugging using libthread_db enabled]
[New Thread 0x128560 (LWP 19313)]
[New Thread 0xd86b90 (LWP 19315)]
[New Thread 0x187b90 (LWP 19314)]
0x00110416 in __kernel_vsyscall ()
3 Thread 0x187b90 (LWP 19314) 0x00110416 in __kernel_vsyscall ()
2 Thread 0xd86b90 (LWP 19315) 0x00110416 in __kernel_vsyscall ()
* 1 Thread 0x128560 (LWP 19313) 0x00110416 in __kernel_vsyscall ()
Thread 3 (Thread 0x187b90 (LWP 19314)):
#0 0x00110416 in __kernel_vsyscall ()
#1 0x0035f436 in nanosleep () from /lib/libpthread.so.0
#2 0x08140ab8 in collection_thread (unused=0x0) at collection.c:34
#3 0x0035832f in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#4 0x0029320e in clone () from /lib/libc.so.6
Thread 2 (Thread 0xd86b90 (LWP 19315)):
#0 0x00110416 in __kernel_vsyscall ()
#1 0x0035bba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so0
#2 0x081415b7 in timedwait_signal_poll_cond (cond=0x945e6c4, mutex=0x945e6ac,
timeout=0x0, alertable=0) at handles.c:1490
#3 0x08144144 in _wapi_handle_timedwait_signal_handle (handle=0x404,
timeout=0x0, alertable=0) at handles.c:1570
#4 0x081441ac in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
at handles.c:1530
#5 0x0815ed42 in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
alertable=0) at wait.c:205
#6 0x081c24da in finalizer_thread (unused=0x0) at gc.c:908
#7 0x08102b97 in start_wrapper (data=0x9469030) at threads.c:621
#8 0x0814c4f6 in thread_start_routine (args=0x945e904) at threads.c:279
#9 0x08174b6c in GC_start_routine (arg=0xd9f20) at pthread_support.c:1382
#10 0x0035832f in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#11 0x0029320e in clone () from /lib/libc.so.6
Thread 1 (Thread 0x128560 (LWP 19313)):
#0 0x00110416 in __kernel_vsyscall ()
#1 0x0035ec3b in read () from /lib/libpthread.so.0
#2 0x0806ac63 in mono_handle_native_sigsegv (signal=6, ctx=0xbfa1556c) at
mini-exceptions.c:1327
#3 <signal handler called>
#4 0x00110416 in __kernel_vsyscall ()
#5 0x001df660 in raise (sig=<value optimized out>) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
#6 0x001e1028 in abort () at abort.c:88
#7 0x003fef99 in IA__g_assertion_message (domain=<value optimized out>,
file=<value optimized out>, line=<value optimized out>, func=<value optimized
out>,
message=<value optimized out>) at gtestutils.c:1218
#8 0x003ff42d in IA__g_assertion_message_expr (domain=) at gtestutils.c:1229
#9 0x0806edd0 in mini_get_basic_type_from_generic (gsctx=0x4b71, type=0x0) at
generic-sharing.c:278
#10 0x0806fe9f in get_call_info (gsctx=0x0, mp=<value optimized out>,
sig=0x94bb4d8, is_pinvoke=0) at mini-x86.c:381
#11 0x0807012c in mono_arch_get_argument_info (csig=0x94bb4d8, param_count=1,
arg_info=0xbfa15b30) at mini-x86.c:478
#12 0x081a863f in mono_trace_enter_method (method=0x94c8800, ebp=0xbfa15b7c
"\030\\��\212\003\026") at trace.c:320
#13 0x0016a54b in ?? ()
#14 0x094c8800 in ?? ()
#15 0xbfa15b7c in ?? ()
#16 0x00000000 in ?? ()
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
$ tail Oy.txt
. . . . . . . LEAVE: System.IO.UnexceptionalStreamWriter:Flush ()
. . . . . . LEAVE: System.IO.StreamWriter:Write (char[])
. . . . . LEAVE: System.IO.UnexceptionalStreamWriter:Write (char[])
. . . . LEAVE: System.IO.TextWriter:WriteLine ()
. . . LEAVE: System.IO.TextWriter:WriteLine (string,object)
. . . ENTER: (wrapper managed-to-native) System.Threading.Monitor:Exit
(object)([System.IO.SynchronizedWriter:0xf9fc0], )
. . . LEAVE: (wrapper managed-to-native) System.Threading.Monitor:Exit
(object)
. . LEAVE: System.IO.SynchronizedWriter:WriteLine (string,object)
. LEAVE: System.Console:WriteLine (string,object)
. ENTER: System.Collections.Generic.List`1:Add (T)(
$
I got this error while trying to debug another problem. But it seems that
trace and Generic Lists or Dictionary's all die in the same spot.
--Luis
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list