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

ATS crashes with empty files in body-factory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.2.0, 5.2.1
    • None
    • None

    Description

      When making the files empty in the body-factory, ATS crashes when sending for instance a 404:

      traffic_server: Segmentation fault (Address not mapped to object [0x44])
      traffic_server - STACK TRACE:
      /usr/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x97)[0x7f4fe0280ee7]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f4fdead4340]
      /usr/lib/trafficserver/libtsutil.so.5(reclaimable_freelist_free+0x27)[0x7f4fdfd75107]
      /usr/bin/traffic_server(_ZN12IOBufferData7deallocEv+0x74)[0x7f4fe0416ca4]
      /usr/bin/traffic_server(_ZN12IOBufferData4freeEv+0x9)[0x7f4fe0416e29]
      /usr/bin/traffic_server(_ZN13IOBufferBlock5clearEv+0x86)[0x7f4fe0417056]
      /usr/bin/traffic_server(_ZN13IOBufferBlock4freeEv+0x9)[0x7f4fe0417069]
      /usr/bin/traffic_server(_ZN13IOBufferBlock5clearEv+0x42)[0x7f4fe0417012]
      /usr/bin/traffic_server(_ZN13IOBufferBlock4freeEv+0x9)[0x7f4fe0417069]
      /usr/bin/traffic_server(_ZN10HttpTunnel18deallocate_buffersEv+0x306)[0x7f4fe039c566]
      /usr/bin/traffic_server(_ZN10HttpTunnel11kill_tunnelEv+0x42)[0x7f4fe039e0e2]
      /usr/bin/traffic_server(_ZN6HttpSM9kill_thisEv+0x301)[0x7f4fe0364041]
      /usr/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xf8)[0x7f4fe0364a98]
      /usr/bin/traffic_server(_ZN10HttpTunnel12main_handlerEiPv+0xb8)[0x7f4fe03a0248]
      /usr/bin/traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0x15ea)[0x7f4fe04b98ba]
      /usr/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x334)[0x7f4fe04ae594]
      /usr/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x100)[0x7f4fe04d8560]
      /usr/bin/traffic_server(_ZN7EThread7executeEv+0x50b)[0x7f4fe04d8d5b]
      /usr/bin/traffic_server(main+0xd47)[0x7f4fe026a237]
      /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f4fddcfcec5]
      /usr/bin/traffic_server(+0xc31f7)[0x7f4fe02711f7]
      Segmentation fault (core dumped)
      

      gdb:

      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      Core was generated by `/usr/bin/traffic_server -M --httpport 8080:fd=8,8080:fd=9:ipv6'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  ink_atomic_increment<int, int> (count=<optimized out>, mem=<optimized out>) at ink_atomic.h:89
      
      warning: Source file is more recent than executable.
      89	// ink_atomic_increment(ptr, count)
      

      Attachments

        Issue Links

          Activity

            People

              zwoop Leif Hedstrom
              theoh Theo Hoogerheide
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: