You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Susan Hinrichs (JIRA)" <ji...@apache.org> on 2014/11/07 23:37:34 UTC

[jira] [Closed] (TS-1254) Using TSMimeHdrFieldDestroy after TSMimeHdrFieldRemove asserts when using --enable-debug

     [ https://issues.apache.org/jira/browse/TS-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Susan Hinrichs closed TS-1254.
------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 5.3.0)

> Using TSMimeHdrFieldDestroy after TSMimeHdrFieldRemove asserts when using --enable-debug
> ----------------------------------------------------------------------------------------
>
>                 Key: TS-1254
>                 URL: https://issues.apache.org/jira/browse/TS-1254
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: MIME
>            Reporter: B Wyatt
>            Assignee: Susan Hinrichs
>            Priority: Minor
>
> ts.h indicates that if you wish to destroy a "removed" header you should call TSMimeHdrFieldDestroy and TSHandleMLocRelease, however when --enable-debug is passed to configure the following assert is hit:
> {noformat}FATAL: MIME.cc:1496: failed assert `field->is_live()`{noformat}
> it seems that this assert would trip for any call to mime_hdr_field_delete if the field was previously detached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)