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

reclaimable freelist stuck in infinite loop

    XMLWordPrintableJSON

Details

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

    Description

      flathead:build jpeach$ ./libtool --mode=execute lldb -- ./proxy/traffic_server -R 1 -r SDK_API_TSNetVConn
      Current executable set to '/Users/jpeach/build/proxy/.libs/traffic_server' (x86_64).
      ...
      (lldb) run
      Process 65112 launched: '/Users/jpeach/build/proxy/.libs/traffic_server' (x86_64)
      ...
      Process 65112 stopped
      * thread #1: tid = 0x1c03, 0x0000000100c00b51 libtsutil.3.dylib`memory_alignment_init(f=0x0000000101007040, type_size=1024, chunk_size=4294967295, alignment=0) + 401 at ink_queue_ext.cc:150, stop reason = signal SIGSTOP
          frame #0: 0x0000000100c00b51 libtsutil.3.dylib`memory_alignment_init(f=0x0000000101007040, type_size=1024, chunk_size=4294967295, alignment=0) + 401 at ink_queue_ext.cc:150
         147 	    if (chunk_size > 1) {
         148 	      /* make alignment to be (2^N * page_size),
         149 	       * but not larger than MAX_CHUNK_BYTE_SIZE */
      -> 150 	      while (alignment < chunk_byte_size)
         151 	        alignment <<= 1;
         152 	    }
         153 	  }
      (lldb) p alignment
      (uint32_t) $0 = 0
      (lldb) p chunk_byte_size
      (uint32_t) $1 = 0
      ...
      
      (lldb) bt
      * thread #1: tid = 0x1c03, 0x0000000100c00b51 libtsutil.3.dylib`memory_alignment_init(f=0x0000000101007040, type_size=1024, chunk_size=4294967295, alignment=0) + 401 at ink_queue_ext.cc:150, stop reason = signal SIGSTOP
          frame #0: 0x0000000100c00b51 libtsutil.3.dylib`memory_alignment_init(f=0x0000000101007040, type_size=1024, chunk_size=4294967295, alignment=0) + 401 at ink_queue_ext.cc:150
          frame #1: 0x0000000100c0094a libtsutil.3.dylib`reclaimable_freelist_init(fl=0x0000000100c2fc18, name=0x0000000100c1f0e0, type_size=1024, chunk_size=128, alignment=8) + 282 at ink_queue_ext.cc:471
          frame #2: 0x0000000100bffec1 libtsutil.3.dylib`ink_freelist_init(fl=0x0000000100c2fc18, name=0x0000000100c1f0e0, type_size=1024, chunk_size=128, alignment=8) + 49 at ink_queue.cc:89
          frame #3: 0x0000000100175621 traffic_server`Allocator::Allocator(this=0x0000000100c2fc18, name=0x0000000100c1f0e0, element_size=1024, chunk_size=128, alignment=8) + 49 at Allocator.h:87
          frame #4: 0x0000000100174e71 traffic_server`Allocator::Allocator(this=0x0000000100c2fc18, name=0x0000000100c1f0e0, element_size=1024, chunk_size=128, alignment=8) + 49 at Allocator.h:88
          frame #5: 0x0000000100bf3367 libtsutil.3.dylib`__cxx_global_var_init + 39 at Arena.cc:33
          frame #6: 0x0000000100bf3379 libtsutil.3.dylib`_GLOBAL__I_a + 9 at Arena.cc:88
          frame #7: 0x00007fff5fc13378 dyld`ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 236
      

      Attachments

        Activity

          People

            yunkai Yunkai Zhang
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: