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

Assert fails at ink_code_md5_stringify with origin_max_connections

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0, 7.0.0
    • Component/s: Core
    • Labels:
      None

      Description

      (lldb) run                                                                                                                                                             [64/1981]
      Process 20901 launched: '/opt/ats-debug/bin/traffic_server' (x86_64)
      traffic_server: using root directory '/opt/ats-debug'
      FATAL: ink_code.cc:117: failed assertion `dest33[32] == '\0'`
      Process 20901 stopped
      * thread #2: tid = 0x1be51b, 0x00007fff9a92df06 libsystem_kernel.dylib`__pthread_kill + 10, name = '[ET_NET 9]', stop reason = signal SIGABRT
          frame #0: 0x00007fff9a92df06 libsystem_kernel.dylib`__pthread_kill + 10
      libsystem_kernel.dylib`__pthread_kill:
      ->  0x7fff9a92df06 <+10>: jae    0x7fff9a92df10            ; <+20>
          0x7fff9a92df08 <+12>: movq   %rax, %rdi
          0x7fff9a92df0b <+15>: jmp    0x7fff9a9287cd            ; cerror_nocancel
          0x7fff9a92df10 <+20>: retq
      (lldb) bt
      * thread #2: tid = 0x1be51b, 0x00007fff9a92df06 libsystem_kernel.dylib`__pthread_kill + 10, name = '[ET_NET 9]', stop reason = signal SIGABRT
        * frame #0: 0x00007fff9a92df06 libsystem_kernel.dylib`__pthread_kill + 10
          frame #1: 0x00007fff89fa14ec libsystem_pthread.dylib`pthread_kill + 90
          frame #2: 0x00007fff9a9946e7 libsystem_c.dylib`abort + 129
          frame #3: 0x0000000000038c39 libtsutil.7.dylib`ink_abort(message_format="%s:%d: failed assertion `%s`") + 361 at ink_error.cc:79
          frame #4: 0x000000000003654f libtsutil.7.dylib`::_ink_assert(expression="dest33[32] == '\\0'", file="ink_code.cc", line=117) + 47 at ink_assert.cc:37
          frame #5: 0x00000000000384c5 libtsutil.7.dylib`ink_code_md5_stringify(dest33="FF28764D624DFF29FF2C21FFFF0CFFFFFFFFD6", destSize=33, md5="�(vMbM�)�,!�") + 213 at ink_code.c
      c:117
          frame #6: 0x00000001001512c0 traffic_server`ConnectionCount::ConnAddrHashFns::equal(a=0x0000700000998c00, b=0x0000000100407188) + 96 at HttpConnectionCount.h:148
          frame #7: 0x00000001001510ff traffic_server`HashMap<ConnectionCount::ConnAddr, ConnectionCount::ConnAddrHashFns, int, DefaultAlloc>::get_internal(this=0x0000000100407170, a
      key=ConnAddr @ 0x0000700000998c00) + 143 at Map.h:494
          frame #8: 0x0000000100150ff2 traffic_server`HashMap<ConnectionCount::ConnAddr, ConnectionCount::ConnAddrHashFns, int, DefaultAlloc>::get(this=0x0000000100407170, akey=ConnA
      ddr @ 0x0000700000998ca0) + 114 at Map.h:514
          frame #9: 0x000000010014ee1d traffic_server`ConnectionCount::getCount(this=0x0000000100407170, addr=0x0000000003820ed0, hostname_hash=0x0000000003820ef0, match_type=TS_SERV
      ER_SESSION_SHARING_MATCH_BOTH) + 173 at HttpConnectionCount.h:66
          frame #10: 0x0000000100152ae2 traffic_server`HttpServerSession::new_connection(this=0x0000000003820e90, new_vc=0x0000000001ab0a00) + 530 at HttpServerSession.cc:81
          frame #11: 0x000000010013552d traffic_server`HttpSM::state_http_server_open(this=0x0000000008ffb9f0, event=200, data=0x0000000001ab0a00) + 1437 at HttpSM.cc:1732
          frame #12: 0x000000010012b403 traffic_server`HttpSM::main_handler(this=0x0000000008ffb9f0, event=200, data=0x0000000001ab0a00) + 1011 at HttpSM.cc:2644
          frame #13: 0x0000000100020af0 traffic_server`Continuation::handleEvent(this=0x0000000008ffb9f0, event=200, data=0x0000000001ab0a00) + 112 at I_Continuation.h:153
          frame #14: 0x0000000100338202 traffic_server`UnixNetVConnection::connectUp(this=0x0000000001ab0a00, t=0x0000000002707000, fd=-1) + 1250 at UnixNetVConnection.cc:1312
          frame #15: 0x0000000100330cf7 traffic_server`UnixNetProcessor::connect_re_internal(this=0x000000010071e570, cont=0x0000000008ffb9f0, target=0x0000000008ffc110, opt=0x000070
      00009996d8) + 1447 at UnixNetProcessor.cc:258
          frame #16: 0x000000010005faf8 traffic_server`NetProcessor::connect_re(this=0x000000010071e570, cont=0x0000000008ffb9f0, addr=0x0000000008ffc110, opts=0x00007000009996d8) +
      56 at P_UnixNetProcessor.h:67
          frame #17: 0x0000000100138355 traffic_server`HttpSM::do_http_server_open(this=0x0000000008ffb9f0, raw=false) + 7845 at HttpSM.cc:4935
          frame #18: 0x000000010014ab5f traffic_server`HttpSM::set_next_state(this=0x0000000008ffb9f0) + 3919 at HttpSM.cc:7253
          frame #19: 0x000000010012e0ae traffic_server`HttpSM::call_transact_and_set_next_state(this=0x0000000008ffb9f0, f=0x0000000000000000)(HttpTransact::State*)) + 494 at HttpSM.
      cc:7066
          frame #20: 0x000000010013257f traffic_server`HttpSM::handle_api_return(this=0x0000000008ffb9f0) + 255 at HttpSM.cc:1594
      ...
      

      records.config

      ...
      CONFIG proxy.config.http.origin_max_connections INT 1
      ...
      

      remap.config

      map / http://127.0.0.1:8000/
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                masaori Masaori Koshiba
                Reporter:
                masaori Masaori Koshiba
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: