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

Regression tests segfaults with --enable-debug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.5
    • Core
    • None

    Description

      This prevents running the regression in debug mode:

      Program received signal SIGABRT, Aborted.
      [Switching to Thread 0x7ffff516d710 (LWP 14810)]
      0x00007ffff6db39a5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
      (gdb) bt
      #0 0x00007ffff6db39a5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      #1 0x00007ffff6db5185 in abort () at abort.c:92
      #2 0x000000000072a5fc in ink_die_die_die (retval=1) at ink_error.cc:43
      #3 0x000000000072a6c5 in ink_fatal_va(int, const char *, typedef __va_list_tag __va_list_tag *) (return_code=1,
      message_format=0x7ffff5168880 "HttpTransactHeaders.cc:193: failed assert `!new_hdr->valid()`",
      ap=0x7ffff5168780) at ink_error.cc:65
      #4 0x000000000072a78e in ink_fatal (return_code=1,
      message_format=0x7ffff5168880 "HttpTransactHeaders.cc:193: failed assert `!new_hdr->valid()`")
      at ink_error.cc:73
      #5 0x0000000000729966 in _ink_assert (a=0x774e85 "!new_hdr->valid()", f=0x774df7 "HttpTransactHeaders.cc", l=193)
      at ink_assert.cc:46
      #6 0x00000000005c12f3 in HttpTransactHeaders::copy_header_fields (src_hdr=0x7fffeaa4e3f0,
      new_hdr=0x7fffeaa4e350, retain_proxy_auth_hdrs=false, date=0) at HttpTransactHeaders.cc:193
      #7 0x00000000005bba29 in HttpTransact::build_response (s=0x7fffeaa4dca0, base_response=0x7fffeaa4e3f0,
      outgoing_response=0x7fffeaa4e350, outgoing_version=..., status_code=HTTP_STATUS_OK,
      reason_phrase=0x788d6d "Ok") at HttpTransact.cc:8195
      #8 0x00000000005af998 in HttpTransact::handle_cache_operation_on_forward_server_response (s=0x7fffeaa4dca0)
      at HttpTransact.cc:4660
      #9 0x00000000005ad6b1 in HttpTransact::handle_forward_server_connection_open (s=0x7fffeaa4dca0)
      at HttpTransact.cc:4086
      #10 0x00000000005ab0a5 in HttpTransact::handle_response_from_server (s=0x7fffeaa4dca0) at HttpTransact.cc:3618
      #11 0x00000000005a9c01 in HttpTransact::HandleResponse (s=0x7fffeaa4dca0) at HttpTransact.cc:3300
      #12 0x000000000059193b in HttpSM::call_transact_and_set_next_state (this=0x7fffeaa4dc10, f=0) at HttpSM.cc:6508
      #13 0x0000000000580d82 in HttpSM::handle_api_return (this=0x7fffeaa4dc10) at HttpSM.cc:1598
      #14 0x0000000000580b4f in HttpSM::state_api_callout (this=0x7fffeaa4dc10, event=0, data=0x0) at HttpSM.cc:1529
      #15 0x000000000058b034 in HttpSM::do_api_callout_internal (this=0x7fffeaa4dc10) at HttpSM.cc:4463
      #16 0x000000000059652a in HttpSM::do_api_callout (this=0x7fffeaa4dc10) at HttpSM.cc:532
      #17 0x0000000000581c74 in HttpSM::state_read_server_response_header (this=0x7fffeaa4dc10, event=100,
      data=0x7fffb4024a28) at HttpSM.cc:1910
      #18 0x0000000000583f8e in HttpSM::main_handler (this=0x7fffeaa4dc10, event=100, data=0x7fffb4024a28)
      at HttpSM.cc:2539
      #19 0x00000000004f00c6 in Continuation::handleEvent (this=0x7fffeaa4dc10, event=100, data=0x7fffb4024a28)
      at ../iocore/eventsystem/I_Continuation.h:147
      #20 0x0000000000525c82 in PluginVC::process_read_side (this=0x7fffb4024958, other_side_call=true)
      at PluginVC.cc:660
      #21 0x0000000000525280 in PluginVC::process_write_side (this=0x7fffb4024b08, other_side_call=false)
      at PluginVC.cc:556
      #22 0x00000000005239f7 in PluginVC::main_handler (this=0x7fffb4024b08, event=1, data=0x102a260) at PluginVC.cc:200
      #23 0x00000000004f00c6 in Continuation::handleEvent (this=0x7fffb4024b08, event=1, data=0x102a260)
      at ../iocore/eventsystem/I_Continuation.h:147
      #24 0x0000000000722292 in EThread::process_event (this=0x7ffff5f7c010, e=0x102a260, calling_code=1)
      at UnixEThread.cc:149
      #25 0x0000000000722635 in EThread::execute (this=0x7ffff5f7c010) at UnixEThread.cc:226
      #26 0x0000000000721434 in spawn_thread_internal (a=0x100fcd0) at Thread.cc:85
      #27 0x00007ffff7bca761 in start_thread (arg=0x7ffff516d710) at pthread_create.c:301
      #28 0x00007ffff6e624fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

      Attachments

        Activity

          People

            ericb Eric Balsa
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: