[Mono-list] mono 0.17 on FreeBSD (Current)

Peter Kostouros kpeter@melbpc.org.au
Tue, 24 Dec 2002 14:53:37 +1100


Hi

I am trying to compile mcs-0.17 on FreeBSD (Current), however, I receive 
a core dump when compiling in directory System.Web.Services. Compilation 
messages are:

** (../../mcs/mcs.exe:865): WARNING **: Exception inside function 
without unwind info

** ERROR **: file exception.c: line 845 (arch_handle_exception): should 
not be reached
aborting...
Abort trap (core dumped)

I have the following running gdb:

Script started on Tue Dec 24 14:47:39 2002
bash-2.05a$ gdb ./mono      -f  
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd".
(gdb) - file ./mono
Reading symbols from ./mono...done.
(gdb) core /mnt/aux3/cvs/mono/mcs-0.17/class/System.Web.Services/mono.core
Core was generated by `mono'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libintl.so.4...done.
Loaded symbols for /usr/local/lib/libintl.so.4
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/lib/libm.so.2...done.
Loaded symbols for /usr/lib/libm.so.2
Reading symbols from /usr/lib/libc_r.so.5...done.
Loaded symbols for /usr/lib/libc_r.so.5
Reading symbols from /usr/lib/libc.so.5...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/libexec/ld-elf.so.1...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x28315473 in kill () from /usr/lib/libc.so.5
(gdb) bt
#0  0x28315473 in kill () from /usr/lib/libc.so.5
#1  0x283780cc in abort () from /usr/lib/libc.so.5
#2  0x2816d3cd in g_logv () from /usr/local/lib/libglib-2.0.so.0
#3  0x2816d484 in g_log () from /usr/local/lib/libglib-2.0.so.0
#4  0x080aa5ad in arch_handle_exception (ctx=0xbfbfebb0, obj=0x9b5fd40, test_only=1)
    at exception.c:845
#5  0x080aa4fa in arch_handle_exception (ctx=0xbfbfeeb4, obj=0x9b5fd40, test_only=0)
    at exception.c:827
#6  0x080a7bc0 in sigsegv_signal_handler (_dummy=11) at jit.c:4066
#7  0x282b7981 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#8  0x282b77e7 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#9  <signal handler called>
#10 0x09a20f30 in ?? ()
#11 0x0956d31c in ?? ()
#12 0x095f2880 in ?? ()
#13 0x095c9c40 in ?? ()
#14 0x095c96ab in ?? ()
#15 0x0829b72d in ?? ()
#16 0x0825e0cc in ?? ()
#17 0x081e3055 in ?? ()
#18 0x0809b1b5 in mono_jit_runtime_invoke (method=0x81dd040, obj=0x0, 
    params=0xbfbff80c, exc=0x0) at jit.c:311
#19 0x080b75d3 in mono_runtime_invoke (method=0x81dd040, obj=0x0, 
    params=0xbfbff80c, exc=0x0) at object.c:402
#20 0x080b7e9a in mono_runtime_exec_main (method=0x81dd040, args=0x81d6100, exc=0x0)
    at object.c:680
#21 0x080b7cf0 in mono_runtime_run_main (method=0x81dd040, argc=16, 
    argv=0xbfbff90c, exc=0x0) at object.c:618
#22 0x080a7b11 in mono_jit_exec (domain=0x8139300, assembly=0x81c2f80, argc=17, 
    argv=0xbfbff908) at jit.c:4025
#23 0x080590b5 in main (argc=18, argv=0xbfbff904) at mono.c:347
#24 0x08058195 in _start ()
(gdb) q
bash-2.05a$ exit
exit

Script done on Tue Dec 24 14:48:46 2002


Should variable obj be NULL in #18 and #19?

-- 

Regards

Peter

As always the organisation disavows knowledge of this email