[Mono-list] FreeBSD + mono/xsp

Tom McLaughlin tmclaugh@sdf.lonestar.org
Wed, 12 Jan 2005 18:13:48 -0500


On Mon, 2005-01-10 at 15:10 -0500, Ken wrote:
> Hi,
> 
> Is it possible to get the XSP server working under FreeBSD 5.3-release? So far I haven't had any luck and using mod_mono is generating similar errors. 
> 
> I'm using the latest FreeBSD ports version of mono and the latest XSP version found on the mono home page. When I attempt to access a page from the XSP server I get a Segmentation Fault. gdb gives the following:
> 
> #0  0x2837edb0 in __error () from /usr/lib/libpthread.so.1
> #1  0x28372077 in _pthread_mutex_trylock () from /usr/lib/libpthread.so.1
> #2  0x283735e3 in pthread_mutex_lock () from /usr/lib/libpthread.so.1
> #3  0x2816f561 in WaitForSingleObjectEx (handle=0xe46, timeout=500, alertable=0) at handles-private.h:100
> #4  0x2816638e in CreateProcess (appname=0x17, cmdline=0x824000c, process_attrs=0x0, thread_attrs=0x0,
>     inherit_handles=1, create_flags=1024, new_environ=0x0, cwd=0x0, startup=0xbf4e9a90, process_info=0xbf4e9a80)
>     at processes.c:437
> #5  0x281372be in ves_icall_System_Diagnostics_Process_Start_internal (appname=0x85cf708, cmd=0x8240000,
>     dirname=0x8404a30, stdin_handle=0x0, stdout_handle=0x0, stderr_handle=0x0, process_info=0xbf4e9c68)
>     at process.c:906
> 
> Any ideas and has anyone successfully gotten it working yet?
> 
> Thanks,
> 
> -Ken
> 

I've never gotten XSP to work on FreeBSD.  Your best bet is running XSP
with a combination of FreeBSD-current and Mono 1.1.x.  I've been trying
to get time to install FreeBSD-current to see how XSP fairs with the
latest threading changes that have been made.  There are a large number
of threading fixes that will hopefully be MFCed for 5.4.

By the way, if you're interested in Mono on FreeBSD see the link in my
sig.  (For better or worse since I've just started learning C# :) I
maintain most of the C# ports and I keep after Mono for the maintainer.
I also have some ports not in the FreeBSD ports tree, including XSP.

Tom

-- 

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