You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/16 22:15:06 UTC
[jira] [Commented] (TS-2940) the Fatal() macro always crashes
[ https://issues.apache.org/jira/browse/TS-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064018#comment-14064018 ]
ASF subversion and git services commented on TS-2940:
-----------------------------------------------------
Commit 2d653e960679e5e3052a53c1499161f1d977d08f in trafficserver's branch refs/heads/master from [~jpeach@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=2d653e9 ]
TS-2940: fix varargs corruption when logging fatal errors
When we call the Fatal() macro, make sure to copy the varargs before
logging the error the second time. Also nuke pointless dlfcn wrappers.
> the Fatal() macro always crashes
> --------------------------------
>
> Key: TS-2940
> URL: https://issues.apache.org/jira/browse/TS-2940
> Project: Traffic Server
> Issue Type: Bug
> Components: Core, Logging
> Reporter: James Peach
>
> {{Diags::error_va}} uses the argument list twice, causing a crash in printf, father than logging a fatal error.
--
This message was sent by Atlassian JIRA
(v6.2#6252)