You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/09/20 19:46:55 UTC

[GitHub] [trafficserver] randall edited a comment on issue #8329: Crash while using next hop strategy

randall edited a comment on issue #8329:
URL: https://github.com/apache/trafficserver/issues/8329#issuecomment-923241999


   We build with llvm 12, so maybe a difference in how gcc/llvm handles things.
   
   Full stack of crashed thread:
   ```
   #0  0x00007febf7b221d9 in waitpid () from /lib64/libpthread.so.0
   #1  0x00005639c1c44504 in crash_logger_invoke(int, siginfo_t*, void*) (signo=11, info=0x7febeff05b70, ctx=0x7febeff05a40)
       at traffic_server/Crash.cc:168
   #2  <signal handler called>
   #3  __tree_min<std::__tree_node_base<void *> *> (__x=0x600) at /opt/ats/include/c++/v1/__tree:147
   #4  __tree_next_iter<std::__tree_end_node<std::__tree_node_base<void *> *> *, std::__tree_node_base<void *> *> (
       __x=0x7febf5789fb0) at /opt/ats/include/c++/v1/__tree:183
   #5  operator++ (this=<optimized out>) at /opt/ats/include/c++/v1/__tree:842
   #6  operator++ (this=<optimized out>) at /opt/ats/include/c++/v1/map:804
   #7  operator++ (this=<optimized out>) at /opt/ats/include/c++/v1/map:809
   #8  ATSConsistentHash::lookup(char const*, std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned long, ATSConsistentHashNode*>, std::__1::__tree_node<std::__1::__value_type<unsigned long, ATSConsistentHashNode*>, void*>*, long> >*, bool*, ATSHash64*) (this=0x7febf5789f98, url=0x0, i=0x7feb4fd33f68, w=<optimized out>, h=<optimized out>)
       at ConsistentHash.cc:109
   #9  0x00005639c1d48e3f in chash_lookup (ring=..., hash_key=298391872744178962, iter=0x7feb4fd33f68, 
       wrapped=0x7febeff068bf, hash=0x7febeff068c0, hash_init=<optimized out>, mapWrapped=<optimized out>, 
       sm_id=<optimized out>) at NextHopConsistentHash.cc:48
   #10 NextHopConsistentHash::findNextHop(tsapi_httptxn*, void*, long) (this=0x7febf59ff018, txnp=0x7feb4fd33500, 
       ih=<optimized out>, now=0) at NextHopConsistentHash.cc:337
   #11 0x00005639c1d14617 in nextParent(HttpTransact::State*) (s=0x7feb4fd33600) at HttpTransact.cc:249
   #12 0x00005639c1cf87be in find_server_and_update_current_info(HttpTransact::State*) (s=0x7feb4fd33600)
       at HttpTransact.cc:584
   #13 0x00005639c1d06f0a in HttpTransact::handle_response_from_parent(HttpTransact::State*) (s=0x7feb4fd33600)
       at HttpTransact.cc:3665
   #14 0x00005639c1cfbdc5 in HttpTransact::HandleResponse(HttpTransact::State*) (s=0x7feb4fd33600) at HttpTransact.cc:3462
   #15 0x00005639c1cd3491 in call_transact_and_set_next_state (this=0x7feb4fd33500, f=<optimized out>) at HttpSM.cc:7391
   #16 HttpSM::handle_server_setup_error(int, void*) (this=0x7feb4fd33500, event=<optimized out>, data=<optimized out>)
       at HttpSM.cc:5790
   #17 0x00005639c1cd2e90 in HttpSM::state_read_server_response_header(int, void*) (this=0x7feb4fd33500, event=104, 
       data=0x7febe9742e60) at HttpSM.cc:2063
   #18 0x00005639c1cc199c in HttpSM::main_handler(int, void*) (this=0x7feb4fd33500, event=104, data=0x7febe9742e60)
       at HttpSM.cc:2715
   #19 0x00005639c1ec9883 in handleEvent (this=<optimized out>, event=104, data=0x7feb4fd33f68)
       at /usr/src/debug/ats-trafficserver-9.1.1/iocore/eventsystem/I_Continuation.h:219
   #20 read_signal_and_update(int, UnixNetVConnection*) (event=104, vc=0x7febe9742c80) at UnixNetVConnection.cc:83
   #21 0x00005639c1ec8574 in read_signal_done (event=104, nh=0x7febf5211d50, vc=0x7febe9742c80) at UnixNetVConnection.cc:150
   #22 read_from_net (nh=<optimized out>, vc=<optimized out>, thread=<optimized out>) at UnixNetVConnection.cc:292
   #23 UnixNetVConnection::net_read_io(NetHandler*, EThread*) (this=<optimized out>, nh=0x7febf5211d50, 
       lthread=<optimized out>) at UnixNetVConnection.cc:921
   #24 0x00005639c1eb9793 in NetHandler::process_ready_list() (this=0x7febf5211d50) at UnixNet.cc:415
   #25 0x00005639c1eb9e6e in NetHandler::waitForActivity(long) (this=<optimized out>, timeout=<optimized out>)
       at UnixNet.cc:552
   #26 0x00005639c1eb9f3d in non-virtual thunk to NetHandler::waitForActivity(long) ()
   #27 0x00005639c1ee9dff in EThread::execute_regular() (this=0x7febf520dbc0) at UnixEThread.cc:303
   #28 0x00005639c1eea079 in EThread::execute() (this=0x7febf520dbc0) at UnixEThread.cc:364
   #29 0x00005639c1ee8556 in spawn_thread_internal(void*) (a=0x7febf62519e0) at Thread.cc:92
   #30 0x00007febf7b1aea5 in start_thread () from /lib64/libpthread.so.0
   #31 0x00007febf731b8dd in clone () from /lib64/libc.so.6
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org