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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 


-- 
Regards,
Eric


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to