Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2008 21:46:44 -0500
From:      Eric Schuele <e.schuele@computer.org>
To:        Jason Evans <jasone@freebsd.org>
Cc:        ports <ports@freebsd.org>
Subject:   Re: Trouble building guile 1.8.4 (segfault in gen-scmconfig)
Message-ID:  <48290114.7030300@computer.org>
In-Reply-To: <48189FC3.4010701@FreeBSD.org>
References:  <4812AC7C.5050202@computer.org> <48164221.6000704@FreeBSD.org>	<4818977B.3040202@computer.org> <48189FC3.4010701@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig15844054F21190AB7A2AB8C8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/30/2008 11:35, Jason Evans wrote:
> Eric Schuele wrote:
>> On 04/28/2008 16:31, Jason Evans wrote:
>>> What is liblthread? =20
>>
>> linuxthreads, as Mezz mentioned.
>>
>>> It looks to be interacting badly with malloc.
>>
>> ok.  any thoughts as to why, or how to fix it?
>=20
> Most likely, the linuxthreads port is allocating memory within one of
> the pthread_mutex-related functions (pthread_mutex_init()?), which is
> causing infinite recursion.  The easy solution is to stop using
> linuxthreads. =20

For the archives:
Removing linuxthreads (which was not being used by anything on my
system) did in fact solve the issue.

Thanks to all.

> The hard solution is to modify linuxthreads, possibly by
> implementing _pthread_mutex_init_calloc_cb(), in order to avoid
> recursion during initialization of malloc's internal mutexes.
>=20
> Jason
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org=
"
>=20
>=20


--=20
Regards,
Eric



--------------enig15844054F21190AB7A2AB8C8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkgpARQACgkQngSDRM3IXUq4ZgCfVE1bIZ7qfrGgTucVioqd9cNW
4AoAoOr7Mtx4td2xHduW2hP9COFUZCLt
=betg
-----END PGP SIGNATURE-----

--------------enig15844054F21190AB7A2AB8C8--



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