[Mono-devel-list] SIGILL on FreeBSD
Paolo Molaro
lupus at ximian.com
Thu May 15 13:53:28 EDT 2003
On 05/14/03 Martin Dvorak wrote:
> I am finally able to pass all tests in mono/tests directory under
> FreeBSD 5-CURRENT without gc. Everything seems to work well except for
> compilation of mcs.exe which core dumps with illegal instruction signal.
> The same happens in case of oldmono and mint. Unfortunately I do not
> know mono inner-workings much yet, so I would really appreciate if
> somebody could help me track this bug. Backtrace excerpt included.
> mono bt
You may want to do a:
thread apply all bt
do get backtraces for all the threads.
> #0 0x283d99b7 in malloc (size=40) at /usr/src/lib/libc/stdlib/malloc.c:1102
> #1 0x283cd0b3 in calloc (num=1, size=40) at /usr/src/lib/libc/stdlib/calloc.c:58
In this case the issue seems to happen in malloc...
Two ideas: how big is the default stack space for a thread in freebsd?
Can you check it's not overflowed (print $esp is useful here)?
What processor type are you using? At least the stuff in io-layer/atomic.h
works on 486+ only, if you have a 386 that could explain a SIGILL....
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list