shinrich opened a new issue #6882:
URL: https://github.com/apache/trafficserver/issues/6882


   We moved ATS 9 into a forward proxy environment, and get the following crash 
every 10 minutes or so
   
   {code}
   (gdb) bt
   #0  0x000000000061ccf3 in http_hdr_clone (s_hh=0x0, s_heap=0x0, 
d_heap=0x2b3792da8800) at 
../../../../../../_vcs/trafficserver9/proxy/hdrs/HTTP.cc:359
   #1  0x000000000059057c in copy (hdr=0x2b3854860870, this=0x2b38548607f0)
       at 
/sd/workspace/src/git.ouroath.com/Edge/build/_build/build_release_posix-x86_64_gcc_8/trafficserver9/build/../../../../_vcs/trafficserver9/proxy/hdrs/HTTP.h:815
   #2  copy (hdr=0x2b3854860870, hdr@entry=0x2b38548607f0, this=0x2b38548607f0, 
this@entry=0x2b3854860870)
       at 
/sd/workspace/src/git.ouroath.com/Edge/build/_build/build_release_posix-x86_64_gcc_8/trafficserver9/build/../../../../_vcs/trafficserver9/proxy/hdrs/HTTP.h:807
   #3  HttpTransactHeaders::copy_header_fields (src_hdr=0x2b3854860870, 
new_hdr=new_hdr@entry=0x2b38548607f0, retain_proxy_auth_hdrs=false, 
date=1591803373)
       at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpTransactHeaders.cc:207
   #4  0x000000000056a1cf in HttpTransact::build_response_copy 
(s=0x2b3854860100, base_response=<optimized out>, 
outgoing_response=0x2b38548607f0, outgoing_version=...)
       at ../../../../../../_vcs/trafficserver9/proxy/http/HttpTransact.cc:4102
   #5  0x0000000000583578 in HttpTransact::OSDNSLookup (s=0x2b3854860100) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpTransact.cc:1910
   #6  0x0000000000545e51 in HttpSM::call_transact_and_set_next_state 
(this=this@entry=0x2b3854860000, f=f@entry=0x0) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:7236
   #7  0x000000000054879a in HttpSM::do_hostdb_lookup 
(this=this@entry=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:4138
   #8  0x000000000055c84a in HttpSM::set_next_state (this=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:7594
   #9  0x0000000000545d42 in HttpSM::call_transact_and_set_next_state 
(this=this@entry=0x2b3854860000, f=f@entry=0x0) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:7244
   #10 0x00000000005569da in HttpSM::handle_api_return (this=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:1604
   #11 0x0000000000552651 in HttpSM::state_api_callout(int, void*) () at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:1536
   #12 0x0000000000555887 in HttpSM::state_api_callback 
(this=this@entry=0x2b3854860000, event=event@entry=60000, data=data@entry=0x0)
       at ../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:1340
   #13 0x00000000004f7a6a in TSHttpTxnReenable () at 
../../../../../_vcs/trafficserver9/src/traffic_server/InkAPI.cc:6105
   #14 0x00002b375100f90e in main_handler (cont=<optimized out>, 
event=<optimized out>, edata=0x2b3854860000) at 
../../../../../_vcs/trafficserver9/plugins/regex_revalidate/regex_revalidate.c:453
   #15 0x00000000004e3563 in INKContInternal::handle_event 
(this=0x2b3724ee96e0, event=60015, edata=0x2b3854860000) at 
../../../../../_vcs/trafficserver9/src/traffic_server/InkAPI.cc:1096
   #16 0x00000000004f5adb in handleEvent (data=0x2b3854860000, event=60015, 
this=0x2b3724ee96e0)
       at 
/sd/workspace/src/git.ouroath.com/Edge/build/_build/build_release_posix-x86_64_gcc_8/trafficserver9/build/../../../../_vcs/trafficserver9/iocore/eventsystem/I_Continuation.h:167
   #17 handleEvent (data=0x2b3854860000, event=60015, this=0x2b3724ee96e0)
       at 
/sd/workspace/src/git.ouroath.com/Edge/build/_build/build_release_posix-x86_64_gcc_8/trafficserver9/build/../../../../_vcs/trafficserver9/iocore/eventsystem/I_Continuation.h:163
   #18 APIHook::invoke(int, void*) const () at 
../../../../../_vcs/trafficserver9/src/traffic_server/InkAPI.cc:1333
   #19 0x00000000005525ae in HttpSM::state_api_callout(int, void*) () at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:1469
   #20 0x000000000055442f in setup_cache_lookup_complete_api 
(this=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:2571
   #21 HttpSM::state_cache_open_read (this=0x2b3854860000, event=<optimized 
out>, data=0xffffffffffffb050) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:2571
   #22 0x0000000000554dc3 in main_handler (data=0xffffffffffffb050, event=1103, 
this=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:2613
   #23 HttpSM::main_handler (this=0x2b3854860000, event=1103, 
data=0xffffffffffffb050) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:2583
   #24 0x00000000005a19bd in handleEvent (data=0xffffffffffffb050, event=1103, 
this=0x2b3854860000)
       at 
/sd/workspace/src/git.ouroath.com/Edge/build/_build/build_release_posix-x86_64_gcc_8/trafficserver9/build/../../../../_vcs/trafficserver9/iocore/eventsystem/I_Continuation.h:167
   #25 handleEvent (data=0xffffffffffffb050, event=1103, this=0x2b3854860000)
       at 
/sd/workspace/src/git.ouroath.com/Edge/build/_build/build_release_posix-x86_64_gcc_8/trafficserver9/build/../../../../_vcs/trafficserver9/iocore/eventsystem/I_Continuation.h:163
   #26 HttpCacheSM::state_cache_open_read (this=<optimized out>, 
event=<optimized out>, data=0xffffffffffffb050) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpCacheSM.cc:133
   #27 0x000000000068cfdd in Cache::open_read(Continuation*, ats::CryptoHash 
const*, HTTPHdr*, OverridableHttpConfigParams const*, CacheFragType, char 
const*, int) ()
       at ../../../../../../_vcs/trafficserver9/iocore/cache/CacheRead.cc:149
   #28 0x000000000066a388 in CacheProcessor::open_read (this=<optimized out>, 
cont=cont@entry=0x2b3854861da0, key=<optimized out>, request=<optimized out>, 
params=<optimized out>, 
       pin_in_cache=<optimized out>, type=CACHE_FRAG_TYPE_HTTP) at 
../../../../../../_vcs/trafficserver9/iocore/cache/Cache.cc:3149
   #29 0x00000000005a17a1 in HttpCacheSM::do_cache_open_read 
(this=this@entry=0x2b3854861da0, key=...) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpCacheSM.cc:273
   #30 0x00000000005a1c57 in HttpCacheSM::open_read 
(this=this@entry=0x2b3854861da0, key=key@entry=0x2b373850a630, 
url=url@entry=0x2b38548607c8, hdr=hdr@entry=0x2b38548607b0, 
       params=<optimized out>, pin_in_cache=<optimized out>) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpCacheSM.cc:307
   #31 0x0000000000543102 in HttpSM::do_cache_lookup_and_read 
(this=this@entry=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:4569
   #32 0x000000000055c4f1 in HttpSM::set_next_state (this=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:7409
   #33 0x0000000000545d42 in HttpSM::call_transact_and_set_next_state 
(this=this@entry=0x2b3854860000, f=<optimized out>) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:7244
   #34 0x0000000000556bbf in HttpSM::handle_api_return (this=0x2b3854860000) at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:1703
   #35 0x0000000000552651 in HttpSM::state_api_callout(int, void*) () at 
../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:1536
   #36 0x0000000000555887 in HttpSM::state_api_callback 
(this=this@entry=0x2b3854860000, event=event@entry=60000, data=data@entry=0x0)
       at ../../../../../../_vcs/trafficserver9/proxy/http/HttpSM.cc:1340
   #37 0x00000000004f7a6a in TSHttpTxnReenable () at 
../../../../../_vcs/trafficserver9/src/traffic_server/InkAPI.cc:6105
   #38 0x00002b3760605883 in ?? ()
   #39 0x0000000000000000 in ?? ()
   {code}


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to