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

Intermittent assertion in regression tests

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: Core, TS API
    • Labels:

      Description

      Once in a while, we see crashes like these on the CI:

      (gdb) bt
      #0  0x00007fc4c4a1f5f7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1  0x00007fc4c4a20e28 in __GI_abort () at abort.c:119
      #2  0x00007fc4c76311a9 in ink_die_die_die () at ../../../lib/ts/ink_error.cc:43
      #3  0x00007fc4c7631262 in ink_fatal_va (fmt=0x7fc4c764284c "%s:%d: failed assert `%s`", ap=0x7fc4c1415a28) at ../../../lib/ts/ink_error.cc:65
      #4  0x00007fc4c7631301 in ink_fatal (message_format=0x7fc4c764284c "%s:%d: failed assert `%s`") at ../../../lib/ts/ink_error.cc:73
      #5  0x00007fc4c762ed3a in _ink_assert (expression=0x793f88 "sdk_sanity_check_iocore_structure(bufp) == TS_SUCCESS", file=0x793c21 "../../proxy/InkIOCoreAPI.cc", line=544)
          at ../../../lib/ts/ink_assert.cc:37
      #6  0x0000000000515abc in _TSReleaseAssert (text=0x793f88 "sdk_sanity_check_iocore_structure(bufp) == TS_SUCCESS", file=0x793c21 "../../proxy/InkIOCoreAPI.cc", line=544)
          at ../../proxy/InkAPI.cc:401
      #7  0x000000000052f1f6 in TSIOBufferCopy (bufp=0x0, readerp=0x1bb1d10, length=19, offset=0) at ../../proxy/InkIOCoreAPI.cc:544
      #8  0x000000000055e5d0 in handle_transform (contp=0x7fc49c008e00) at ../../proxy/InkAPITest.cc:6277
      #9  0x000000000055e813 in transformtest_transform (contp=0x7fc49c008e00, event=TS_EVENT_IMMEDIATE) at ../../proxy/InkAPITest.cc:6364
      #10 0x0000000000516c60 in INKVConnInternal::handle_event (this=0x7fc49c008e00, event=1, edata=0x7fc4a42563e0) at ../../proxy/InkAPI.cc:1054
      #11 0x00000000005024ca in Continuation::handleEvent (this=0x7fc49c008e00, event=1, data=0x7fc4a42563e0) at ../../iocore/eventsystem/I_Continuation.h:153
      #12 0x00000000007861b8 in EThread::process_event (this=0x7fc4c1e21010, e=0x7fc4a42563e0, calling_code=1) at ../../../iocore/eventsystem/UnixEThread.cc:130
      #13 0x0000000000786427 in EThread::execute (this=0x7fc4c1e21010) at ../../../iocore/eventsystem/UnixEThread.cc:184
      #14 0x0000000000785799 in spawn_thread_internal (a=0x1793620) at ../../../iocore/eventsystem/Thread.cc:86
      #15 0x00007fc4c5b3fdc5 in start_thread (arg=0x7fc4c1416700) at pthread_create.c:308
      #16 0x00007fc4c4ae028d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
      (gdb) frame 8
      #8  0x000000000055e5d0 in handle_transform (contp=0x7fc49c008e00) at ../../proxy/InkAPITest.cc:6277
      6277	      TSIOBufferCopy(TSVIOBufferGet(data->output_vio), TSVIOReaderGet(write_vio), towrite, 0);
      (gdb) print *data
      $3 = {output_vio = 0x0, output_buffer = 0x1bb3170, output_reader = 0x1bb3188, append_needed = 0}
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zwoop Leif Hedstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: