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 2011/06/03 17:15:48 UTC

[jira] [Commented] (TS-818) Assertion/abort when starting TS with SOCKS proxy enabled

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

Yakov Markovitch commented on TS-818:
-------------------------------------

The cause of the bug is in an attempt of duplicate registration in loadSocksConfiguration() (Socks.cc) of statistics counters proxy.process.socks.connections_successful, proxy.process.socks.connections_unsuccessful, and proxy.process.socks.connections_currently_open. To the moment of loadSocksConfiguration() call these counters are already registered by register_net_stats() (Net.cc), which is called from ink_net_init().

I've attached a small patch that fixes the bug.


> Assertion/abort when starting TS with SOCKS proxy enabled
> ---------------------------------------------------------
>
>                 Key: TS-818
>                 URL: https://issues.apache.org/jira/browse/TS-818
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.9, 2.1.8
>         Environment: Linux x86-64
>            Reporter: Yakov Markovitch
>
> When attempting to start TS with
> CONFIG proxy.config.socks.socks_needed INT 1
> CONFIG proxy.config.socks.socks_version INT 5
> TS aborts at startup with the following message:
> FATAL: RecProcess.cc:738: failed assert `false`

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira