<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I encounted the same problem, double free was not detected while
linking with jemalloc.<br>
<div class="moz-cite-prefix">在 2015-2-3 1:21, Rogier 'DocWilco'
Mulhuijzen 写道:<br>
</div>
<blockquote
cite="mid:CAF05Cc-4QGmHYpdvxvMa3ZmY4dcTkA2k8Z0bKOg67mpvv3=ZiQ@mail.gmail.com"
type="cite">
<p dir="ltr">Are you sure you have linked to jemalloc? That's
something I've messed up in the past. </p>
<div class="gmail_quote">On 2 Feb 2015 06:24, "SNL" <<a
moz-do-not-send="true" href="mailto:snl20465@gmail.com">snl20465@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Any inputs will be really helpful.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 30, 2015 at 8:48 PM,
SNL <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:snl20465@gmail.com" target="_blank">snl20465@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>Two questions:</div>
<div><br>
</div>
<div><br>
</div>
<div>1. I am using jemalloc-dev version and configured
it as follows</div>
<div><br>
</div>
<div>./configure --enable-debug --enable-fill
--enable-ivsalloc --disable-tcache<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I am running following simple test case but
double free is not detected, what am I missing ?</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div>int main()</div>
<div>{</div>
<div> char * ptr = malloc(1024);</div>
<div> free(ptr);</div>
<div> free(ptr);</div>
<div> return 0;</div>
<div>}</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>2. Is quarantine basically a per thread free
list ? How does it interact with tcache ?</div>
<div><br>
</div>
<div><br>
</div>
<div>Cheers.</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div><br>
Cheers,<br>
Sunny. <br>
</div>
</div>
<br>
_______________________________________________<br>
jemalloc-discuss mailing list<br>
<a moz-do-not-send="true"
href="mailto:jemalloc-discuss@canonware.com">jemalloc-discuss@canonware.com</a><br>
<a moz-do-not-send="true"
href="http://www.canonware.com/mailman/listinfo/jemalloc-discuss"
target="_blank">http://www.canonware.com/mailman/listinfo/jemalloc-discuss</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jemalloc-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jemalloc-discuss@canonware.com">jemalloc-discuss@canonware.com</a>
<a class="moz-txt-link-freetext" href="http://www.canonware.com/mailman/listinfo/jemalloc-discuss">http://www.canonware.com/mailman/listinfo/jemalloc-discuss</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
王楠 技术研发中心
---------------------------------
==专业·责任·服务==
中国互联网络信息中心 CNNIC
网 址: <a class="moz-txt-link-abbreviated" href="http://www.cnnic.cn">www.cnnic.cn</a>
中国互联网络信息中心.中国
地 址: 北京市海淀区中关村南4街4号
北京349信箱6分箱(100080)
---------------------------------
Nan WANG
Research&Development Center
= =Profession • Responsibility • Service= =
China Internet Network Information Center (CNNIC)
Website: <a class="moz-txt-link-abbreviated" href="http://www.cnnic.cn">www.cnnic.cn</a>
中国互联网络信息中心.中国
Add: 4th Zhongguancun Nansijie, Haidian District, Beijing 100190, China
POB: Beijing 349, Branch 6</pre>
</body>
</html>