malloc problems in -current malloc_usable_size()
atkin901 at gmail.com
Wed Mar 17 15:07:02 UTC 2010
On 03/02/10 09:21, Mark Atkinson wrote:
> On 03/02/10 09:03, John Baldwin wrote:
>> On Tuesday 02 March 2010 11:38:57 am Mark Atkinson wrote:
>>> 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.
Just a quick note,
I found that using sasl 2 will also avoid the problem
cyrus-sasl-2.1.23 RFC 2222 SASL (Simple Authentication and Security Layer)
More information about the freebsd-current