You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2014/11/05 21:27:35 UTC
[jira] [Commented] (TS-2164) Race condition between NetProcessor
and api_init()
[ https://issues.apache.org/jira/browse/TS-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199008#comment-14199008 ]
Alan M. Carroll commented on TS-2164:
-------------------------------------
I should take a quick look to see if this ordering is still an issue.
> Race condition between NetProcessor and api_init()
> --------------------------------------------------
>
> Key: TS-2164
> URL: https://issues.apache.org/jira/browse/TS-2164
> Project: Traffic Server
> Issue Type: Bug
> Components: Core, HTTP
> Reporter: Tomasz Kuzemko
> Fix For: 5.3.0
>
>
> In proxy/Main.cc starting of NetProcessor before calling api_init() can lead to a segfault when an early connection is served because of accessing http_global_hooks in HttpClientSession::new_connection():
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffe5019700 (LWP 21479)]
> 0x0000000000564add in HttpClientSession::new_connection (this=0x15073c0, new_vc=0x152df20, backdoor=false) at HttpClientSession.cc:228
> 228 hooks_set = http_global_hooks->hooks_set;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)