Traffic Server
  1. Traffic Server
  2. TS-245

Traffic server crashed when configured with min os keep alive connection and debug logging

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0a
    • Fix Version/s: 2.1.0
    • Component/s: Core
    • Labels:
      None
    • Environment:

      OS: rhel 4.7

      Description

      The crash seems to happen when logging the information: [session_bucket] session received io notice [VC_EVENT_ACTIVE_TIMEOUT].

      The core stack is:

      #0 0x006f9b6b in strlen () from /lib/tls/libc.so.6
      #1 0x006cd756 in vfprintf () from /lib/tls/libc.so.6
      #2 0x006ca0bc in buffered_vfprintf () from /lib/tls/libc.so.6
      #3 0x006ca2fb in vfprintf () from /lib/tls/libc.so.6
      #4 0x082ef1d1 in Diags::print_va (this=0x8468e30, debug_tag=0x831f814 "http_ss", diags_level=DL_Debug, prefix=0x0, loc=0x0,
      format_string=0x831fa1c "[%b64d] [session_bucket] session received io notice [%s], reseting timeout to maintain minimum number of connections",
      ap=0x5a5a16c "\001", wID=0, eIST=keNo_OP) at Diags.cc:321
      #5 0x082ef880 in DiagsDClosure::operator() (this=0x5a5a200, tag=0x831f814 "http_ss",
      format_string=0x831fa1c "[%b64d] [session_bucket] session received io notice [%s], reseting timeout to maintain minimum number of connections")
      at Diags.h:255
      #6 0x0815311d in SessionBucket::session_handler (this=0x83ef7f4, event=106, data=0x929bb2c) at ../../libinktomi++/Diags.h:341
      #7 0x082cab3f in UnixNetVConnection::mainEvent (this=0x929baa0, event=2, e=0x926e670) at ../../iocore/eventsystem/I_Continuation.h:146
      #8 0x082ec8b0 in EThread::process_event (this=0xb799d008, e=0x926e670, calling_code=2) at I_Continuation.h:146
      #9 0x082ecf6e in EThread::execute (this=0xb799d008) at UnixEThread.cc:202
      #10 0x082ead6c in spawn_thread_internal (a=0x85338f8) at Thread.cc:85
      #11 0x008463cc in start_thread () from /lib/tls/libpthread.so.0
      #12 0x0075b96e in clone () from /lib/tls/libc.so.6

      If the -T option is turned off, no crash is observed.

        Activity

        Qinghong Zhang created issue -
        Bryan Call made changes -
        Field Original Value New Value
        Assignee Bryan Call [ bcall ]
        Hide
        Bryan Call added a comment -

        Here is a patch to fix the formatting in the Debug messages %b64d has not be valid since we started the Apache tree.

        Can you please test with this patch?

        Show
        Bryan Call added a comment - Here is a patch to fix the formatting in the Debug messages %b64d has not be valid since we started the Apache tree. Can you please test with this patch?
        Bryan Call made changes -
        Attachment debug_bcall_001.diff [ 12438932 ]
        Hide
        Qinghong Zhang added a comment -

        Bryan, I tested the patch, and it solved the crash.

        Thanks,
        Qinghong

        Show
        Qinghong Zhang added a comment - Bryan, I tested the patch, and it solved the crash. Thanks, Qinghong
        Leif Hedstrom made changes -
        Fix Version/s 2.1.0 [ 12314485 ]
        Bryan Call made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12501693 ] TS Workflow [ 12522549 ]

          People

          • Assignee:
            Bryan Call
            Reporter:
            Qinghong Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development