Date: Thu, 03 Mar 2005 02:36:05 -0500 From: Tom McLaughlin <tmclaugh@sdf.lonestar.org> To: David Xu <davidxu@freebsd.org> Cc: freebsd-threads@freebsd.org Subject: Re: Mono's XSP crashes on browser connection Message-ID: <1109835366.777.95.camel@compass.straycat.dhs.org> In-Reply-To: <4226B9DC.7040405@freebsd.org> References: <1109551418.782.30.camel@compass.straycat.dhs.org> <1109742079.777.15.camel@compass.straycat.dhs.org> <422649AF.5090606@freebsd.org> <1109833505.777.80.camel@compass.straycat.dhs.org> <4226B9DC.7040405@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-03-03 at 15:16 +0800, David Xu wrote: > Tom McLaughlin wrote: > > >Disabling garbage collection in Mono prevents the crash but after > >executing the external process the C# program does not continue on, it > >just sits there. So that isn't a viable option for regular use. > > > > > > > Can you give me example code (executing external program) ? I don't know C# > but want to try. > Here you go. The second one yields a slightly different error but it more closely matches the code in the program where I first tracked down this bug. when using gdb with these examples do one of the following: $ gdb /usr/local/bin/mono mono.core -or- $ gdb /usr/local/bin/mono (gdb) run /path/to/foo.exe simple example: --------------- using System.Diagnostics; class T { static void Main() { Process.Start ("ls"); } } --------------- Second example: --------------- using System.Diagnostics; class T { static void Main() { ProcessStartInfo pi = new ProcessStartInfo (); pi.FileName = "ls"; pi.RedirectStandardOutput = true; pi.UseShellExecute = false; pi.Arguments = "-al"; Process.Start (pi); } } --------------- Thanks for taking a look at this. This bug is making creating ports a pain. The mcs compiler uses this when called with the /pkg flag. It's also keeping XSP and MonoDevelop out of the ports tree. Those are two of the programs I see most requested. Tom > >Worse, mono ships with Boehm 6.2. I linked against 6.4 from ports > >(where threading support is not even enabled by default) and Mono is now > >failing to compile. Mono's mcs compiler hangs at the same spot on > >-STABLE and -CURRENT. Once Mono imports a later Boehm, FreeBSD is in > >for some serious problems. > > > >Tom > > > > > -- 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?1109835366.777.95.camel>