malloc problems in -current malloc_usable_size()

Mark Atkinson atkin901 at gmail.com
Tue Mar 2 17:21:47 UTC 2010


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.



More information about the freebsd-current mailing list