Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Mar 2010 09:21:27 -0800
From:      Mark Atkinson <atkin901@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: malloc problems in -current malloc_usable_size()
Message-ID:  <hmjheo$ckn$1@dough.gmane.org>
In-Reply-To: <201003021203.00582.jhb@freebsd.org>
References:  <hmjev2$qhm$1@dough.gmane.org> <201003021203.00582.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hmjheo$ckn$1>