Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 02:33:48 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        freebsd-gnome@freebsd.org
Subject:   Mono crashed, here's gdb info..
Message-ID:  <oprw2pymel8ckrg5@smtp.central.cox.net>

next in thread | raw e-mail | index | archive | help
------------tW0gQ8DpElrOh4K0ldBdc3
Content-Type: text/plain; format=flowed; charset=utf-8
Content-Transfer-Encoding: 8bit

Current, I am trying to fix the gtk-sharp port. I don't know why it needs 
the postgresql72, which I doubt it depends on postgresql72 at all. I 
couldn't find anything in the config.log.

Anyway, back to the point, I get the build little far until it calls for 
mcs (mono) and I get the Bus error with core dump.

==========================
gmake[1]: Entering directory 
`/usr/ports/x11-toolkits/gtk-sharp/work/gtk-sharp-0.11/generator'
mcs --unsafe -o gapi_codegen.exe -r System.Xml *.cs
Bus error (core dumped)
gmake[1]: *** [gapi_codegen.exe] Error 138
==========================

Here's short version of gdb:
==========================
# gdb mono mono.core
Core was generated by `mono'.

#0  0x28192662 in GC_clear_stack_inner (arg=0x8808ae0 "", limit=3213799168)
     at misc.c:285
285     {

(gdb) list
280     /* Clear the stack up to about limit.  Return arg. */
281     /*ARGSUSED*/
282     ptr_t GC_clear_stack_inner(arg, limit)
283     ptr_t arg;
284     word limit;
285     {
286         word dummy[CLEAR_SIZE];
287
288         BZERO(dummy, CLEAR_SIZE*sizeof(word));
289         if ((word)(dummy) COOLER_THAN limit) {
==========================

The long version is in the attach with the full backtrace.

Cheers,
Mezz


-- 
bsdforums.org 's moderator, mezz.
------------tW0gQ8DpElrOh4K0ldBdc3
Content-Disposition: attachment; filename=gdb-mono.txt
Content-Type: text/plain; name=gdb-mono.txt
Content-Transfer-Encoding: 8bit

#0  0x28192662 in GC_clear_stack_inner (arg=0x8808ae0 "", limit=3213799168)
    at misc.c:285
285     {

(gdb) bt
#0  0x28192662 in GC_clear_stack_inner (arg=0x8808ae0 "", limit=3213799168)
    at misc.c:285
#1  0x2819269c in GC_clear_stack_inner (arg=0x8808ae0 "", limit=3213799168)
    at misc.c:290

[...goes on...]

#1140 0x2819269c in GC_clear_stack_inner (arg=0x8808ae0 "", limit=3213799168)
    at misc.c:290
#1141 0x2819269c in GC_clear_stack_inner (arg=0x8808ae0 "", limit=3213799168)
    at misc.c:290
#1142 0x28192792 in GC_clear_stack (arg=0xbfb00624 "") at misc.c:361
#1143 0x2818e407 in GC_gcj_malloc (lb=18,
    ptr_to_struct_containing_descr=0x80a1104) at gcj_mlc.c:164
#1144 0x28128311 in mono_object_allocate_spec (size=18, gcdescr=0x80a1104)
    at object.c:1196
#1145 0x28128cfd in mono_string_new_size (domain=0x8083f50, len=2)
    at object.c:1604
#1146 0x28128c59 in mono_string_new_utf16 (domain=0x8083f50, text=0x2884d335,
    len=2) at object.c:1580
#1147 0x2812944c in mono_ldstr (domain=0x8083f50, image=0x805f800, idx=7564)
    at object.c:1915
#1148 0x280cd4b9 in mono_method_to_ir (cfg=0x8439b00, method=0x811e2c0,
    start_bblock=0x8441254, end_bblock=0x84412ec, locals_offset=1,
    return_var=0x0, dont_inline=0x843dce0, inline_args=0x0, inline_offset=0,
    is_virtual_call=0) at mini.c:3643
#1149 0x280d8ab0 in mini_method_compile (method=0x811e2c0, opts=84363,
---Type <return> to continue, or q <return> to quit---
    domain=0x8083f50, parts=0) at mini.c:6888
#1150 0x280d96b6 in mono_jit_compile_method (method=0x811e2c0) at mini.c:7191
#1151 0x281263f9 in mono_compile_method (method=0x811e2c0) at object.c:180
#1152 0x280c2a3e in mono_ldftn (method=0x811e2c0) at jit-icalls.c:20
#1153 0x080d40f4 in ?? ()
#1154 0x08452eba in ?? ()
#1155 0x280d984e in mono_jit_runtime_invoke (method=0x811e2c0, obj=0x890e450,
    params=0x0, exc=0x0) at mini.c:7239
#1156 0x28127463 in mono_runtime_invoke (method=0x811e2c0, obj=0x890e450,
    params=0x0, exc=0x0) at object.c:711
#1157 0x28129daa in mono_print_unhandled_exception (exc=0x890e450)
    at object.c:2232
#1158 0x28127e51 in mono_unhandled_exception (exc=0x890e450) at object.c:1000
#1159 0x28116097 in mono_arch_handle_exception (ctx=0xbfbfec98, obj=0x890e450,
    test_only=0) at exceptions-x86.c:1002
#1160 0x280d9935 in sigsegv_signal_handler (_dummy=11) at mini.c:7280
#1161 0x2808703c in _thread_sig_handler () from /usr/lib/libc_r.so.5
#1162 0x2808808a in _thread_sig_wrapper () from /usr/lib/libc_r.so.5
#1163 0xffffffff in ?? ()
#1164 0x2808e28e in _get_curthread () from /usr/lib/libc_r.so.5
#1165 0x28086f2b in _thread_sig_handler () from /usr/lib/libc_r.so.5
#1166 <signal handler called>
#1167 0x2808bcf9 in pthread_mutex_lock () from /usr/lib/libc_r.so.5
#1168 0x2817165e in EnterCriticalSection (section=0x4)
    at critical-sections.c:140
#1169 0x281268d0 in mono_class_vtable (domain=0x0, class=0x8439700)
    at object.c:363
#1170 0x2812838c in mono_object_new (domain=0x0, klass=0x8439700)
    at object.c:1235
#1171 0x2814823c in mono_exception_from_name (image=0x805f800,
    name_space=0x281afc6a "System", name=0x281afccf "NullReferenceException")
    at exception.c:38
#1172 0x2814850d in mono_get_exception_null_reference () at exception.c:132
#1173 0x280d9922 in sigsegv_signal_handler (_dummy=11) at mini.c:7278
#1174 0x2808703c in _thread_sig_handler () from /usr/lib/libc_r.so.5
#1175 0x2808808a in _thread_sig_wrapper () from /usr/lib/libc_r.so.5

(gdb) list
280     /* Clear the stack up to about limit.  Return arg. */
281     /*ARGSUSED*/
282     ptr_t GC_clear_stack_inner(arg, limit)
283     ptr_t arg;
284     word limit;
285     {
286         word dummy[CLEAR_SIZE];
287
288         BZERO(dummy, CLEAR_SIZE*sizeof(word));
289         if ((word)(dummy) COOLER_THAN limit) {

------------tW0gQ8DpElrOh4K0ldBdc3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprw2pymel8ckrg5>