Crash in arenas_cleanup on linux x86-64

Jason Evans jasone at canonware.com
Mon Apr 2 13:59:18 PDT 2012


On Mar 31, 2012, at 12:12 AM, Mike Hommey wrote:
> 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.

The "(nil)" output is a glibc-ism, so matching output on all platforms would require some conditional logic.  I just ripped out the validation code to keep the mess from getting even bigger.

Thanks,
Jason


More information about the jemalloc-discuss mailing list