FreeBSD Port: mono-1.0.5_1

Tom McLaughlin tmclaugh at sdf.lonestar.org
Fri Jan 28 15:55:06 PST 2005


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



More information about the freebsd-ports mailing list