From owner-freebsd-gnome@FreeBSD.ORG Tue Oct 7 09:22:15 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 C7B8D16A4B3 for ; Tue, 7 Oct 2003 09:22:15 -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 4FE2D43FA3 for ; Tue, 7 Oct 2003 09:22:14 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])h97GJrVx025738; Tue, 7 Oct 2003 12:19:53 -0400 (EDT) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h97GLc1v026083; Tue, 7 Oct 2003 12:21:38 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Jay Cornwall In-Reply-To: <3F82BA8B.8070206@evilrealms.net> References: <3F81E292.8070308@evilrealms.net> <1065477237.748.95.camel@gyros> <3F820179.80100@evilrealms.net> <1065500318.33346.14.camel@shumai.marcuscom.com> <3F82BA8B.8070206@evilrealms.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0HofOxPCXx1QFqlOP3G9" Organization: MarcusCom, Inc. Message-Id: <1065543719.762.10.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 07 Oct 2003 12:21:59 -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 16:22:15 -0000 --=-0HofOxPCXx1QFqlOP3G9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-10-07 at 09:07, Jay Cornwall wrote: > Joe Marcus Clarke wrote: >=20 > > Should be working now. Give 0.28_1 a shot. >=20 > Nearly there! MCS compiles the C# program fine now. Mono is even able > to run the program correctly, but there seems to be a lingering bug in > garbage cleanup when the program has finished running. >=20 > (repeats another 2338 times) > #2339 0x2818c720 in GC_clear_stack_inner (arg=3D0x8127a60 "", limit=3D321= 3800832) > at misc.c:290 > #2340 0x2818c720 in GC_clear_stack_inner (arg=3D0x8127a60 "", limit=3D321= 3800832) > at misc.c:290 > #2341 0x2818c85c in GC_clear_stack (arg=3D0x8127a60 "") at misc.c:361 > #2342 0x281887c2 in GC_malloc (lb=3D12) at malloc.c:295 > #2343 0x28178c9e in g_hash_node_new (key=3D0xf2c0002, value=3D0x8098fc8) > at mono-hash.c:301 > #2344 0x28177e80 in mono_g_hash_table_insert (hash_table=3D0x808cfe0, > key=3D0xf2c0002, value=3D0x8098fc8) at mono-hash.c:371 > #2345 0x28176884 in TlsSetValue (idx=3D2, value=3D0x8098fc8) at threads.c= :796 > #2346 0x2814fe0b in mono_domain_set (domain=3D0x808ff50) at domain.c:499 > #2347 0x2812eaa3 in run_finalize (obj=3D0x8123f80, data=3D0x0) at gc.c:70 > #2348 0x28186d56 in GC_invoke_finalizers () at finalize.c:787 > #2349 0x2812f445 in finalizer_thread (unused=3D0x0) at gc.c:485 > #2350 0x28176eef in timed_thread_start_routine (args=3D0x80f6680) > at timed-thread.c:115 > #2351 0x2807c50e in _thread_start () from /usr/lib/libc_r.so.5 >=20 > Any ideas on this one, or should I get hacking the libgc code? :) Your most likely going to need to hack the libgc code big-time. It doesn't work in its multi-threaded form on FreeBSD, and this is probably what mono expects. Good luck. Joe >=20 > Thanks for the patches. --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-0HofOxPCXx1QFqlOP3G9 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/gugnb2iPiv4Uz4cRAgAnAJ4tup9+VOGq4QIeusyLrtmFionGCACgpqQY nPRl2Onl/jRzr/udRhLrQZ8= =6901 -----END PGP SIGNATURE----- --=-0HofOxPCXx1QFqlOP3G9--