You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/04/08 18:08:19 UTC

[jira] [Updated] (TS-2705) master Crashes frequently

     [ https://issues.apache.org/jira/browse/TS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-2705:
------------------------------

    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 

{code}
/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]
{code}

much regards 

  was:
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 

NOTE: Traffic Server received Sig 11: Segmentation fault
/usr/local/bin/traffic_server - STACK TRACE: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0)[0x2b16fe4fcbb0]
/usr/local/bin/traffic_server(_ZN6HttpSM17tunnel_handler_uaEiP18HttpTunnelConsumer+0x31d)[0x51b30d]
/usr/local/bin/traffic_server(_ZN10HttpTunnel16consumer_handlerEiP18HttpTunnelConsumer+0x74)[0x56b704]
/usr/local/bin/traffic_server(_ZN10HttpTunnel12main_handlerEiPv+0x108)[0x56d048]
/usr/local/bin/traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0xf67)[0x68c4f7]
/usr/local/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x286)[0x681576]
/usr/local/bin/traffic_server(_ZN7EThread7executeEv+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(_Z20mime_field_value_getP9MIMEFieldPi+0x0)[0x5c7fd0]
/usr/local/bin/traffic_server(_ZN12HttpTransact14build_responseEPNS_5StateEP7HTTPHdrS3_11HTTPVersion10HTTPStatusPKc+0x112)[0x54f892]
/usr/local/bin/traffic_server(_ZN12HttpTransact25build_response_from_cacheEPNS_5StateE15HTTPWarningCode+0x1e1)[0x55d7c1]
/usr/local/bin/traffic_server(_ZN12HttpTransact22HandleCacheOpenReadHitEPNS_5StateE+0x147)[0x55ee67]
/usr/local/bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x56)[0x523466]
/usr/local/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x2c8)[0x52d7a8]
/usr/local/bin/traffic_server(_ZN6HttpSM18state_api_callbackEiPv+0x82)[0x531f92]
/usr/local/bin/traffic_server(TSHttpTxnReenable+0x244)[0x4bea94]
/usr/local/libexec/trafficserver/collapsed_connection.so(+0x3d05)[0x2ab361bc4d05]
/usr/local/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x104)[0x52d5e4]
/usr/local/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x5ab)[0x53263b]
/usr/local/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x2c8)[0x52d7a8]
/usr/local/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x5ab)[0x53263b]
/usr/local/bin/traffic_server(_ZN6HttpSM21state_cache_open_readEiPv+0x156)[0x52eda6]
/usr/local/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xbd)[0x52e2fd]
/usr/local/bin/traffic_server(_ZN11HttpCacheSM21state_cache_open_readEiPv+0x1c2)[0x510912]
/usr/local/bin/traffic_server(_ZN7CacheVC8callcontEi+0x5b)[0x5f508b]
/usr/local/bin/traffic_server(_ZN7CacheVC17openReadStartHeadEiP5Event+0xfba)[0x65cb3a]
/usr/local/bin/traffic_server(_ZN7CacheVC14handleReadDoneEiP5Event+0x1c8)[0x63ab78]
/usr/local/bin/traffic_server(_ZN19AIOCallbackInternal11io_completeEiPv+0x33)[0x5f3f83]
/usr/local/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x150)[0x6b5de0]
/usr/local/bin/traffic_server(_ZN7EThread7executeEv+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 


> master Crashes frequently 
> --------------------------
>
>                 Key: TS-2705
>                 URL: https://issues.apache.org/jira/browse/TS-2705
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache, Core, Lua
>            Reporter: Faysal Banna
>
> 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 
> {code}
> /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]
> {code}
> much regards 



--
This message was sent by Atlassian JIRA
(v6.2#6252)