Trouble building guile 1.8.4 (segfault in gen-scmconfig)
Jason Evans
jasone at FreeBSD.org
Wed Apr 30 16:35:17 UTC 2008
Eric Schuele wrote:
> On 04/28/2008 16:31, Jason Evans wrote:
>> What is liblthread?
>
> linuxthreads, as Mezz mentioned.
>
>> It looks to be interacting badly with malloc.
>
> ok. any thoughts as to why, or how to fix it?
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. 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.
Jason
More information about the freebsd-ports
mailing list