You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/08/23 04:37:16 UTC
[jira] Resolved: (TS-419) Segmentation fault in INKError when error
output is made both in error log and as debug messages
[ https://issues.apache.org/jira/browse/TS-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-419.
------------------------------
Resolution: Fixed
Committed the slightly modified version of this patch. Thanks!
> Segmentation fault in INKError when error output is made both in error log and as debug messages
> --------------------------------------------------------------------------------------------------
>
> Key: TS-419
> URL: https://issues.apache.org/jira/browse/TS-419
> Project: Traffic Server
> Issue Type: Bug
> Components: InkAPI
> Affects Versions: 2.1.1, 2.1.0, 2.0.1, 2.0.0
> Reporter: Yakov Markovitch
> Attachments: INKError.patch
>
>
> When TS is configures so that to print INKError messages both to the error log and as debug messages (e.g. by starting TS with -B 'deft'), calling INKError with variable arguments (like INKError("The answer to the %s is %d", "Ultimate Question of Life, the Universe, and Everything", 42)) causes segfault.
> The cause of this bug is that INKError uses once initialised va_args pointer two times.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.