[Mono-dev] Mono 2.0 and FreeBSD

Romain Tartière romain at blogreen.org
Mon Dec 8 10:14:45 EST 2008


Hello Zoltan!

On Mon, Dec 08, 2008 at 03:07:33PM +0100, Zoltan Varga wrote:
> It is possible that freebsd changes broke mono, not mono changes.
Well, working with mono-1.2.5.1 on my FreeBSD 7.1-PRERELEASE box is
okay. Since I can't have mono >=1.2.6 on FreeBSD I am still using it.  I
I can't however be sure that nothing has been changed in FreeBSD since
Mono 1.2.6 was released that could affect mono.

> As for the exception failures, running configure with
> ./configure --with-sigaltstack=no
> might help.
Just tried it. Instead of hanging-on, mono aborts. The backtrace in gdb
is almost the same, plus ~10 frames that look consistent and are related
to signal handling:

gdb ../mini/mono mono.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd"...
Core was generated by `mono'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
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/libicui18n.so.38...done.
Loaded symbols for /usr/local/lib/libicui18n.so.38
Reading symbols from /usr/local/lib/libintl.so.8...done.
Loaded symbols for /usr/local/lib/libintl.so.8
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/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libicuuc.so.38...done.
Loaded symbols for /usr/local/lib/libicuuc.so.38
Reading symbols from /usr/local/lib/libicudata.so.38...done.
Loaded symbols for /usr/local/lib/libicudata.so.38
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x286f5463 in thr_kill () at thr_kill.S:2

warning: Source file is more recent than executable.

2	RSYSCALL(thr_kill)
[New Thread 0x29576c00 (LWP 100399)]
[New Thread 0x29576100 (LWP 100101)]
[New Thread 0x29501100 (LWP 100493)]
(gdb) bt
#0  0x286f5463 in thr_kill () at thr_kill.S:2
#1  0x286aad99 in _thr_send_sig (thread=0x29501100, sig=6) at /usr/src/lib/libthr/thread/thr_kern.c:92
#2  0x286a8c9b in _raise (sig=6) at /usr/src/lib/libthr/thread/thr_sig.c:178
#3  0x28784104 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#4  0x0806d52f in mono_handle_native_sigsegv (signal=11, ctx=0xbfbfdde4) at mini-exceptions.c:1365
#5  0x0820884a in sigsegv_signal_handler (_dummy=11) at mini.c:13441
#6  <signal handler called>
#7  0x08071f91 in mono_arch_is_int_overflow (sigctx=0xbfbfe194, info=0x0) at mini-x86.c:688
#8  0x08208736 in sigfpe_signal_handler (_dummy=8) at mini.c:13344
#9  <signal handler called>
#10 0x299a22db in ?? ()
#11 0xbfbfe804 in ?? ()
#12 0xbfbfe4f4 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000001 in ?? ()
#17 0x00000000 in ?? ()
#18 0x2951903c in ?? ()
#19 0xbfbfe4d8 in ?? ()
#20 0xbfbfe4f4 in ?? ()
#21 0xbfbfe804 in ?? ()
#22 0x0000000a in ?? ()
#23 0xbfbfe4f4 in ?? ()
#24 0x299a2261 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0xbfbfe518 in ?? ()
#28 0x299a21c3 in ?? ()
#29 0x080d8efe in mono_custom_attrs_from_index (image=0x0, idx=0) at reflection.c:7730
Previous frame inner to this frame (corrupt stack?)
(gdb) 

The line « warning: Source file is more recent than executable. » makes
me feel uncomfortable however.

Regards,
Romain

-- 
Romain Tartière <romain at blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081208/be1a8636/attachment-0001.bin 


More information about the Mono-devel-list mailing list