NischalBhandari opened a new issue, #8952:
URL: https://github.com/apache/trafficserver/issues/8952

   I am trying to rewrite a header for a video streaming website where i am 
using a header_rewrite plugin to just convert a origin server response of 4xx 
code to 200 and also add certain headers. This essentially is a preflight 
request. This is not important but after the request is accepted and after that 
the video starts streaming but after some time the traffic server restarts .
   
   The crashlog is a SIG 11 : Segmentation Fault but after that I do not know 
how to resolve the issue.
   Just Before the crash in traffic.out file shows the following and a crash 
report is also generated but i don't know how to read the crashlog.
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpTunnel.cc:1178 
(producer_handler)> (http_redirect) [54] enable_redirection: [0 0 0] event: 
104, state: 10
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:3062 
(tunnel_handler_server)> (http) [54] [&HttpSM::tunnel_handler_server, 
VC_EVENT_EOS/TS_EVENT_VCONN_EOS]
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:3135 
(tunnel_handler_server)> (http) [54] finishing HTTP tunnel
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <Http1ServerSession.cc:121 
(do_io_close)> (http_ss) [93] session close: nevtc 0x2ad9801befa0
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpTunnel.cc:1344 
(consumer_handler)> (http_tunnel) [54] consumer_handler [user agent 
VC_EVENT_WRITE_COMPLETE/TS_EVENT_VCONN_WRITE_COMPLETE]
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:3341 (tunnel_handler_ua)> 
(http) [54] [&HttpSM::tunnel_handler_ua, 
VC_EVENT_WRITE_COMPLETE/TS_EVENT_VCONN_WRITE_COMPLETE]
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:2716 (main_handler)> 
(http) [54] HTTP_TUNNEL_EVENT_DONE, 2301
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:3011 (tunnel_handler)> 
(http) [54] [&HttpSM::tunnel_handler, HTTP_TUNNEL_EVENT_DONE]
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:8486 (clear)> 
(http_redirect) [PostDataBuffers::clear]
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:470 
(state_remove_from_list)> (http) [54] [&HttpSM::state_remove_from_list, 
EVENT_NONE/VC_EVENT_NONE]
   
   [Jul 11 08:31:07.210] [ET_NET 4] DEBUG: <HttpSM.cc:7239 (kill_this)> 
(http_seq) [54] Logging transaction
   
   [Jul 11 08:31:07.212] traffic_crashlo NOTE: crashlog started, target=26750, 
debug=false syslog=true, uid=175 euid=0
   
   [Jul 11 08:31:07.213] traffic_crashlo NOTE: logging to 0x9fcb30
   
   [Jul 11 08:31:07.368] traffic_crashlo ERROR: wrote crash log to 
/opt/trafficserver/var/log/trafficserver/crash-2022-07-11-083107.log
   
   traffic_server: received signal 11 (Segmentation fault)
   
   traffic_server - STACK TRACE:
   
   
/opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ea38e]
   
   /lib64/libpthread.so.0(+0xf630)[0x2ad9668b0630]
   
   /lib64/libc.so.6(_IO_vfprintf+0x4a79)[0x2ad96752e079]
   
   
/opt/trafficserver/lib/libtscore.so.10(_ZNK5Diags8print_vaEPKc10DiagsLevelPK14SourceLocationS1_P13__va_list_tag+0xe88)[0x2ad965436ef8]
   
   
/opt/trafficserver/lib/libtscore.so.10(_ZNK5Diags8error_vaE10DiagsLevelPK14SourceLocationPKcP13__va_list_tag+0x27)[0x2ad965437977]
   
   
/opt/trafficserver/lib/libtscore.so.10(_ZN10LogMessage14message_helperENSt6chrono8durationIlSt5ratioILl1ELl1000000EEEERKSt8functionIFvPKcP13__va_list_tagEES7_S9_+0x42)[0x2ad96546a4d2]
   
   
/opt/trafficserver/lib/libtscore.so.10(_ZN10LogMessage23standard_message_helperE10DiagsLevelRK14SourceLocationPKcP13__va_list_tag+0x55)[0x2ad96546ada5]
   
   
/opt/trafficserver/lib/libtscore.so.10(_ZN10LogMessage7messageE10DiagsLevelRK14SourceLocationPKcz+0x7d)[0x2ad96546b2cd]
   
   
/opt/trafficserver/bin/traffic_server(_ZN12LogFieldList11marshal_aggEPc+0x107)[0x69a437]
   
   
/opt/trafficserver/bin/traffic_server(_ZN16LogObjectManager3logEP9LogAccess+0x738)[0x6b3b98]
   
   /opt/trafficserver/bin/traffic_server(_ZN6HttpSM9kill_thisEv+0x45c)[0x59133c]
   
   
/opt/trafficserver/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x20f)[0x5919ff]
   
   
/opt/trafficserver/bin/traffic_server(_ZN10HttpTunnel12main_handlerEiPv+0x331)[0x601de1]
   
   /opt/trafficserver/bin/traffic_server[0x84a49e]
   
   /opt/trafficserver/bin/traffic_server[0x84a5ce]
   
   
/opt/trafficserver/bin/traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0x82a)[0x850aaa]
   
   
/opt/trafficserver/bin/traffic_server(_ZN10NetHandler18process_ready_listEv+0x2d8)[0x839118]
   
   
/opt/trafficserver/bin/traffic_server(_ZN10NetHandler15waitForActivityEl+0x24a)[0x8393ba]
   
   
/opt/trafficserver/bin/traffic_server(_ZN7EThread15execute_regularEv+0x902)[0x8a3092]
   
   /opt/trafficserver/bin/traffic_server(_ZN7EThread7executeEv+0x1c2)[0x8a3732]
   
   /opt/trafficserver/bin/traffic_server[0x8a0e32]
   
   /lib64/libpthread.so.0(+0x7ea5)[0x2ad9668a8ea5]
   
   /lib64/libc.so.6(clone+0x6d)[0x2ad9675dfb0d]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to