From owner-freebsd-threads@FreeBSD.ORG Thu Mar 3 07:04:47 2005 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB36916A4CE; Thu, 3 Mar 2005 07:04:47 +0000 (GMT) Received: from straycat.dhs.org (h0050da134090.ne.client2.attbi.com [24.60.174.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 457F643D2F; Thu, 3 Mar 2005 07:04:47 +0000 (GMT) (envelope-from tmclaugh@sdf.lonestar.org) Received: from compass.straycat.dhs.org (compass.straycat.dhs.org [192.168.1.48]) by straycat.dhs.org (8.13.0/8.13.0) with ESMTP id j2375ZGK015407; Thu, 3 Mar 2005 02:05:44 -0500 (EST) From: Tom McLaughlin To: David Xu In-Reply-To: <422649AF.5090606@freebsd.org> References: <1109551418.782.30.camel@compass.straycat.dhs.org> <1109742079.777.15.camel@compass.straycat.dhs.org> <422649AF.5090606@freebsd.org> Content-Type: text/plain Date: Thu, 03 Mar 2005 02:05:04 -0500 Message-Id: <1109833505.777.80.camel@compass.straycat.dhs.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: Mono's XSP crashes on browser connection X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 07:04:48 -0000 On Thu, 2005-03-03 at 07:18 +0800, David Xu wrote: > This is caused by a memory corrupted problem, there was some reports , > but current I don't know what caused it, it is worth to disable GC code in > mono and see if the problem still occurs ? > > David Xu > > Tom McLaughlin wrote: > > >Alright, people can ignore this Mono crash and just look at the mcs one > >in my other email. Both XSP and mcs are experiencing the same bug it > >looks like and the mcs code is much simpler and easier to illustrate. > >Sorry for the noise. I'm just trying to bang these out since I've been > >sitting on them so long. Thanks. > > > >Tom > > > > > 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. 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