FreeBSD Current lang/mono runtime problems

Joe Marcus Clarke marcus at marcuscom.com
Mon Oct 6 21:18:46 PDT 2003


On Mon, 2003-10-06 at 19:57, Jay Cornwall wrote:
> Joe Marcus Clarke wrote:
> 
> >>[jay at python mono]$ mcs --version
> >>Mono C# compiler version 0.27.0.0
> >>
> >>And never finishes. I tried to get an strace, but that seems to have 
> >>issues with a missing /proc filesystem. Is there any more useful 
> >>information I can obtain under FreeBSD to help debug this?
> 
> > Mono doesn't work on FreeBSD.  The problem seems to be in the garbage
> > collector.  If you build mono without GC, it should work okay (but never
> > release memory).
> 
> Ah, hmm.
> 
> > Honestly, gnome@ doesn't really want mono since no one here is really a
> > C# user.  We are keeping it since one of our developers, Juli Mallett,
> > has been busy, but wants to get back into Mono.  In the meantime, if you
> > want to look at improving boehm-gc on FreeBSD, I'm sure your
> > contributions will not be turned down.
> 
> Well I've had a brief look tonight, but free time is a little on the 
> short side at the moment.
> 
> It seems a segfault occurs inside mono-0.28/mono/mini.c:7291, 
> sigusr1_signal_handler(). In order to identify the thread (through 
> mono_current_thread()), mono/metadata/threads.c stores the MonoThread * 
> in a thread-local structure using pthread_setspecific in previously 
> called methods of mono/metadata/threads.c.
> 
> Dropping in a few debug statements shows that a thread is entering 
> sigusr1_signal_handler() that hasn't previously had its MonoThread * set 
> (it may not even be a MonoThread, for all I know). That's the direct 
> reason for the crash - to find the indirect reason, i.e. why this thread 
> is entering without its MonoThread * set, will take me a bit longer.
> 
> Enough technobabble, I'll try and find the bug and fix it!

Should be working now.  Give 0.28_1 a shot.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20031007/da1b9f0c/attachment.bin


More information about the freebsd-gnome mailing list