I am LD_PRELOADing jemalloc library. I can see that redzone violation works
well but not double free detection.

On Mon, Feb 2, 2015 at 10:51 PM, Rogier 'DocWilco' Mulhuijzen <
rog...@fastly.com> wrote:

> Are you sure you have linked to jemalloc? That's something I've messed up
> in the past.
> On 2 Feb 2015 06:24, "SNL" <snl20...@gmail.com> wrote:
>
>> Any inputs will be really helpful.
>>
>> On Fri, Jan 30, 2015 at 8:48 PM, SNL <snl20...@gmail.com> wrote:
>>
>>>
>>>
>>> Two questions:
>>>
>>>
>>> 1. I am using jemalloc-dev version and configured it as follows
>>>
>>> ./configure --enable-debug --enable-fill --enable-ivsalloc
>>> --disable-tcache
>>>
>>>
>>> I am running following simple test case but double free is not detected,
>>> what am I missing ?
>>>
>>>
>>> int main()
>>> {
>>>     char * ptr = malloc(1024);
>>>     free(ptr);
>>>     free(ptr);
>>>     return 0;
>>> }
>>>
>>>
>>> 2.  Is quarantine basically a per thread free list ? How does it
>>> interact with tcache ?
>>>
>>>
>>> Cheers.
>>>
>>
>>
>>
>> --
>>
>> Cheers,
>> Sunny.
>>
>> _______________________________________________
>> jemalloc-discuss mailing list
>> jemalloc-discuss@canonware.com
>> http://www.canonware.com/mailman/listinfo/jemalloc-discuss
>>
>>


-- 

Cheers,
Sunny.
_______________________________________________
jemalloc-discuss mailing list
jemalloc-discuss@canonware.com
http://www.canonware.com/mailman/listinfo/jemalloc-discuss

Reply via email to