You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Yakov Markovitch (JIRA)" <ji...@apache.org> on 2010/08/20 16:31:16 UTC

[jira] Issue Comment Edited: (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:comment-tabpanel&focusedCommentId=12900705#action_12900705 ] 

Yakov Markovitch edited comment on TS-419 at 8/20/10 10:29 AM:
---------------------------------------------------------------

Here the patch that fixes the bug. Works both against 2.0.0 and the trunk.

      was (Author: ymarkovitch):
    Here the patch that fixes the bug. Works both again 2.0.0 and the trunk.
  
> 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.