Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4907

Segfault in 7.0.x on ProxyClientTransaction::get_netvc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • HTTP
    • None

    Description

      Sending some production traffic to 719dda8af88098cd1f8653aaa52b3d278deff6e1 produced frequent segfaults with a very short stack trace logged. Example:

      traffic_server - STACK TRACE: 
      /opt/ts/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, void*)+0xc3)[0x510892]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x2b142107b330]
      

      Here's the longer backtrace from a core dump produced by this segfaul:

      #0  0x0000000000000000 in ?? ()
      #1  0x000000000055d79e in ProxyClientTransaction::get_netvc (this=0x2aad4c036a68) at http/../ProxyClientTransaction.h:43
      #2  0x00000000005fa97d in HttpSM::update_stats (this=0x2aad4866fa00) at HttpSM.cc:6956
      #3  0x00000000005f9d2c in HttpSM::kill_this (this=0x2aad4866fa00) at HttpSM.cc:6822
      #4  0x00000000005e9daf in HttpSM::main_handler (this=0x2aad4866fa00, event=2301, data=0x2aad48670d08) at HttpSM.cc:2671
      #5  0x00000000005138e2 in Continuation::handleEvent (this=0x2aad4866fa00, event=2301, data=0x2aad48670d08) at ../iocore/eventsystem/I_Continuation.h:153
      #6  0x00000000006424c8 in HttpTunnel::main_handler (this=0x2aad48670d08, event=103, data=0x2aad1003a490) at HttpTunnel.cc:1662
      #7  0x00000000005138e2 in Continuation::handleEvent (this=0x2aad48670d08, event=103, data=0x2aad1003a490) at ../iocore/eventsystem/I_Continuation.h:153
      #8  0x000000000079b459 in write_signal_and_update (event=103, vc=0x2aad1003a300) at UnixNetVConnection.cc:179
      #9  0x000000000079b68e in write_signal_done (event=103, nh=0x2aad063eaca0, vc=0x2aad1003a300) at UnixNetVConnection.cc:221
      #10 0x000000000079ca6e in write_to_net_io (nh=0x2aad063eaca0, vc=0x2aad1003a300, thread=0x2aad063e7010) at UnixNetVConnection.cc:552
      #11 0x000000000079c2e3 in write_to_net (nh=0x2aad063eaca0, vc=0x2aad1003a300, thread=0x2aad063e7010) at UnixNetVConnection.cc:419
      #12 0x000000000079321a in NetHandler::mainNetEvent (this=0x2aad063eaca0, event=5, e=0x2a88c40) at UnixNet.cc:542
      #13 0x00000000005138e2 in Continuation::handleEvent (this=0x2aad063eaca0, event=5, data=0x2a88c40) at ../iocore/eventsystem/I_Continuation.h:153
      #14 0x00000000007beaca in EThread::process_event (this=0x2aad063e7010, e=0x2a88c40, calling_code=5) at UnixEThread.cc:146
      #15 0x00000000007bf08e in EThread::execute (this=0x2aad063e7010) at UnixEThread.cc:273
      #16 0x00000000007be0cb in spawn_thread_internal (a=0x2a53f50) at Thread.cc:84
      #17 0x00002aad02fcf184 in start_thread (arg=0x2aad06af0700) at pthread_create.c:312
      #18 0x00002aad03d0337d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              biilmann Mathias Biilmann Christensen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: