[Mono-dev] [bsd-sharp] Re: Mono 2.0 and FreeBSD

Phillip N. pneumann at gmail.com
Wed Dec 10 18:12:42 EST 2008


El mié, 10-12-2008 a las 16:08 +0100, Romain Tartière escribió:
> always with the message ...
> | Program received signal SIGFPE, Arithmetic exception.
> ... in gdb.
> 
> Phillip, did you tweaked something else? Do you run i386?
> 
Hi Romain (and all...)

The effect of the modification of mini.c vary between amd64 and i386.
[ #undef MONO_ARCH_SIGSEGV_ON_ALTSTACK ]

On i386 when enabling --with-signaltstack=no thing does not work as on
amd64. Not work, meaning the modification above does not fix the test
failures.
So currently im setting it to yes on i386 on the port's Makefile (please
test it!)

Currently, on amd64 things seem to work quite fine.

On the other side, often on i386 i see the following message:

"Thread 8363c00 has exited with leftover thread-specific data after 4
destructor iterations"

This is not "mortal" as things works out fine. For example Velocity or
FSpot works ok (i could not run before the modification to mini.c).

Some time ago i reported this on the amd64 architecture, wich no longer
has the problem: https://bugzilla.novell.com/show_bug.cgi?id=323290
This bug could be close. At least for me, things works fine on amd64.

But, the same is present on i386 now.
Can this be related to that on i386 --with-signaltstack=no, things
doesnt work?
Could i report more details, to help fix this i386 problem? 


Bugs related to this, that from my point of view, could be closed:
https://bugzilla.novell.com/show_bug.cgi?id=349054
https://bugzilla.novell.com/show_bug.cgi?id=448131
https://bugzilla.novell.com/show_bug.cgi?id=376618


Thanks!



[killfill at flash ~]$ mono -V
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors.
www.mono-project.com
	TLS:           __thread
	GC:            Included Boehm (with typed GC)
	SIGSEGV:       normal
	Notification:  Thread + polling
	Architecture:  amd64
	Disabled:      none



[killfill at pcbsd ~]$ mono -V
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notification:  Thread + polling
        Architecture:  x86
        Disabled:      none







More information about the Mono-devel-list mailing list