[
https://issues.apache.org/jira/browse/TS-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15279139#comment-15279139
]
ASF subversion and git services commented on TS-4420:
-----------------------------------------------------
Commit fdc75437440c2e903a8a212a1591632eade289f3 in trafficserver's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=fdc7543 ]
TS-4420: Sync config changes before running tests.
> crash on downed API parent
> --------------------------
>
> Key: TS-4420
> URL: https://issues.apache.org/jira/browse/TS-4420
> Project: Traffic Server
> Issue Type: Bug
> Components: Parent Proxy, TS API
> Reporter: James Peach
> Assignee: James Peach
> Labels: crash
> Fix For: 7.0.0
>
>
> If you use the API to set the parent proxy and that parent proxy is down,
> Traffic Server crashes trying to mark the parent as downed:
> {code}
> #0 0x0000000000548a2a in ParentConfigParams::markParentDown (this=0x111c650,
> result=0x7fffe4b0dc00) at ParentSelection.h:331
> 331 ink_release_assert(result->rec->selection_strategy != NULL);
> (gdb) p result
> $2 = (ParentResult *) 0x7fffe4b0dc00
> (gdb) p *result
> $3 = {result = PARENT_SPECIFIED, hostname = 0x7ffff7e29c19 "127.0.0.1", port
> = 10891, retry = false, line_number = -1, rec = 0xeeeeffff, last_parent = 0,
> start_parent = 0, wrap_around = false, last_lookup = 0}
> (gdb) bt
> #0 0x0000000000548a2a in ParentConfigParams::markParentDown (this=0x111c650,
> result=0x7fffe4b0dc00) at ParentSelection.h:331
> #1 0x000000000060d8d9 in HttpTransact::handle_response_from_parent
> (s=0x7fffe4b0d278) at HttpTransact.cc:3584
> #2 0x000000000060ca3d in HttpTransact::HandleResponse (s=0x7fffe4b0d278) at
> HttpTransact.cc:3363
> #3 0x00000000005ee54c in HttpSM::call_transact_and_set_next_state
> (this=0x7fffe4b0d200, f=0x60c322
> <HttpTransact::HandleResponse(HttpTransact::State*)>)
> at HttpSM.cc:7019
> #4 0x00000000005e83d2 in HttpSM::handle_server_setup_error
> (this=0x7fffe4b0d200, event=104, data=0x7fffdc018b20) at HttpSM.cc:5417
> #5 0x00000000005da452 in HttpSM::state_read_server_response_header
> (this=0x7fffe4b0d200, event=104, data=0x7fffdc018b20) at HttpSM.cc:1862
> #6 0x00000000005dd19f in HttpSM::main_handler (this=0x7fffe4b0d200,
> event=104, data=0x7fffdc018b20) at HttpSM.cc:2600
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)