You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2013/05/12 16:15:16 UTC

[jira] [Commented] (TS-1891) Add double-free checking for reclaimable freelist

    [ https://issues.apache.org/jira/browse/TS-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655542#comment-13655542 ] 

Zhao Yongming commented on TS-1891:
-----------------------------------

hmm, not able to build in rpm:
{code}
cc1plus: warnings being treated as errors
In file included from /usr/include/string.h:642,
                 from /usr/include/memory.h:30,
                 from ink_queue_ext.cc:32:
In function 'void* memset(void*, int, size_t)',
    inlined from 'InkChunkInfo* ink_chunk_create(InkFreeList*, InkThreadCache*)' at ink_queue_ext.cc:298:
/usr/include/bits/string3.h:82: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters
  CXX    ink_string++.lo
make[3]: *** [ink_queue_ext.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/trafficserver-3.3.3-dev/lib/ts'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/trafficserver-3.3.3-dev/lib/ts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/trafficserver-3.3.3-dev/lib'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.stjbqd (%build)
{code}
                
> Add double-free checking for reclaimable freelist
> -------------------------------------------------
>
>                 Key: TS-1891
>                 URL: https://issues.apache.org/jira/browse/TS-1891
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Yunkai Zhang
>         Attachments: 0001-Add-double-free-checking-for-reclaimable-freelist.patch
>
>
> double-free checking is very useful for us to analyze memory issues.
> So, I introduce this feature to recalimable freelist.
> The double-free checking for reclaimable freelist is disable by default,
> users can enable it by setting the following option in records.config:
> {code}
>   CONFIG proxy.config.allocator.check_double_free INT 1
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira