Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 18:55:09 -0500
From:      Tom McLaughlin <tmclaugh@sdf.lonestar.org>
To:        Henrik =?ISO-8859-1?Q?J=F6nsson?= <henke@acc.umu.se>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: mono-1.0.5_1
Message-ID:  <1106956509.770.8.camel@compass.straycat.dhs.org>
In-Reply-To: <41FA7918.9060801@acc.umu.se>
References:  <41FA7918.9060801@acc.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2005-01-28 at 18:40 +0100, Henrik Jönsson wrote:
> Hi
> 
> I'm having trouble running an external program and read its stdout. 
> Example code (compiled with "mcs Main.cs") works fine in Linux and Windows:
> 
> <snip>
> 
> The errors I get when running "mono Main.exe" are different depending on 
> FreeBSD version.
> 
> 4.11:
> ** (Main.exe:82656): CRITICAL **: file mono-hash.c: line 239 
> (mono_g_hash_table_lookup): assertion `hash_table != NULL' failed
> 
> ** ERROR **: file reflection.c: line 8047 
> (mono_reflection_lookup_dynamic_token): assertion failed: (obj)
> aborting...
> Abort trap (core dumped)
> 

Don't bother with FreeBSD 4.x.  It's never worked and at this point I
don't see it happening at all.

> 
> Freshly installed 5.3:
> Assertion failed: (lu->lu_myreq->lr_owner == lu), function 
> _lock_acquire, file /usr/src/lib/libpthread/sys/lock.c, line 171.
> Abort trap (core dumped)
> 

Your best bet is to see how this fairs on a recent FreeBSD-current
install.  There are a number of changes to libpthread there which affect
Mono.  If it runs, then hopefully those fixes will be MFCed for 5.4.  If
not, I'd generate a backtrace for bin/mono and bring it to
freebsd-threads@ and see what they say so the crash can be fixed for a
future release.  Thanks.

Tom

> 
> Let me know if you need more info.
> 
> Regards Henke

-- 

BSD# Project - Porting Mono to FreeBSD
http://forge.novell.com/modules/xfmod/project/?bsd-sharp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1106956509.770.8.camel>