Traffic Server
  1. Traffic Server
  2. TS-848

Crash Report: ShowNet::showConnectionsOnThread -> ShowCont::show

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: HTTP
    • Labels:

      Description

      when we use the

      {net}

      http_ui network interface, it crashed with the following information

      NOTE: Traffic Server received Sig 11: Segmentation fault
      /usr/bin/traffic_server - STACK TRACE: 
      /usr/bin/traffic_server[0x51ba3e]
      /lib64/libpthread.so.0[0x3f89c0e7c0]
      [0x7fffd20544f8]
      /lib64/libc.so.6(vsnprintf+0x9a)[0x3f8906988a]
      /usr/bin/traffic_server(ShowCont::show(char const*, ...)+0x262)[0x638184]
      /usr/bin/traffic_server(ShowNet::showConnectionsOnThread(int, Event*)+0x481)[0x6ec7bf]
      /usr/bin/traffic_server(Continuation::handleEvent(int, void*)+0x6f)[0x4d302f]
      /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x11e)[0x6f9978]
      /usr/bin/traffic_server(EThread::execute()+0x94)[0x6f9b6a]
      /usr/bin/traffic_server(main+0x10c7)[0x4ff74d]
      /lib64/libc.so.6(__libc_start_main+0xf4)[0x3f8901d994]
      /usr/bin/traffic_server(__gxx_personality_v0+0x491)[0x4b2149]
      /usr/bin/traffic_server(__gxx_personality_v0+0x491)[0x4b2149]
      
      
      [New process 31182]
      #0  0x0000003f890796d0 in strlen () from /lib64/libc.so.6
      (gdb) bt
      #0  0x0000003f890796d0 in strlen () from /lib64/libc.so.6
      #1  0x0000003f89046b69 in vfprintf () from /lib64/libc.so.6
      #2  0x0000003f8906988a in vsnprintf () from /lib64/libc.so.6
      #3  0x0000000000638184 in ShowCont::show (this=0x2aaab44af600, 
          s=0x7732b8 "<tr><td>%d</td><td>%s</td><td>%d</td><td>%d</td><td>%s</td><td>%d</td><td>%d secs ago</td><td>%d</td><td>%d</td><td>%d</td><td>%d</td><td>%d</td><td>%d</td><td>%d</td><td>%d secs</td><td>%d secs</td><"...) at ../../proxy/Show.h:62
      #4  0x00000000006ec7bf in ShowNet::showConnectionsOnThread (this=0x2aaab44af600, event=1, e=0x2aaab5cc2080) at UnixNetPages.cc:75
      #5  0x00000000004d302f in Continuation::handleEvent (this=0x2aaab44af600, event=1, data=0x2aaab5cc2080) at I_Continuation.h:146
      #6  0x00000000006f9978 in EThread::process_event (this=0x2aaaaae29010, e=0x2aaab5cc2080, calling_code=1) at UnixEThread.cc:140
      #7  0x00000000006f9b6a in EThread::execute (this=0x2aaaaae29010) at UnixEThread.cc:189
      #8  0x00000000004ff74d in main (argc=3, argv=0x7fffd2054d88) at Main.cc:1958
      
      

        Activity

        Hide
        John Plevyak added a comment -

        Gack, many of those values (e.g. nbytes) are now 64-bit %lld.

        Show
        John Plevyak added a comment - Gack, many of those values (e.g. nbytes) are now 64-bit %lld.
        Hide
        John Plevyak added a comment -

        I think this is fixed in 1150526, give it a try.

        Show
        John Plevyak added a comment - I think this is fixed in 1150526, give it a try.
        Hide
        Zhao Yongming added a comment -

        confirmed fix

        Show
        Zhao Yongming added a comment - confirmed fix

          People

          • Assignee:
            John Plevyak
            Reporter:
            Zhao Yongming
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development