From owner-freebsd-gnome@FreeBSD.ORG Mon Oct 6 21:18:46 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A48616A4B3 for ; Mon, 6 Oct 2003 21:18:46 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37CC343FE3 for ; Mon, 6 Oct 2003 21:18:45 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])h974GPVx015043; Tue, 7 Oct 2003 00:16:25 -0400 (EDT) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) h974IR1v020417; Tue, 7 Oct 2003 00:18:27 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Jay Cornwall In-Reply-To: <3F820179.80100@evilrealms.net> References: <3F81E292.8070308@evilrealms.net> <1065477237.748.95.camel@gyros> <3F820179.80100@evilrealms.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4UHAnH0haDw5J8smr+p4" Organization: MarcusCom, Inc. Message-Id: <1065500318.33346.14.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 07 Oct 2003 00:18:39 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on creme-brulee.marcuscom.com cc: FreeBSD GNOME Users Subject: Re: FreeBSD Current lang/mono runtime problems X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 04:18:46 -0000 --=-4UHAnH0haDw5J8smr+p4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-10-06 at 19:57, Jay Cornwall wrote: > Joe Marcus Clarke wrote: >=20 > >>[jay@python mono]$ mcs --version > >>Mono C# compiler version 0.27.0.0 > >> > >>And never finishes. I tried to get an strace, but that seems to have=20 > >>issues with a missing /proc filesystem. Is there any more useful=20 > >>information I can obtain under FreeBSD to help debug this? >=20 > > Mono doesn't work on FreeBSD. The problem seems to be in the garbage > > collector. If you build mono without GC, it should work okay (but neve= r > > release memory). >=20 > Ah, hmm. >=20 > > Honestly, gnome@ doesn't really want mono since no one here is really a > > C# user. We are keeping it since one of our developers, Juli Mallett, > > has been busy, but wants to get back into Mono. In the meantime, if yo= u > > want to look at improving boehm-gc on FreeBSD, I'm sure your > > contributions will not be turned down. >=20 > Well I've had a brief look tonight, but free time is a little on the=20 > short side at the moment. >=20 > It seems a segfault occurs inside mono-0.28/mono/mini.c:7291,=20 > sigusr1_signal_handler(). In order to identify the thread (through=20 > mono_current_thread()), mono/metadata/threads.c stores the MonoThread *=20 > in a thread-local structure using pthread_setspecific in previously=20 > called methods of mono/metadata/threads.c. >=20 > Dropping in a few debug statements shows that a thread is entering=20 > sigusr1_signal_handler() that hasn't previously had its MonoThread * set=20 > (it may not even be a MonoThread, for all I know). That's the direct=20 > reason for the crash - to find the indirect reason, i.e. why this thread=20 > is entering without its MonoThread * set, will take me a bit longer. >=20 > Enough technobabble, I'll try and find the bug and fix it! Should be working now. Give 0.28_1 a shot. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-4UHAnH0haDw5J8smr+p4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/gj6eb2iPiv4Uz4cRAllZAJkBfOJSDjLgJcrib/G9izGN7uf1VACfZUFW UL1Pp0RZwdulghtutf9SG18= =FXt0 -----END PGP SIGNATURE----- --=-4UHAnH0haDw5J8smr+p4--