Trouble building guile 1.8.4 (segfault in gen-scmconfig)

Eric Schuele e.schuele at computer.org
Tue May 13 02:46:46 UTC 2008


On 04/30/2008 11:35, Jason Evans wrote:
> 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.  

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.
> 
> Jason
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 
> 


-- 
Regards,
Eric


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080513/d0a8edbb/signature.pgp


More information about the freebsd-ports mailing list