On Nov 15, 2013, at 3:46 AM, Carlos Guerreiro <[email protected]> wrote:
> Hi, > > Is it legal to reenable a transaction with TS_EVENT_HTTP_ERROR in a > transform plugin? Based on the similar thread about transformation error handling, I'd guess that this is not allowed. Maybe it should be, though. http://mail-archives.apache.org/mod_mbox/trafficserver-dev/201310.mbox/%3cCAMjBgWSiR0Qyv8VQMGu4Aoz36e=ttbexuhue0fdm26i2tmj...@mail.gmail.com%3e > I'm trying to do that some time after having received > TS_EVENT_HTTP_SEND_RESPONSE_HDR, typically not in the same "tick". > > I get a segfault: > > NOTE: Traffic Server received Sig 11: Segmentation fault > traffic_server - STACK TRACE: > /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0)[0x2ba8574d0bd0] > traffic_server(_ZN3PtrI13IOBufferBlockEaSERKS1_+0x14)[0x4e7b06] > traffic_server(_ZN9MIOBuffer12clone_readerEP14IOBufferReader+0xdc)[0x508ac8] > traffic_server(_ZN10HttpTunnel12producer_runEP18HttpTunnelProducer+0x505)[0x5ac8ed] > traffic_server(_ZN10HttpTunnel10tunnel_runEP18HttpTunnelProducer+0xe4)[0x5ac39c] > traffic_server(_ZN6HttpSM23setup_internal_transferEMS_FiiPvE+0x391)[0x576599] > traffic_server(_ZN6HttpSM17handle_api_returnEv+0x2ff)[0x5682b3] > traffic_server(_ZN6HttpSM14set_next_stateEv+0x107e)[0x57a320] > traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1ba)[0x57929a] > traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x84b)[0x567f63] > traffic_server(_ZN6HttpSM18state_api_callbackEiPv+0x179)[0x5676cd] > traffic_server(TSHttpTxnReenable+0x125)[0x4fa30f] > > Cheers, > Carlos
