From owner-freebsd-threads@FreeBSD.ORG Thu Mar 3 07:14:14 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 91A3F16A4CE; Thu, 3 Mar 2005 07:14:14 +0000 (GMT) Received: from lakermmtao09.cox.net (lakermmtao09.cox.net [68.230.240.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6D1643D48; Thu, 3 Mar 2005 07:14:13 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao09.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050303071411.WOKQ28448.lakermmtao09.cox.net@mezz.mezzweb.com>; Thu, 3 Mar 2005 02:14:11 -0500 To: "Tom McLaughlin" 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> Message-ID: Date: Thu, 03 Mar 2005 01:15:24 -0600 From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <1109833505.777.80.camel@compass.straycat.dhs.org> User-Agent: Opera M2/7.54 (Linux, build 955) cc: David Xu 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:14:14 -0000 On Thu, 03 Mar 2005 02:05:04 -0500, Tom McLaughlin wrote: > 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. I bet if you grab mono/files/patch-libgc_include_private_gcconfig.h and merge in boehm port should solve the hang problem. It's untest, btw. In case if you are wondering why it need this patch, you can check this link. http://forge.novell.com/modules/xfmod/maillist/archbrowse.php/bsd-sharp-list/2005-February/000150.html?id=1498&prjname=bsd-sharp&mlname=list Cheers, Mezz > Tom -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org