valgrind 3.8.1 warnings when doing calloc in jemalloc 3.4

Jason Evans jasone at canonware.com
Sat Oct 19 21:46:18 PDT 2013


On Jul 8, 2013, at 9:23 AM, Piyush Patel <piyush at netskope.com> wrote:
> I've ran into similar issue that Daniel Mezzato ran into(email thread around Dec 11, 2012).  I get following warnings:
> 
> ==28997== Conditional jump or move depends on uninitialised value(s)
> ==28997==    at 0x4E438C1: arena_run_split (arena.c:454)
> ==28997==    by 0x4E441DF: arena_run_alloc_helper (arena.c:645)
> ==28997==    by 0x4E469ED: arena_malloc_large (arena.c:665)
> ==28997==    by 0x4E3BA48: calloc (arena.h:930)
> ==28997==    by 0x400661: main (jemalloc_test.cpp:8)
> ==28997== 
> ==28997== Conditional jump or move depends on uninitialised value(s)
> ==28997==    at 0x4E438E9: arena_run_split (arena.c:454)
> ==28997==    by 0x4E441DF: arena_run_alloc_helper (arena.c:645)
> ==28997==    by 0x4E469ED: arena_malloc_large (arena.c:665)
> ==28997==    by 0x4E3BA48: calloc (arena.h:930)
> ==28997==    by 0x400661: main (jemalloc_test.cpp:8)

A fix is now available in the dev branch:

	https://github.com/jemalloc/jemalloc/commit/87a02d2bb18dbcb2955541b849bc95862e864803

Thanks,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20131019/e131edbf/attachment.html>


More information about the jemalloc-discuss mailing list