Details

      Description

      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:

      #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
      

        Attachments

          Activity

            People

            • Assignee:
              jamespeach James Peach
              Reporter:
              jamespeach James Peach
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: