Re: malloc problems in -current malloc_usable_size()

From: Mark Atkinson <atkin901_at_gmail.com>
Date: Tue, 02 Mar 2010 09:21:27 -0800
On 03/02/10 09:03, John Baldwin wrote:
> On Tuesday 02 March 2010 11:38:57 am Mark Atkinson wrote:
>> Hi,
>>
>> I updated my kernel/world yesterday and thunderbird 3.0.2 started core
>> dumping after I completed the upgrade.   It continued to do so on
>> previously good operations after a full re-compile.
>>
>> I noticed that some jemalloc changes went in and was wondering if anyone
>> else was noticing SEGV problems in other apps with malloc_usable_size()
>> or ARENA problems in threaded apps?
> 
> This may be a bug in gssapi rather than malloc().  Someone else was reporting 
> segfaults from gss_release_buffer() because it was free()ing a bad pointer
> when using gssapi_krb5.
> 

Thanks for that tip, I didn't associated that with the LDAP thread until
now.   LD_PRELOAD ing a dummy gss_release_buffer() stops the
segfaulting.   Curious it only showed up after I updated.  I had an Jan
11th kernel/world earlier.
Received on Tue Mar 02 2010 - 16:21:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC