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

ATS seg faults in MIMEScanner::mime_scanner_get

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 4.0.1
    • None
    • Core, HTTP, MIME
    • RHEL 5.9

    Description

      I'm seeing segmentation faults in ATS 4.0.1, these seem to happen randomly:

      NOTE: Traffic Server received Sig 11: Segmentation fault
      /usr/local/bin/traffic_server - STACK TRACE: 
      /lib64/libpthread.so.0[0x2aafe810eca0]
      /usr/local/bin/traffic_server(_Z16mime_scanner_getP11MIMEScannerPPKcS2_S3_S3_Pbbi+0x2c2)[0x5cf752]
      /usr/local/bin/traffic_server(_Z21http_parser_parse_reqP10HTTPParserP7HdrHeapP11HTTPHdrImplPPKcS6_bb+0x113)[0x5c4e73]
      /usr/local/bin/traffic_server(_ZN7HTTPHdr9parse_reqEP10HTTPParserP14IOBufferReaderPib+0x1a7)[0x5c11d7]
      /usr/local/bin/traffic_server(_ZN6HttpSM32state_read_client_request_headerEiPv+0x100)[0x5311c0]
      /usr/local/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xcc)[0x5383ac]
      /usr/local/bin/traffic_server(_ZN8PluginVC17process_read_sideEb+0x425)[0x4d1535]
      /usr/local/bin/traffic_server(_ZN8PluginVC18process_write_sideEb+0x5ac)[0x4d1e6c]
      /usr/local/bin/traffic_server(_ZN8PluginVC12main_handlerEiPv+0x46e)[0x4d389e]
      /usr/local/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x238)[0x6cb258]
      /usr/local/bin/traffic_server(_ZN7EThread7executeEv+0x3a9)[0x6cb979]
      /usr/local/bin/traffic_server[0x6cad1e]
      /lib64/libpthread.so.0[0x2aafe810683d]
      /lib64/libc.so.6(clone+0x6d)[0x313bad503d]
      

      (demangled)

      NOTE: Traffic Server received Sig 11: Segmentation fault
      /usr/local/bin/traffic_server - STACK TRACE: 
      /lib64/libpthread.so.0[0x2aafe810eca0]
      /usr/local/bin/traffic_server(mime_scanner_get(MIMEScanner*, char const**, char const*, char const**, char const**, bool*, bool, int)+0x2c2)[0x5cf752]
      /usr/local/bin/traffic_server(http_parser_parse_req(HTTPParser*, HdrHeap*, HTTPHdrImpl*, char const**, char const*, bool, bool)+0x113)[0x5c4e73]
      NOTE: Traffic Server received Sig 11: Segmentation fault
      /usr/local/bin/traffic_server - STACK TRACE: 
      /usr/local/bin/traffic_server(HTTPHdr::parse_req(HTTPParser*, IOBufferReader*, int*, bool)+0x1a7)[0x5c11d7]
      /lib64/libpthread.so.0[0x2ba86e67aca0]
      /usr/local/bin/traffic_server(mime_scanner_get(MIMEScanner*, char const**, char const*, char const**, char const**, bool*, bool, int)+0x2c2)[0x5cf752]
      /usr/local/bin/traffic_server(HttpSM::state_read_client_request_header(int, void*)+0x100)[0x5311c0]
      /usr/local/bin/traffic_server(http_parser_parse_req(HTTPParser*, HdrHeap*, HTTPHdrImpl*, char const**, char const*, bool, bool)+0x113)[0x5c4e73]
      /usr/local/bin/traffic_server(HttpSM::main_handler(int, void*)+0xcc)[0x5383ac]
      /usr/local/bin/traffic_server(HTTPHdr::parse_req(HTTPParser*, IOBufferReader*, int*, bool)+0x1a7)[0x5c11d7]
      /usr/local/bin/traffic_server(PluginVC::process_read_side(bool)+0x425)[0x4d1535]
      /usr/local/bin/traffic_server(HttpSM::state_read_client_request_header(int, void*)+0x100)[0x5311c0]
      /usr/local/bin/traffic_server(PluginVC::main_handler(int, void*)+0x39f)[0x4d37cf]
      /usr/local/bin/traffic_server(HttpSM::main_handler(int, void*)+0xcc)[0x5383ac]
      /usr/local/bin/traffic_server(_ZN8Plu
      ginVC17process_read_sideEb+0x425)[0x4d1535]
      /usr/local/bin/traffic_server(EThread::process_event(Event*, int)+0x238)[0x6cb258]
      /usr/local/bin/traffic_server(EThread::execute()+0x707)[0x6cbcd7]
      /usr/local/bin/traffic_server[0x6cad1e]
      /lib64/libpthread.so.0[0x2ba86e67283d]
      /usr/local/bin/traffic_server(PluginVC::process_write_side(bool)+0x5ac)[0x4d1e6c]
      /usr/local/bin/traffic_server(PluginVC::main_handler(int, void*)+0x46e)[0x4d389e]
      /lib64/libc.so.6(clone+0x6d)[0x313bad503d]
      

      Attachments

        Issue Links

          Activity

            People

              psudaemon Phil Sorber
              jvasicek John Paul Vasicek
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: