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

master Crashes frequently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • Cache, Core, Lua

    Description

      Hi Guys
      I enabled ts_lua plugin and did experiment on my local computer all worked fine
      when i moved to the big machine hosting traffic i noticed that the ATS crashes most often (each 5 minutes almost ).
      i don't know the cause of it and can not confirm if its from the ts_lua stuff

      plugins enabled are ts_lua, cacheurl, header_rewrite, collapsed_connection

      anyhow here is the code i get in traffic.out

      /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0)[0x2b16fe4fcbb0]
      /usr/local/bin/traffic_server(HttpSM::tunnel_handler_ua(int, HttpTunnelConsumer*)+0x31d)[0x51b30d]
      /usr/local/bin/traffic_server(HttpTunnel::consumer_handler(int, HttpTunnelConsumer*)+0x74)[0x56b704]
      /usr/local/bin/traffic_server(HttpTunnel::main_handler(int, void*)+0x108)[0x56d048]
      /usr/local/bin/traffic_server(write_to_net_io(NetHandler*, UnixNetVConnection*, EThread*)+0xf67)[0x68c4f7]
      /usr/local/bin/traffic_server(NetHandler::mainNetEvent(int, Event*)+0x286)[0x681576]
      /usr/local/bin/traffic_server(EThread::execute()+0x9a3)[0x6af5a3]
      /usr/local/bin/traffic_server[0x6ae19a]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x7f6e)[0x2b16fe4f4f6e]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x2b16ff2269cd]
      
      NOTE: Traffic Server received Sig 11: Segmentation fault
      /usr/local/bin/traffic_server - STACK TRACE:
      /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0)[0x2ab35816abb0]
      /usr/local/bin/traffic_server(mime_field_value_get(MIMEField*, int*)+0x0)[0x5c7fd0]
      /usr/local/bin/traffic_server(HttpTransact::build_response(HttpTransact::State*, HTTPHdr*, HTTPHdr*, HTTPVersion, HTTPStatus, char const*)+0x112)[0x54f892]
      /usr/local/bin/traffic_server(HttpTransact::build_response_from_cache(HttpTransact::State*, HTTPWarningCode)+0x1e1)[0x55d7c1]
      /usr/local/bin/traffic_server(HttpTransact::HandleCacheOpenReadHit(HttpTransact::State*)+0x147)[0x55ee67]
      /usr/local/bin/traffic_server(HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*))+0x56)[0x523466]
      /usr/local/bin/traffic_server(HttpSM::state_api_callout(int, void*)+0x2c8)[0x52d7a8]
      /usr/local/bin/traffic_server(HttpSM::state_api_callback(int, void*)+0x82)[0x531f92]
      /usr/local/bin/traffic_server(TSHttpTxnReenable+0x244)[0x4bea94]
      /usr/local/libexec/trafficserver/collapsed_connection.so(+0x3d05)[0x2ab361bc4d05]
      /usr/local/bin/traffic_server(HttpSM::state_api_callout(int, void*)+0x104)[0x52d5e4]
      /usr/local/bin/traffic_server(HttpSM::set_next_state()+0x5ab)[0x53263b]
      /usr/local/bin/traffic_server(HttpSM::state_api_callout(int, void*)+0x2c8)[0x52d7a8]
      /usr/local/bin/traffic_server(HttpSM::set_next_state()+0x5ab)[0x53263b]
      /usr/local/bin/traffic_server(HttpSM::state_cache_open_read(int, void*)+0x156)[0x52eda6]
      /usr/local/bin/traffic_server(HttpSM::main_handler(int, void*)+0xbd)[0x52e2fd]
      /usr/local/bin/traffic_server(HttpCacheSM::state_cache_open_read(int, void*)+0x1c2)[0x510912]
      /usr/local/bin/traffic_server(CacheVC::callcont(int)+0x5b)[0x5f508b]
      /usr/local/bin/traffic_server(CacheVC::openReadStartHead(int, Event*)+0xfba)[0x65cb3a]
      /usr/local/bin/traffic_server(CacheVC::handleReadDone(int, Event*)+0x1c8)[0x63ab78]
      /usr/local/bin/traffic_server(AIOCallbackInternal::io_complete(int, void*)+0x33)[0x5f3f83]
      /usr/local/bin/traffic_server(EThread::process_event(Event*, int)+0x150)[0x6b5de0]
      /usr/local/bin/traffic_server(EThread::execute()+0x6f3)[0x6b6873]
      /usr/local/bin/traffic_server[0x6b571a]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x7f6e)[0x2ab358162f6e]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x2ab358e949cd]
      

      much regards

      Attachments

        1. ts-2705.diff
          0.9 kB
          Alan M. Carroll

        Issue Links

          Activity

            People

              amc Alan M. Carroll
              degreane Faysal Banna
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: