Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Oct 2003 12:21:59 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Jay Cornwall <jay@evilrealms.net>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: FreeBSD Current lang/mono runtime problems
Message-ID:  <1065543719.762.10.camel@gyros>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1065543719.762.10.camel>