Skip to content

ATS 8.0.0 rc2 core dump with Adds configurable behavior on redirect to loopback #4145 #4263

Closed

Description

@bryancall

I am seeing a core in production with proxy.config.http.number_of_redirections set to 1 and PR #4145.

s_hh = 0
s_heap = 0
d_heap = 0x2b2d2c160800
d_hh = 0x2b2d2c160800

[ 0  ] traffic_server     http_hdr_clone                                               ( HTTP.cc:371                ) 
[ 1  ] traffic_server     HTTPHdr::copy(HTTPHdr const*)                                ( HTTP.h:816                 ) 
[ 2  ] traffic_server     HttpTransactHeaders::copy_header_fields(HTTPHdr*, HTTPHdr... ( HttpTransactHeaders.cc:207 ) 
[ 3  ] traffic_server     HttpTransact::build_response_copy(HttpTransact::State*, H... ( HttpTransact.cc:3894       ) 
[ 4  ] traffic_server     HttpTransact::OSDNSLookup(HttpTransact::State*)              ( HttpTransact.cc:1676       ) 
[ 5  ] traffic_server     HttpSM::call_transact_and_set_next_state(void (*)(HttpTra... ( HttpSM.cc:7109             ) 
[ 6  ] traffic_server     HttpSM::state_hostdb_lookup(int, void*)                      ( HttpSM.cc:2197             ) 
[ 7  ] traffic_server     HttpSM::main_handler(int, void*)                             ( HttpSM.cc:2543             ) 
[ 8  ] traffic_server     Continuation::handleEvent(int, void*)                        ( I_Continuation.h:160       ) 
[ 9  ] traffic_server     reply_to_cont                                                ( HostDB.cc:492              ) 
[ 10 ] traffic_server     HostDBContinuation::dnsEvent(int, HostEnt*)                  ( HostDB.cc:1500             ) 
[ 11 ] traffic_server     Continuation::handleEvent(int, void*)                        ( I_Continuation.h:160       ) 
[ 12 ] traffic_server     DNSEntry::postEvent(int, Event*)                             ( DNS.cc:1413                ) 
[ 13 ] traffic_server     Continuation::handleEvent(int, void*)                        ( I_Continuation.h:160       ) 
[ 14 ] traffic_server     EThread::process_event(Event*, int)                          ( UnixEThread.cc:131         ) 
[ 15 ] traffic_server     EThread::process_queue(Queue<Event, Event::Link_link>*, i... ( UnixEThread.cc:170         ) 
[ 16 ] traffic_server     EThread::execute_regular()                                   ( UnixEThread.cc:230         ) 
[ 17 ] traffic_server     EThread::execute()                                           ( UnixEThread.cc:325         ) 
[ 18 ] traffic_server     spawn_thread_internal                                        ( Thread.cc:85               ) 
[ 19 ] libpthread-2.17.so start_thread                                                 ( :undefined                 )

Activity

  1. added this to the 8.1.0 milestone on Sep 18, 2018
  2. changed the title [-]ATS 8.0.0 rc2 core dump with PR #4145[/-] [+]ATS 8.0.0 rc2 core dump with Adds configurable behavior on redirect to loopback #4145[/+] on Sep 18, 2018
  3. modified the milestones: 8.1.0, 9.0.0 on Sep 18, 2018
  4. d2r commented on Sep 19, 2018

    @d2r
    Contributor

    It is a null dereference when attempting to copy a header. (The client response header I think.) I am looking into it.

  5. d2r commented on Sep 21, 2018

    @d2r
    Contributor

    The issue is caused by attempting to follow a redirect response that is read from the cache. This can happen if configurations are changed such that a 3xx response exists in cache prior to enabling the following of redirects. Need to think about how to handle this.

  6. d2r commented on Sep 21, 2018

    @d2r
    Contributor

    In #4289 the approach is to prevent following redirects after a cache hit.

  7. bryancall commented on May 30, 2019

    @bryancall
    ContributorAuthor

    Looks like this has been fixed. Please reopen if there is still an issue.

  8. removed this from the 8.1.0 milestone on May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions