Crash in arenas_cleanup on linux x86-64

Mike Hommey mh+jemalloc at glandium.org
Sat Mar 31 00:12:32 PDT 2012


On Fri, Mar 30, 2012 at 12:18:14PM -0700, Jason Evans wrote:
> On Mar 29, 2012, at 8:34 AM, Mike Hommey wrote:
> > I haven't reproduced in a simpler testcase, but I could reproduce the
> > failing circumstances in a local Firefox build, with a debugger, and
> > here is roughly what happens:
> > 
> > […]
> 
> Thank you very much for figuring this out!  I think this is now fixed by:
> 
> 	http://www.canonware.com/cgi-bin/gitweb.cgi?p=jemalloc.git;a=commitdiff;h=09a0769ba7a3d139168e606e4295f8002861355f
> 
> Can you give it a try, please?

I will.

Before I forget, I'll just mention that malloc_printf fails when
building with --enable-debug, and using %p for a NULL pointer, because
its implementation prints "0x0", but vsnprintf printfs "(nil)", so the
asserts to compare vsnprintf output fail.

Cheers,

Mike



More information about the jemalloc-discuss mailing list