You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "ywkaras (via GitHub)" <gi...@apache.org> on 2024/03/15 00:59:24 UTC

[PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

ywkaras opened a new pull request, #11164:
URL: https://github.com/apache/trafficserver/pull/11164

   Damien found by running an ASAN build that the RegexContext instance created in the heap for each thread is leaked. The thread_local RegexContextCleanup variables are never constructed becasue they are never referenced in any thread.
   
   The solution is a different approach to avoiding deadlock when loading plugins with statically allocated DbgCtl instances.  Construction of thread_locals is avoided while the DbgCtl registry mutex is locked.


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-1999310301

   [approve ci autest]


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "ywkaras (via GitHub)" <gi...@apache.org>.
ywkaras closed pull request #11164: RegexContext instance created in the heap for each thread is leaked.
URL: https://github.com/apache/trafficserver/pull/11164


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-1999234490

   [approve ci autest]


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "ywkaras (via GitHub)" <gi...@apache.org>.
ywkaras commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-2005519574

   This is traffic.out for ATS in the failing ramp test (from the CI artifacts):
   ```
   [Mar 18 09:30:00.271] traffic_server NOTE: records parsing completed.
   [Mar 18 09:30:00.271] traffic_server NOTE: /tmp/sandbox/ramp/ts/config/records.yaml finished loading
   [Mar 18 09:30:00.277] traffic_server NOTE: Traffic Server is running unprivileged, not switching to user 'nobody'
   Fatal: ../src/proxy/http/HttpSM.cc:2979: failed assertion `event == HTTP_TUNNEL_EVENT_DONE || event == VC_EVENT_INACTIVITY_TIMEOUT`
   NOTE: using the environment variable TS_RUNROOT
   [Mar 18 09:30:00.667] traffic_crashlo NOTE: crashlog started, target=17568, debug=false syslog=true, uid=1200 euid=1200
   [Mar 18 09:30:00.669] traffic_crashlo NOTE: logging to 0x11de4e0
   [Mar 18 09:30:00.671] traffic_crashlo ERROR: wrote crash log to /tmp/sandbox/ramp/ts/log/crash-2024-03-18-093000.log
   traffic_server: received signal 6 (Aborted)
   traffic_server - STACK TRACE: 
   /tmp/sandbox/ramp/ts/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0xce)[0x87bb76]
   /lib64/libc.so.6(+0x3e9a0)[0x7f64e13939a0]
   /lib64/libc.so.6(+0x90834)[0x7f64e13e5834]
   /lib64/libc.so.6(raise+0x1e)[0x7f64e13938ee]
   /lib64/libc.so.6(abort+0xdf)[0x7f64e137b8ff]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_Z11ink_warningPKcz+0x0)[0x8b1718]
   /tmp/sandbox/ramp/ts/bin/traffic_server[0x8ade2e]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN6HttpSM14tunnel_handlerEiPv+0x12a)[0x9107ba]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x254)[0x90ef44]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0xdd)[0x881869]
   /tmp/sandbox/ramp/ts/bin/traffic_server[0xc01141]
   /tmp/sandbox/ramp/ts/bin/traffic_server[0xc01592]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0x92b)[0xc02964]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_Z12write_to_netP10NetHandlerP18UnixNetVConnectionP7EThread+0x3f)[0xc02036]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN18UnixNetVConnection12net_write_ioEP10NetHandlerP7EThread+0x2b)[0xc0409f]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN10NetHandler18process_ready_listEv+0x16d)[0xc2f761]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN10NetHandler15waitForActivityEl+0x150)[0xc2fa12]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN7EThread15execute_regularEv+0x482)[0xc6b634]
   /tmp/sandbox/ramp/ts/bin/traffic_server(_ZN7EThread7executeEv+0xf9)[0xc6b7c9]
   /tmp/sandbox/ramp/ts/bin/traffic_server[0xc6a14a]
   /lib64/libc.so.6(+0x8e897)[0x7f64e13e3897]
   /lib64/libc.so.6(clone+0x44)[0x7f64e146a674]
   ```
   https://github.com/apache/trafficserver/blob/e1e8e434d3b3b27561a14bc09fec3d37c4ec0dc2/src/proxy/http/HttpSM.cc#L2979
   
   I turned on the "http" debug tag:
   ```
   -ts.Disk.records_config.update({'proxy.config.log.max_secs_per_buffer': 1})
   +ts.Disk.records_config.update({
   +    'proxy.config.log.max_secs_per_buffer': 1,
   +    'proxy.config.diags.debug.enabled': 1,
   +    'proxy.config.diags.debug.tags': 'http$'
   +})
   ```
   This caused the test to fail in my local test environment, but I can't see exactly why.  The return code from the TS process was -6.  These were the final debug traces:
   ```
   [Mar 18 18:07:10.375] [ET_NET 7] DIAG: <HttpSM.cc:2977 (tunnel_handler)> (http) [136] [&HttpSM::tunnel_handler, HTTP_TUNNEL_EVENT_DONE]
   [Mar 18 18:07:10.374] [ET_NET 15] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [268] State Transition: SM_ACTION_DNS_LOOKUP -> SM_ACTION_API_OS_DNS
   [Mar 18 18:07:10.375] [ET_NET 13] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [985] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.375] [ET_NET 2] DIAG: <HttpSM.cc:2051 (state_send_server_request_header)> (http) [786] [&HttpSM::state_send_server_request_header, VC_EVENT_WRITE_COMPLETE/TS_EVENT_VCONN_WRITE_COMPLETE]
   [Mar 18 18:07:10.375] [ET_NET 13] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [985] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   [Mar 18 18:07:10.375] [ET_NET 15] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [268] State Transition: SM_ACTION_API_OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE
   [Mar 18 18:07:10.375] [ET_NET 13] DIAG: <HttpSM.cc:2566 (state_cache_open_read)> (http) [985] open read failed.
   [Mar 18 18:07:10.375] [ET_NET 2] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [593] VC_EVENT_WRITE_READY/TS_EVENT_VCONN_WRITE_READY, 101
   [Mar 18 18:07:10.375] [ET_NET 6] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [665] CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED, 1103
   /home/wkaras/REPOS/TS/tests/_sandbox/ramp/ts/bin/traffic_server(_ZN7EThread15execute_regularEv+0x479)[0xd17315]
   [Mar 18 18:07:10.375] [ET_NET 11] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [904] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.375] [ET_NET 6] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [665] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.375] [ET_NET 4] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [996] CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED, 1103
   [Mar 18 18:07:10.375] [ET_NET 6] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [665] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   [Mar 18 18:07:10.375] [ET_NET 3] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [200] CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED, 1109
   [Mar 18 18:07:10.375] [ET_NET 0] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [512] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.375] [ET_NET 1] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [585] State Transition: SM_ACTION_CACHE_LOOKUP -> SM_ACTION_DNS_LOOKUP
   [Mar 18 18:07:10.375] [ET_NET 0] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [512] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   [Mar 18 18:07:10.375] [ET_NET 7] DIAG: <HttpSM.cc:1402 (state_api_callout)> (http) [136] calling plugin on hook TS_HTTP_TXN_CLOSE_HOOK at hook 0x7f24f8045e80
   [Mar 18 18:07:10.375] [ET_NET 1] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [585] State Transition: SM_ACTION_DNS_LOOKUP -> SM_ACTION_API_OS_DNS
   [Mar 18 18:07:10.375] [ET_NET 0] DIAG: <HttpSM.cc:2566 (state_cache_open_read)> (http) [512] open read failed.
   [Mar 18 18:07:10.374] [ET_NET 5] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [814] CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED, 1109
   [Mar 18 18:07:10.375] [ET_NET 2] DIAG: <HttpSM.cc:1743 (state_http_server_open)> (http) [593] [&HttpSM::state_http_server_open, VC_EVENT_WRITE_READY/TS_EVENT_VCONN_WRITE_READY]
   [Mar 18 18:07:10.375] [ET_NET 5] DIAG: <HttpSM.cc:2408 (state_cache_open_write)> (http) [814] [&HttpSM : state_cache_open_write, CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED]
   [Mar 18 18:07:10.375] [ET_NET 8] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [876] State Transition: SM_ACTION_CACHE_ISSUE_WRITE -> SM_ACTION_ORIGIN_SERVER_OPEN
   [Mar 18 18:07:10.375] [ET_NET 2] DIAG: <HttpSM.cc:6621 (setup_server_read_response_header)> (http) [593] Setting up the header read
   [Mar 18 18:07:10.375] [ET_NET 8] DIAG: <HttpTransact.h:942 (set_connect_fail)> (http) Setting upstream connection failure 0 to 5
   [Mar 18 18:07:10.375] [ET_NET 6] DIAG: <HttpSM.cc:2566 (state_cache_open_read)> (http) [665] open read failed.
   [Mar 18 18:07:10.375] [ET_NET 8] DIAG: <HttpSM.cc:5277 (do_http_server_open)> (http) [876] open connection to ex.two: 127.0.0.1:61005
   [Mar 18 18:07:10.375] [ET_NET 3] DIAG: <HttpSM.cc:2408 (state_cache_open_write)> (http) [200] [&HttpSM : state_cache_open_write, CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED]
   [Mar 18 18:07:10.375] [ET_NET 8] DIAG: <HttpTransact.h:942 (set_connect_fail)> (http) Setting upstream connection failure 5 to 5
   [Mar 18 18:07:10.375] [ET_NET 12] DIAG: <HttpSM.cc:1743 (state_http_server_open)> (http) [288] [&HttpSM::state_http_server_open, unknown event]
   [Mar 18 18:07:10.374] [ET_NET 10] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [684] State Transition: SM_ACTION_CACHE_LOOKUP -> SM_ACTION_DNS_LOOKUP
   [Mar 18 18:07:10.375] [ET_NET 12] DIAG: <HttpSM.cc:5277 (do_http_server_open)> (http) [288] open connection to three.ex: 127.0.0.1:61005
   [Mar 18 18:07:10.375] [ET_NET 10] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [684] State Transition: SM_ACTION_DNS_LOOKUP -> SM_ACTION_API_OS_DNS
   [Mar 18 18:07:10.375] [ET_NET 0] DIAG: <HttpTransact.cc:2631 (CallOSDNSLookup)> (http) [512] ex.two 
   [Mar 18 18:07:10.375] [ET_NET 13] DIAG: <HttpTransact.cc:2631 (CallOSDNSLookup)> (http) [985] three.ex 
   [Mar 18 18:07:10.375] [ET_NET 5] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [814] State Transition: SM_ACTION_CACHE_ISSUE_WRITE -> SM_ACTION_ORIGIN_SERVER_OPEN
   [Mar 18 18:07:10.375] [ET_NET 11] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [904] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   [Mar 18 18:07:10.375] [ET_NET 5] DIAG: <HttpTransact.h:942 (set_connect_fail)> (http) Setting upstream connection failure 0 to 5
   [Mar 18 18:07:10.375] [ET_NET 11] DIAG: <HttpSM.cc:2566 (state_cache_open_read)> (http) [904] open read failed.
   [Mar 18 18:07:10.375] [ET_NET 6] DIAG: <HttpTransact.cc:2631 (CallOSDNSLookup)> (http) [665] ex.two 
   [Mar 18 18:07:10.375] [ET_NET 5] DIAG: <HttpSM.cc:5277 (do_http_server_open)> (http) [814] open connection to three.ex: 127.0.0.1:61005
   [Mar 18 18:07:10.375] [ET_NET 2] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [593] VC_EVENT_WRITE_COMPLETE/TS_EVENT_VCONN_WRITE_COMPLETE, 103
   [Mar 18 18:07:10.375] [ET_NET 3] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [200] State Transition: SM_ACTION_CACHE_ISSUE_WRITE -> SM_ACTION_ORIGIN_SERVER_OPEN
   [Mar 18 18:07:10.375] [ET_NET 5] DIAG: <HttpSM.cc:6621 (setup_server_read_response_header)> (http) [814] Setting up the header read
   /home/wkaras/REPOS/TS/tests/_sandbox/ramp/ts/bin/traffic_server(_ZN7EThread7executeEv+0xf9)[0xd174a9]
   [Mar 18 18:07:10.375] [ET_NET 7] DIAG: <HttpSM.cc:1291 (state_api_callback)> (http) [136] [&HttpSM::state_api_callback, HTTP_API_CONTINUE/TS_EVENT_HTTP_CONTINUE]
   [Mar 18 18:07:10.375] [ET_NET 1] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [585] State Transition: SM_ACTION_API_OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE
   [Mar 18 18:07:10.375] [ET_NET 12] DIAG: <HttpSM.cc:5630 (do_http_server_open)> (http) [288] calling netProcessor.connect_re
   [Mar 18 18:07:10.375] [ET_NET 10] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [684] State Transition: SM_ACTION_API_OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE
   [Mar 18 18:07:10.375] [ET_NET 0] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [512] State Transition: SM_ACTION_CACHE_LOOKUP -> SM_ACTION_DNS_LOOKUP
   [Mar 18 18:07:10.375] [ET_NET 1] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [628] CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED, 1103
   [Mar 18 18:07:10.375] [ET_NET 13] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [985] State Transition: SM_ACTION_CACHE_LOOKUP -> SM_ACTION_DNS_LOOKUP
   [Mar 18 18:07:10.375] [ET_NET 10] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [919] CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED, 1103
   [Mar 18 18:07:10.375] [ET_NET 4] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [996] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.376] [ET_NET 10] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [919] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.376] [ET_NET 13] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [985] State Transition: SM_ACTION_DNS_LOOKUP -> SM_ACTION_API_OS_DNS
   [Mar 18 18:07:10.376] [ET_NET 4] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [996] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   [Mar 18 18:07:10.375] [ET_NET 6] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [665] State Transition: SM_ACTION_CACHE_LOOKUP -> SM_ACTION_DNS_LOOKUP
   [Mar 18 18:07:10.376] [ET_NET 4] DIAG: <HttpSM.cc:2566 (state_cache_open_read)> (http) [996] open read failed.
   [Mar 18 18:07:10.375] [ET_NET 2] DIAG: <HttpSM.cc:2051 (state_send_server_request_header)> (http) [593] [&HttpSM::state_send_server_request_header, VC_EVENT_WRITE_COMPLETE/TS_EVENT_VCONN_WRITE_COMPLETE]
   [Mar 18 18:07:10.376] [ET_NET 12] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [288] NET_EVENT_OPEN/TS_EVENT_NET_CONNECT, 200
   [Mar 18 18:07:10.376] [ET_NET 6] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [665] State Transition: SM_ACTION_DNS_LOOKUP -> SM_ACTION_API_OS_DNS
   [Mar 18 18:07:10.375] [ET_NET 3] DIAG: <HttpTransact.h:942 (set_connect_fail)> (http) Setting upstream connection failure 0 to 5
   [Mar 18 18:07:10.376] [ET_NET 6] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [665] State Transition: SM_ACTION_API_OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE
   [Mar 18 18:07:10.376] [ET_NET 3] DIAG: <HttpSM.cc:5277 (do_http_server_open)> (http) [200] open connection to ex.two: 127.0.0.1:61005
   [Mar 18 18:07:10.376] [ET_NET 3] DIAG: <HttpTransact.h:942 (set_connect_fail)> (http) Setting upstream connection failure 5 to 5
   [Mar 18 18:07:10.375] [ET_NET 5] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [460] CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED, 1109
   [Mar 18 18:07:10.375] [ET_NET 7] DIAG: <HttpSM.cc:1331 (state_api_callout)> (http) [136] [&HttpSM::state_api_callout, HTTP_API_CONTINUE/TS_EVENT_HTTP_CONTINUE]
   [Mar 18 18:07:10.376] [ET_NET 1] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [628] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.376] [ET_NET 5] DIAG: <HttpSM.cc:2408 (state_cache_open_write)> (http) [460] [&HttpSM : state_cache_open_write, CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED]
   [Mar 18 18:07:10.376] [ET_NET 1] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [628] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   [Mar 18 18:07:10.376] [ET_NET 7] DIAG: <HttpSM.cc:7517 (kill_this)> (http) [136] deallocating sm
   [Mar 18 18:07:10.375] [ET_NET 11] DIAG: <HttpTransact.cc:2631 (CallOSDNSLookup)> (http) [904] ex.two 
   [Mar 18 18:07:10.375] [ET_NET 9] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [406] CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED, 1103
   [Mar 18 18:07:10.376] [ET_NET 13] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [985] State Transition: SM_ACTION_API_OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE
   [Mar 18 18:07:10.376] [ET_NET 4] DIAG: <HttpTransact.cc:2631 (CallOSDNSLookup)> (http) [996] three.ex 
   [Mar 18 18:07:10.375] [ET_NET 8] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [891] CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED, 1109
   [Mar 18 18:07:10.376] [ET_NET 4] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [996] State Transition: SM_ACTION_CACHE_LOOKUP -> SM_ACTION_DNS_LOOKUP
   [Mar 18 18:07:10.376] [ET_NET 12] DIAG: <HttpSM.cc:1743 (state_http_server_open)> (http) [288] [&HttpSM::state_http_server_open, NET_EVENT_OPEN/TS_EVENT_NET_CONNECT]
   [Mar 18 18:07:10.376] [ET_NET 4] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [996] State Transition: SM_ACTION_DNS_LOOKUP -> SM_ACTION_API_OS_DNS
   [Mar 18 18:07:10.376] [ET_NET 2] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [584] VC_EVENT_WRITE_READY/TS_EVENT_VCONN_WRITE_READY, 101
   [Mar 18 18:07:10.376] [ET_NET 6] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [496] VC_EVENT_READ_READY/TS_EVENT_VCONN_READ_READY, 100
   [Mar 18 18:07:10.376] [ET_NET 4] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [996] State Transition: SM_ACTION_API_OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE
   [Mar 18 18:07:10.376] [ET_NET 3] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [212] CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED, 1109
   [Mar 18 18:07:10.376] [ET_NET 0] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [512] State Transition: SM_ACTION_DNS_LOOKUP -> SM_ACTION_API_OS_DNS
   /home/wkaras/REPOS/TS/tests/_sandbox/ramp/ts/bin/traffic_server[0xd15e34]
   [Mar 18 18:07:10.376] [ET_NET 3] DIAG: <HttpSM.cc:2408 (state_cache_open_write)> (http) [212] [&HttpSM : state_cache_open_write, CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED]
   /lib64/libpthread.so.0(+0x81ca)[0x7f253955c1ca]
   [Mar 18 18:07:10.376] [ET_NET 0] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [512] State Transition: SM_ACTION_API_OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE
   [Mar 18 18:07:10.376] [ET_NET 10] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [919] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   /lib64/libc.so.6(clone+0x43)[0x7f25391c8e73]
   [Mar 18 18:07:10.376] [ET_NET 3] DIAG: <HttpSM.cc:7772 (call_transact_and_set_next_state)> (http) [212] State Transition: SM_ACTION_CACHE_ISSUE_WRITE -> SM_ACTION_ORIGIN_SERVER_OPEN
   [Mar 18 18:07:10.376] [ET_NET 0] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [534] CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED, 1103
   [Mar 18 18:07:10.376] [ET_NET 9] DIAG: <HttpSM.cc:2529 (state_cache_open_read)> (http) [406] [&HttpSM::state_cache_open_read, CACHE_EVENT_OPEN_READ_FAILED/TS_EVENT_CACHE_OPEN_READ_FAILED]
   [Mar 18 18:07:10.376] [ET_NET 3] DIAG: <HttpTransact.h:942 (set_connect_fail)> (http) Setting upstream connection failure 0 to 5
   [Mar 18 18:07:10.376] [ET_NET 9] DIAG: <HttpSM.cc:2563 (state_cache_open_read)> (http) [406] cache_open_read - CACHE_EVENT_OPEN_READ_FAILED with ECACHE_NO_DOC (20400)
   [Mar 18 18:07:10.376] [ET_NET 8] DIAG: <HttpSM.cc:2408 (state_cache_open_write)> (http) [891] [&HttpSM : state_cache_open_write, CACHE_EVENT_OPEN_WRITE_FAILED/TS_EVENT_CACHE_OPEN_WRITE_FAILED]
   [Mar 18 18:07:10.376] [ET_NET 12] DIAG: <HttpSM.cc:2601 (main_handler)> (http) [393] unknown event, 1401
   ```
   The symbol for Event 1401 is CONNECT_EVENT_DIRECT.


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-2003261120

   [approve ci autest]


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "ywkaras (via GitHub)" <gi...@apache.org>.
ywkaras commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-2019010895

   Replaced by  https://github.com/apache/trafficserver/pull/11184


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-1999804349

   [approve ci autest]


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "ywkaras (via GitHub)" <gi...@apache.org>.
ywkaras commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-1998904419

   [approve ci autest]


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RegexContext instance created in the heap for each thread is leaked. [trafficserver]

Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 commented on PR #11164:
URL: https://github.com/apache/trafficserver/pull/11164#issuecomment-1999472083

   `txn_box ramp` keeps failing, unrelated with this change.
   


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org