(This page was automatically generated by the tools in the opsboy project on 09:46:44 03-Nov-2020 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
12abf47c | 2020-10-27 03:33:36 GMT | 2224 | 121 | 78 | 8802 | 3870 sec |
File | Name | Details |
---|---|---|
balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - grep_error_log_out (req 0) |
'event timer add: 10: 1234: event timer add: 10: 5678: event timer add: 10: 7689: event timer add: 10: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - grep_error_log_out (req 1) |
'event timer add: 10: 1234: event timer add: 10: 5678: event timer add: 10: 7689: event timer add: 10: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - grep_error_log_out (req 0) |
'event timer add: 4: 1234: event timer add: 4: 5678: event timer add: 4: 7689: event timer add: 4: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - grep_error_log_out (req 1) |
'event timer add: 4: 1234: event timer add: 4: 5678: event timer add: 4: 7689: event timer add: 4: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 1: set_timeouts - grep_error_log_out (req 0) |
'event timer add: 4: 1234: event timer add: 4: 5678: event timer add: 4: 7689: event timer add: 4: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 1: set_timeouts - grep_error_log_out (req 1) |
'event timer add: 4: 1234: event timer add: 4: 5678: event timer add: 4: 7689: event timer add: 4: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - grep_error_log_out (req 0) |
'event timer add: 4: 1234: event timer add: 4: 5678: event timer add: 4: 7689: event timer add: 4: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - grep_error_log_out (req 1) |
'event timer add: 4: 1234: event timer add: 4: 5678: event timer add: 4: 7689: event timer add: 4: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==5078== Invalid read of size 4 ==5078== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5078== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5078== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5078== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5078== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5078== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5078== by 0x407FA29: lua_resume (lj_api.c:1296) ==5078== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5078== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5078== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5078== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5078== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5078== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5078== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5078== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5078== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5078== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5078== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5078== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5078== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==5078== by 0x8065F8B: main (nginx.c:385) ==5078== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5078== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==5078== ==5078== Process terminating with default action of signal 11 (SIGSEGV) ==5078== Access not within mapped region at address 0x0 ==5078== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5078== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5078== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5078== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5078== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5078== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5078== by 0x407FA29: lua_resume (lj_api.c:1296) ==5078== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5078== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5078== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5078== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5078== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5078== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5078== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5078== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5078== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5078== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5078== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5078== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5078== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==5078== by 0x8065F8B: main (nginx.c:385) ==5078== If you believe this happened as a result of a stack ==5078== overflow in your program's main thread (unlikely but ==5078== possible), you can try to increase the size of the ==5078== main thread stack using the --main-stacksize= flag. ==5078== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}" length: 50 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - grep_error_log_out (req 0) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"... length: 87 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==5079== Invalid read of size 4 ==5079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5079== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5079== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5079== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5079== by 0x407FA29: lua_resume (lj_api.c:1296) ==5079== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5079== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5079== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5079== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5079== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5079== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5079== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5079== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5079== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5079== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5079== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5079== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5079== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5079== by 0x8065F8B: main (nginx.c:385) ==5079== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5079== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==5079== ==5079== Process terminating with default action of signal 11 (SIGSEGV) ==5079== Access not within mapped region at address 0x0 ==5079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5079== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5079== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5079== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5079== by 0x407FA29: lua_resume (lj_api.c:1296) ==5079== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5079== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5079== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5079== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5079== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5079== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5079== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5079== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5079== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5079== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5079== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5079== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5079== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5079== by 0x8065F8B: main (nginx.c:385) ==5079== If you believe this happened as a result of a stack ==5079== overflow in your program's main thread (unlikely but ==5079== possible), you can try to increase the size of the ==5079== main thread stack using the --main-stacksize= flag. ==5079== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}" length: 50 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - grep_error_log_out (req 1) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"... length: 174 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua |
==5091== Invalid read of size 4 ==5091== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5091== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5091== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5091== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5091== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5091== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5091== by 0x407FA29: lua_resume (lj_api.c:1296) ==5091== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5091== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5091== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5091== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5091== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5091== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5091== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5091== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5091== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5091== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5091== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5091== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5091== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5091== by 0x8065F8B: main (nginx.c:385) ==5091== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5091== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua |
==5091== ==5091== Process terminating with default action of signal 11 (SIGSEGV) ==5091== Access not within mapped region at address 0x0 ==5091== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5091== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5091== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5091== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5091== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5091== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5091== by 0x407FA29: lua_resume (lj_api.c:1296) ==5091== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5091== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5091== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5091== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5091== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5091== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5091== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5091== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5091== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5091== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5091== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5091== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5091== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5091== by 0x8065F8B: main (nginx.c:385) ==5091== If you believe this happened as a result of a stack ==5091== overflow in your program's main thread (unlikely but ==5091== possible), you can try to increase the size of the ==5091== main thread stack using the --main-stacksize= flag. ==5091== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}" length: 50 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 0) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"... length: 87 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua |
==5112== Invalid read of size 4 ==5112== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5112== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5112== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5112== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5112== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5112== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5112== by 0x407FA29: lua_resume (lj_api.c:1296) ==5112== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5112== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5112== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5112== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5112== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5112== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5112== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5112== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5112== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5112== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5112== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5112== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5112== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5112== by 0x8065F8B: main (nginx.c:385) ==5112== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5112== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua |
==5112== ==5112== Process terminating with default action of signal 11 (SIGSEGV) ==5112== Access not within mapped region at address 0x0 ==5112== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5112== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5112== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5112== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5112== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5112== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5112== by 0x407FA29: lua_resume (lj_api.c:1296) ==5112== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5112== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5112== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5112== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5112== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5112== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5112== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5112== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5112== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5112== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5112== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5112== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5112== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5112== by 0x8065F8B: main (nginx.c:385) ==5112== If you believe this happened as a result of a stack ==5112== overflow in your program's main thread (unlikely but ==5112== possible), you can try to increase the size of the ==5112== main thread stack using the --main-stacksize= flag. ==5112== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}" length: 50 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 1) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"... length: 174 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) |
==5123== Invalid read of size 4 ==5123== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5123== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5123== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5123== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5123== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5123== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5123== by 0x407FA29: lua_resume (lj_api.c:1296) ==5123== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5123== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5123== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5123== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5123== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5123== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5123== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5123== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5123== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5123== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5123== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5123== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5123== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5123== by 0x8065F8B: main (nginx.c:385) ==5123== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5123== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) |
==5123== ==5123== Process terminating with default action of signal 11 (SIGSEGV) ==5123== Access not within mapped region at address 0x0 ==5123== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5123== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5123== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5123== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5123== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5123== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5123== by 0x407FA29: lua_resume (lj_api.c:1296) ==5123== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5123== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5123== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5123== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5123== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5123== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5123== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5123== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5123== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5123== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5123== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5123== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5123== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5123== by 0x8065F8B: main (nginx.c:385) ==5123== If you believe this happened as a result of a stack ==5123== overflow in your program's main thread (unlikely but ==5123== possible), you can try to increase the size of the ==5123== main thread stack using the --main-stacksize= flag. ==5123== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok |
got: '' expected: '200' |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "received: 1\x{0a}received: 2\x{0a}" length: 24 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) |
==5145== Invalid read of size 4 ==5145== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5145== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5145== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5145== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5145== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5145== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5145== by 0x407FA29: lua_resume (lj_api.c:1296) ==5145== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5145== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5145== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5145== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5145== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5145== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5145== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5145== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5145== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5145== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5145== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5145== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5145== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5145== by 0x8065F8B: main (nginx.c:385) ==5145== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5145== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) |
==5145== ==5145== Process terminating with default action of signal 11 (SIGSEGV) ==5145== Access not within mapped region at address 0x0 ==5145== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5145== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5145== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5145== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5145== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5145== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5145== by 0x407FA29: lua_resume (lj_api.c:1296) ==5145== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5145== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5145== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5145== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5145== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5145== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5145== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5145== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5145== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5145== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5145== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5145== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5145== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5145== by 0x8065F8B: main (nginx.c:385) ==5145== If you believe this happened as a result of a stack ==5145== overflow in your program's main thread (unlikely but ==5145== possible), you can try to increase the size of the ==5145== main thread stack using the --main-stacksize= flag. ==5145== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok |
got: '' expected: '200' |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "received: 1\x{0a}received: 2\x{0a}" length: 24 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua |
==5156== Invalid read of size 4 ==5156== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5156== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5156== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5156== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5156== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5156== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5156== by 0x407FA29: lua_resume (lj_api.c:1296) ==5156== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5156== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5156== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5156== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5156== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5156== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5156== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5156== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5156== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5156== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5156== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5156== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5156== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5156== by 0x8065F8B: main (nginx.c:385) ==5156== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5156== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua |
==5156== ==5156== Process terminating with default action of signal 11 (SIGSEGV) ==5156== Access not within mapped region at address 0x0 ==5156== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5156== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5156== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5156== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5156== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5156== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5156== by 0x407FA29: lua_resume (lj_api.c:1296) ==5156== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5156== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5156== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5156== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5156== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5156== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5156== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5156== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5156== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5156== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5156== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5156== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5156== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5156== by 0x8065F8B: main (nginx.c:385) ==5156== If you believe this happened as a result of a stack ==5156== overflow in your program's main thread (unlikely but ==5156== possible), you can try to increase the size of the ==5156== main thread stack using the --main-stacksize= flag. ==5156== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua |
==5178== Invalid read of size 4 ==5178== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5178== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5178== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5178== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5178== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5178== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5178== by 0x407FA29: lua_resume (lj_api.c:1296) ==5178== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5178== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5178== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5178== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5178== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5178== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5178== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5178== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5178== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5178== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5178== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5178== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5178== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5178== by 0x8065F8B: main (nginx.c:385) ==5178== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5178== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua |
==5178== ==5178== Process terminating with default action of signal 11 (SIGSEGV) ==5178== Access not within mapped region at address 0x0 ==5178== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5178== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5178== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5178== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5178== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5178== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5178== by 0x407FA29: lua_resume (lj_api.c:1296) ==5178== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5178== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5178== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5178== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5178== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5178== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5178== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5178== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5178== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5178== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5178== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5178== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5178== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5178== by 0x8065F8B: main (nginx.c:385) ==5178== If you believe this happened as a result of a stack ==5178== overflow in your program's main thread (unlikely but ==5178== possible), you can try to increase the size of the ==5178== main thread stack using the --main-stacksize= flag. ==5178== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua - grep_error_log_out (req 1) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}received: 42\x{0a}received"... length: 137 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 11: overwrite values will only take affect in the current http request |
==5189== Invalid read of size 4 ==5189== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5189== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5189== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5189== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5189== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5189== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5189== by 0x407FA29: lua_resume (lj_api.c:1296) ==5189== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5189== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5189== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5189== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5189== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5189== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5189== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5189== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5189== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5189== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5189== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5189== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5189== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5189== by 0x8065F8B: main (nginx.c:385) ==5189== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5189== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 11: overwrite values will only take affect in the current http request |
==5189== ==5189== Process terminating with default action of signal 11 (SIGSEGV) ==5189== Access not within mapped region at address 0x0 ==5189== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5189== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5189== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5189== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5189== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5189== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5189== by 0x407FA29: lua_resume (lj_api.c:1296) ==5189== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5189== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5189== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5189== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5189== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5189== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5189== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5189== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5189== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5189== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5189== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5189== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5189== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5189== by 0x8065F8B: main (nginx.c:385) ==5189== If you believe this happened as a result of a stack ==5189== overflow in your program's main thread (unlikely but ==5189== possible), you can try to increase the size of the ==5189== main thread stack using the --main-stacksize= flag. ==5189== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - status code ok |
got: '' expected: '200' |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "received: 0\x{0a}received: 0\x{0a}" length: 24 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 11: overwrite values will only take affect in the current http request |
==5211== Invalid read of size 4 ==5211== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5211== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5211== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5211== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5211== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5211== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5211== by 0x407FA29: lua_resume (lj_api.c:1296) ==5211== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5211== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5211== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5211== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5211== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5211== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5211== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5211== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5211== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5211== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5211== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5211== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5211== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5211== by 0x8065F8B: main (nginx.c:385) ==5211== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5211== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 11: overwrite values will only take affect in the current http request |
==5211== ==5211== Process terminating with default action of signal 11 (SIGSEGV) ==5211== Access not within mapped region at address 0x0 ==5211== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5211== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5211== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5211== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5211== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5211== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5211== by 0x407FA29: lua_resume (lj_api.c:1296) ==5211== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5211== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5211== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5211== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5211== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5211== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5211== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5211== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5211== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5211== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5211== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5211== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5211== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5211== by 0x8065F8B: main (nginx.c:385) ==5211== If you believe this happened as a result of a stack ==5211== overflow in your program's main thread (unlikely but ==5211== possible), you can try to increase the size of the ==5211== main thread stack using the --main-stacksize= flag. ==5211== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - status code ok |
got: '' expected: '200' |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "received: 0\x{0a}received: 0\x{0a}" length: 24 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases |
==5316== Invalid read of size 4 ==5316== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5316== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5316== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5316== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5316== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5316== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5316== by 0x407FA29: lua_resume (lj_api.c:1296) ==5316== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5316== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5316== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5316== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5316== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5316== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5316== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5316== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5316== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5316== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5316== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5316== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5316== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5316== by 0x8065F8B: main (nginx.c:385) ==5316== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5316== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases |
==5316== ==5316== Process terminating with default action of signal 11 (SIGSEGV) ==5316== Access not within mapped region at address 0x0 ==5316== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5316== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5316== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5316== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5316== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5316== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5316== by 0x407FA29: lua_resume (lj_api.c:1296) ==5316== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5316== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5316== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5316== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5316== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5316== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5316== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5316== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5316== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5316== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5316== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5316== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==5316== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==5316== by 0x8065F8B: main (nginx.c:385) ==5316== If you believe this happened as a result of a stack ==5316== overflow in your program's main thread (unlikely but ==5316== possible), you can try to increase the size of the ==5316== main thread stack using the --main-stacksize= flag. ==5316== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - status code ok |
got: '' expected: '200' |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - grep_error_log_out (req 0) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}received: 102\x{0a}lua rel"... length: 115 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases |
==5337== Invalid read of size 4 ==5337== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5337== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5337== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5337== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5337== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5337== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5337== by 0x407FA29: lua_resume (lj_api.c:1296) ==5337== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5337== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5337== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5337== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5337== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5337== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5337== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5337== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5337== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5337== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5337== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5337== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5337== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5337== by 0x8065F8B: main (nginx.c:385) ==5337== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==5337== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases |
==5337== ==5337== Process terminating with default action of signal 11 (SIGSEGV) ==5337== Access not within mapped region at address 0x0 ==5337== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==5337== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==5337== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==5337== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==5337== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==5337== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==5337== by 0x407FA29: lua_resume (lj_api.c:1296) ==5337== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==5337== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==5337== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==5337== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==5337== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==5337== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==5337== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==5337== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==5337== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==5337== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==5337== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==5337== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==5337== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==5337== by 0x8065F8B: main (nginx.c:385) ==5337== If you believe this happened as a result of a stack ==5337== overflow in your program's main thread (unlikely but ==5337== possible), you can try to increase the size of the ==5337== main thread stack using the --main-stacksize= flag. ==5337== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - status code ok |
got: '' expected: '200' |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - grep_error_log_out (req 1) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}received: 102\x{0a}lua rel"... length: 230 strings begin to differ at char 1 (line 1 column 1) |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
got: 'hello ' expected: 'helloworld ' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -stdout: ok +stdout err: timeout stderr err: closed ' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ -stdout: ok +stdout err: timeout stderr err: closed ' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,7 @@ -stdout: ok +stdout err: timeout -stderr err: closed +stderr: 2020/10/27 05:38:00 [error] 10576\#0: *2 lua entry thread aborted: runtime error: init_worker_by_lua:14: API disabled in the context of ngx.timer +stack traceback: +coroutine 0: + [C]: in function 'say' + init_worker_by_lua:14: in function <init_worker_by_lua:2>, context: ngx.timer + ' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,7 @@ -stdout: ok +stdout err: timeout -stderr err: closed +stderr: 2020/10/27 05:38:01 [error] 10579\#0: *2 lua entry thread aborted: runtime error: init_worker_by_lua:14: API disabled in the context of ngx.timer +stack traceback: +coroutine 0: + [C]: in function 'say' + init_worker_by_lua:14: in function <init_worker_by_lua:2>, context: ngx.timer + ' |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
got: 'hello ' expected: 'helloworld ' |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -stdout: ok +stdout err: timeout stderr err: closed ' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -stdout: ok +stdout err: timeout stderr err: closed ' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ -stdout: ok +stdout err: timeout stderr err: closed ' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
semaphore.t | ERROR: client socket timed out - TEST 36: basic semaphore_mm free insert head |
' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
semaphore.t | ERROR: client socket timed out - TEST 35: basic semaphore_mm free insert tail |
' |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 0) | |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - response_body - response is expected (repeated req 0, req 0) |
got: 'after 0.2s: nil after 0.4s: nil ' expected: 'after 0.2s: true after 0.4s: nil ' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: 'err incr: no memory ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: 'err incr: no memory ' expected: 'ttl: 2147483648 ' |
ssl-session-store.t | TEST 2: get new session id serialized - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:59:18 [error] 21373\#0: *5 lua tcp socket read timed out, context: ngx.timer, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2020/10/27 05:59:18 [debug] 21373\#0: *5 lua tcp socket handle read error 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua tcp socket waking up the current request 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua tcp operation done, resuming lua thread 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua tcp socket calling prepare retvals handler 081507EA, u:04D2B6C8 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua tcp socket receive return value handler 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua run thread, top:0 c:1 2020/10/27 05:59:18 [error] 21373\#0: *5 [lua] ssl_session_store_by_lua_block:24: failed to receive memc reply: timeout, context: ngx.timer, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua resume returned 0 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua light thread ended normally ' |
ssl-session-store.t | TEST 2: get new session id serialized - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:59:18 [error] 21373\#0: *5 [lua] ssl_session_store_by_lua_block:24: failed to receive memc reply: timeout, context: ngx.timer, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2020/10/27 05:59:18 [debug] 21373\#0: *5 lua resume returned 0 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua light thread ended normally 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua deleting light thread 04D26410 (ref 2) 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua caching unused lua thread 04D26410 (ref 2) 2020/10/27 05:59:18 [debug] 21373\#0: *5 lua run thread returned 0 2020/10/27 05:59:18 [debug] 21373\#0: *5 http lua finalize fake request: 0, a:1, c:1 2020/10/27 05:59:18 [debug] 21373\#0: *5 http lua fake request count:1 2020/10/27 05:59:18 [debug] 21373\#0: *5 http lua close fake request 2020/10/27 05:59:18 [debug] 21373\#0: *5 cleanup lua tcp socket request: "" ' |
ssl-session-store.t | TEST 1: get new session serialized - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:59:19 [error] 21373\#0: *11 lua tcp socket read timed out, context: ngx.timer, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2020/10/27 05:59:19 [debug] 21373\#0: *11 lua tcp socket handle read error 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua tcp socket waking up the current request 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua tcp operation done, resuming lua thread 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua tcp socket calling prepare retvals handler 081507EA, u:04DBA3B0 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua tcp socket receive return value handler 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua run thread, top:0 c:1 2020/10/27 05:59:19 [error] 21373\#0: *11 [lua] ssl_session_store_by_lua_block:24: failed to receive memc reply: timeout, context: ngx.timer, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua resume returned 0 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua light thread ended normally ' |
ssl-session-store.t | TEST 1: get new session serialized - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:59:19 [error] 21373\#0: *11 [lua] ssl_session_store_by_lua_block:24: failed to receive memc reply: timeout, context: ngx.timer, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2020/10/27 05:59:19 [debug] 21373\#0: *11 lua resume returned 0 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua light thread ended normally 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua deleting light thread 04DB5198 (ref 3) 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua caching unused lua thread 04DB5198 (ref 3) 2020/10/27 05:59:19 [debug] 21373\#0: *11 lua run thread returned 0 2020/10/27 05:59:19 [debug] 21373\#0: *11 http lua finalize fake request: 0, a:1, c:1 2020/10/27 05:59:19 [debug] 21373\#0: *11 http lua fake request count:1 2020/10/27 05:59:19 [debug] 21373\#0: *11 http lua close fake request 2020/10/27 05:59:19 [debug] 21373\#0: *11 cleanup lua tcp socket request: "" ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - Can't connect to 127.0.0.1:1984: Connection refused |
==21443== Invalid read of size 4 ==21443== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21443== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21443== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21443== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21443== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21443== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21443== by 0x407FA29: lua_resume (lj_api.c:1296) ==21443== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21443== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21443== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21443== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21443== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21443== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21443== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21443== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21443== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21443== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21443== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21443== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21443== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==21443== by 0x8065F8B: main (nginx.c:385) ==21443== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21443== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - Can't connect to 127.0.0.1:1984: Connection refused |
==21443== ==21443== Process terminating with default action of signal 11 (SIGSEGV) ==21443== Access not within mapped region at address 0x0 ==21443== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21443== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21443== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21443== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21443== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21443== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21443== by 0x407FA29: lua_resume (lj_api.c:1296) ==21443== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21443== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21443== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21443== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21443== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21443== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21443== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21443== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21443== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21443== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21443== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21443== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21443== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==21443== by 0x8065F8B: main (nginx.c:385) ==21443== If you believe this happened as a result of a stack ==21443== overflow in your program's main thread (unlikely but ==21443== possible), you can try to increase the size of the ==21443== main thread stack using the --main-stacksize= flag. ==21443== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok |
got: '' expected: '200' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:29 [alert] 21442\#0: worker process 21443 exited on signal 11" (req 0) |
2020/10/27 05:59:29 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:29 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:29 [debug] 21442\#0: reap children 2020/10/27 05:59:29 [debug] 21442\#0: child: 0 21443 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:29 [debug] 21442\#0: channel 3:9 2020/10/27 05:59:29 [notice] 21442\#0: start worker process 21444 ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - Can't connect to 127.0.0.1:1984: Connection refused |
==21444== Invalid read of size 4 ==21444== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21444== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21444== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21444== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21444== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21444== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21444== by 0x407FA29: lua_resume (lj_api.c:1296) ==21444== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21444== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21444== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21444== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21444== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21444== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21444== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21444== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21444== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21444== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21444== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21444== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21444== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21444== by 0x8065F8B: main (nginx.c:385) ==21444== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21444== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - Can't connect to 127.0.0.1:1984: Connection refused |
==21444== ==21444== Process terminating with default action of signal 11 (SIGSEGV) ==21444== Access not within mapped region at address 0x0 ==21444== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21444== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21444== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21444== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21444== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21444== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21444== by 0x407FA29: lua_resume (lj_api.c:1296) ==21444== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21444== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21444== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21444== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21444== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21444== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21444== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21444== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21444== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21444== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21444== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21444== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21444== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21444== by 0x8065F8B: main (nginx.c:385) ==21444== If you believe this happened as a result of a stack ==21444== overflow in your program's main thread (unlikely but ==21444== possible), you can try to increase the size of the ==21444== main thread stack using the --main-stacksize= flag. ==21444== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok |
got: '' expected: '200' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:31 [alert] 21442\#0: worker process 21444 exited on signal 11" (req 1) |
2020/10/27 05:59:31 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:31 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:31 [debug] 21442\#0: reap children 2020/10/27 05:59:31 [debug] 21442\#0: child: 0 21444 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:31 [debug] 21442\#0: channel 3:9 2020/10/27 05:59:31 [notice] 21442\#0: start worker process 21445 ' |
ssl.t | TEST 2: set DER cert and private key |
==21456== Invalid read of size 4 ==21456== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21456== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21456== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21456== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21456== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21456== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21456== by 0x407FA29: lua_resume (lj_api.c:1296) ==21456== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21456== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21456== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21456== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21456== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21456== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21456== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21456== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21456== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21456== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21456== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21456== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21456== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21456== by 0x8065F8B: main (nginx.c:385) ==21456== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21456== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 2: set DER cert and private key |
==21456== ==21456== Process terminating with default action of signal 11 (SIGSEGV) ==21456== Access not within mapped region at address 0x0 ==21456== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21456== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21456== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21456== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21456== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21456== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21456== by 0x407FA29: lua_resume (lj_api.c:1296) ==21456== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21456== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21456== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21456== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21456== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21456== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21456== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21456== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21456== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21456== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21456== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21456== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21456== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21456== by 0x8065F8B: main (nginx.c:385) ==21456== If you believe this happened as a result of a stack ==21456== overflow in your program's main thread (unlikely but ==21456== possible), you can try to increase the size of the ==21456== main thread stack using the --main-stacksize= flag. ==21456== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 2: set DER cert and private key - status code ok |
got: '' expected: '200' |
ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:36 [alert] 21442\#0: worker process 21456 exited on signal 11" (req 0) |
2020/10/27 05:59:36 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:36 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:36 [debug] 21442\#0: reap children 2020/10/27 05:59:36 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 05:59:36 [debug] 21442\#0: child: 1 21456 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:36 [debug] 21442\#0: channel 3:4 2020/10/27 05:59:36 [notice] 21442\#0: start worker process 21478 ' |
ssl.t | TEST 2: set DER cert and private key |
==21478== Invalid read of size 4 ==21478== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21478== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21478== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21478== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21478== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21478== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21478== by 0x407FA29: lua_resume (lj_api.c:1296) ==21478== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21478== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21478== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21478== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21478== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21478== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21478== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21478== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21478== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21478== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21478== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21478== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21478== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21478== by 0x8065F8B: main (nginx.c:385) ==21478== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21478== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 2: set DER cert and private key |
==21478== ==21478== Process terminating with default action of signal 11 (SIGSEGV) ==21478== Access not within mapped region at address 0x0 ==21478== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21478== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21478== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21478== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21478== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21478== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21478== by 0x407FA29: lua_resume (lj_api.c:1296) ==21478== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21478== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21478== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21478== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21478== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21478== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21478== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21478== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21478== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21478== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21478== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21478== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21478== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21478== by 0x8065F8B: main (nginx.c:385) ==21478== If you believe this happened as a result of a stack ==21478== overflow in your program's main thread (unlikely but ==21478== possible), you can try to increase the size of the ==21478== main thread stack using the --main-stacksize= flag. ==21478== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 2: set DER cert and private key - status code ok |
got: '' expected: '200' |
ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:37 [alert] 21442\#0: worker process 21478 exited on signal 11" (req 1) |
2020/10/27 05:59:37 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:37 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:37 [debug] 21442\#0: reap children 2020/10/27 05:59:37 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 05:59:37 [debug] 21442\#0: child: 1 21478 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:37 [debug] 21442\#0: channel 3:4 2020/10/27 05:59:37 [notice] 21442\#0: start worker process 21481 ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==21523== Invalid read of size 4 ==21523== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21523== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21523== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21523== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21523== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21523== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21523== by 0x407FA29: lua_resume (lj_api.c:1296) ==21523== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21523== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21523== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21523== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21523== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21523== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21523== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21523== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21523== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21523== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21523== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21523== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21523== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21523== by 0x8065F8B: main (nginx.c:385) ==21523== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21523== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==21523== ==21523== Process terminating with default action of signal 11 (SIGSEGV) ==21523== Access not within mapped region at address 0x0 ==21523== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21523== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21523== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21523== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21523== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21523== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21523== by 0x407FA29: lua_resume (lj_api.c:1296) ==21523== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21523== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21523== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21523== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21523== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21523== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21523== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21523== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21523== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21523== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21523== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21523== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21523== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21523== by 0x8065F8B: main (nginx.c:385) ==21523== If you believe this happened as a result of a stack ==21523== overflow in your program's main thread (unlikely but ==21523== possible), you can try to increase the size of the ==21523== main thread stack using the --main-stacksize= flag. ==21523== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok |
got: '' expected: '200' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:46 [alert] 21442\#0: worker process 21523 exited on signal 11" (req 0) |
2020/10/27 05:59:46 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:46 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:46 [debug] 21442\#0: reap children 2020/10/27 05:59:46 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 05:59:46 [debug] 21442\#0: child: 1 21523 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:46 [debug] 21442\#0: channel 3:4 2020/10/27 05:59:46 [notice] 21442\#0: start worker process 21544 ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==21544== Invalid read of size 4 ==21544== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21544== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21544== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21544== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21544== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21544== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21544== by 0x407FA29: lua_resume (lj_api.c:1296) ==21544== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21544== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21544== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21544== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21544== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21544== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21544== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21544== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21544== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21544== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21544== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21544== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21544== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21544== by 0x8065F8B: main (nginx.c:385) ==21544== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21544== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==21544== ==21544== Process terminating with default action of signal 11 (SIGSEGV) ==21544== Access not within mapped region at address 0x0 ==21544== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21544== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21544== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21544== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21544== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21544== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21544== by 0x407FA29: lua_resume (lj_api.c:1296) ==21544== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21544== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21544== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21544== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21544== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21544== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21544== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21544== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21544== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21544== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21544== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21544== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21544== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21544== by 0x8065F8B: main (nginx.c:385) ==21544== If you believe this happened as a result of a stack ==21544== overflow in your program's main thread (unlikely but ==21544== possible), you can try to increase the size of the ==21544== main thread stack using the --main-stacksize= flag. ==21544== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok |
got: '' expected: '200' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:48 [alert] 21442\#0: worker process 21544 exited on signal 11" (req 1) |
2020/10/27 05:59:48 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:48 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:48 [debug] 21442\#0: reap children 2020/10/27 05:59:48 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 05:59:48 [debug] 21442\#0: child: 1 21544 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 16: parse PEM cert and key to cdata |
==21555== Invalid read of size 4 ==21555== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21555== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21555== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21555== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21555== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21555== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21555== by 0x407FA29: lua_resume (lj_api.c:1296) ==21555== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21555== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21555== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21555== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21555== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21555== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21555== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21555== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21555== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21555== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21555== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21555== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21555== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21555== by 0x8065F8B: main (nginx.c:385) ==21555== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 16: parse PEM cert and key to cdata |
==21555== ==21555== Process terminating with default action of signal 11 (SIGSEGV) ==21555== Access not within mapped region at address 0x0 ==21555== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21555== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21555== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21555== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21555== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21555== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21555== by 0x407FA29: lua_resume (lj_api.c:1296) ==21555== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21555== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21555== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21555== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21555== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21555== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21555== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21555== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21555== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21555== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21555== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21555== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21555== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21555== by 0x8065F8B: main (nginx.c:385) ==21555== If you believe this happened as a result of a stack ==21555== overflow in your program's main thread (unlikely but ==21555== possible), you can try to increase the size of the ==21555== main thread stack using the --main-stacksize= flag. ==21555== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 16: parse PEM cert and key to cdata - status code ok |
got: '' expected: '200' |
ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:53 [alert] 21442\#0: worker process 21555 exited on signal 11" (req 0) |
2020/10/27 05:59:53 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:53 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:53 [debug] 21442\#0: reap children 2020/10/27 05:59:53 [debug] 21442\#0: child: 0 21555 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:53 [debug] 21442\#0: channel 3:4 2020/10/27 05:59:53 [notice] 21442\#0: start worker process 21577 ' |
ssl.t | TEST 16: parse PEM cert and key to cdata |
==21577== Invalid read of size 4 ==21577== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21577== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21577== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21577== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21577== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21577== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21577== by 0x407FA29: lua_resume (lj_api.c:1296) ==21577== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21577== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21577== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21577== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21577== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21577== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21577== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21577== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21577== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21577== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21577== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21577== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21577== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21577== by 0x8065F8B: main (nginx.c:385) ==21577== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21577== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 16: parse PEM cert and key to cdata |
==21577== ==21577== Process terminating with default action of signal 11 (SIGSEGV) ==21577== Access not within mapped region at address 0x0 ==21577== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21577== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21577== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21577== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21577== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21577== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21577== by 0x407FA29: lua_resume (lj_api.c:1296) ==21577== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21577== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21577== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21577== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21577== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21577== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21577== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21577== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21577== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21577== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21577== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21577== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21577== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21577== by 0x8065F8B: main (nginx.c:385) ==21577== If you believe this happened as a result of a stack ==21577== overflow in your program's main thread (unlikely but ==21577== possible), you can try to increase the size of the ==21577== main thread stack using the --main-stacksize= flag. ==21577== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 16: parse PEM cert and key to cdata - status code ok |
got: '' expected: '200' |
ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:55 [alert] 21442\#0: worker process 21577 exited on signal 11" (req 1) |
2020/10/27 05:59:55 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:55 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:55 [debug] 21442\#0: reap children 2020/10/27 05:59:55 [debug] 21442\#0: child: 0 21577 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:55 [debug] 21442\#0: channel 3:4 ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==21590== Invalid read of size 4 ==21590== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21590== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21590== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21590== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21590== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21590== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21590== by 0x407FA29: lua_resume (lj_api.c:1296) ==21590== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21590== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21590== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21590== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21590== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21590== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21590== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21590== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21590== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21590== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21590== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21590== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21590== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21590== by 0x8065F8B: main (nginx.c:385) ==21590== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21590== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==21590== ==21590== Process terminating with default action of signal 11 (SIGSEGV) ==21590== Access not within mapped region at address 0x0 ==21590== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21590== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21590== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21590== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21590== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21590== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21590== by 0x407FA29: lua_resume (lj_api.c:1296) ==21590== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21590== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21590== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21590== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21590== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21590== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21590== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21590== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21590== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21590== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21590== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21590== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21590== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21590== by 0x8065F8B: main (nginx.c:385) ==21590== If you believe this happened as a result of a stack ==21590== overflow in your program's main thread (unlikely but ==21590== possible), you can try to increase the size of the ==21590== main thread stack using the --main-stacksize= flag. ==21590== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok |
got: '' expected: '200' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:59:59 [alert] 21442\#0: worker process 21590 exited on signal 11" (req 0) |
2020/10/27 05:59:59 [debug] 21442\#0: shmtx forced unlock 2020/10/27 05:59:59 [debug] 21442\#0: wake up, sigio 0 2020/10/27 05:59:59 [debug] 21442\#0: reap children 2020/10/27 05:59:59 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 05:59:59 [debug] 21442\#0: child: 1 21590 e:0 t:1 d:0 r:1 j:0 2020/10/27 05:59:59 [debug] 21442\#0: channel 3:4 2020/10/27 05:59:59 [notice] 21442\#0: start worker process 21612 ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==21612== Invalid read of size 4 ==21612== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21612== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21612== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21612== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21612== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21612== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21612== by 0x407FA29: lua_resume (lj_api.c:1296) ==21612== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21612== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21612== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21612== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21612== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21612== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21612== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21612== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21612== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21612== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21612== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21612== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21612== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21612== by 0x8065F8B: main (nginx.c:385) ==21612== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21612== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==21612== ==21612== Process terminating with default action of signal 11 (SIGSEGV) ==21612== Access not within mapped region at address 0x0 ==21612== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21612== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21612== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21612== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21612== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21612== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21612== by 0x407FA29: lua_resume (lj_api.c:1296) ==21612== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21612== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21612== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21612== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21612== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21612== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21612== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21612== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21612== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21612== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21612== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21612== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21612== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21612== by 0x8065F8B: main (nginx.c:385) ==21612== If you believe this happened as a result of a stack ==21612== overflow in your program's main thread (unlikely but ==21612== possible), you can try to increase the size of the ==21612== main thread stack using the --main-stacksize= flag. ==21612== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok |
got: '' expected: '200' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:00:01 [alert] 21442\#0: worker process 21612 exited on signal 11" (req 1) |
2020/10/27 06:00:01 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:00:01 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:00:01 [debug] 21442\#0: reap children 2020/10/27 06:00:01 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:00:01 [debug] 21442\#0: child: 1 21612 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain |
==21623== Invalid read of size 4 ==21623== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21623== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21623== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21623== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21623== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21623== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21623== by 0x407FA29: lua_resume (lj_api.c:1296) ==21623== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21623== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21623== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21623== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21623== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21623== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21623== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21623== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21623== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21623== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21623== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21623== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21623== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21623== by 0x8065F8B: main (nginx.c:385) ==21623== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21623== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 15: read PEM key chain but set DER key chain |
==21623== ==21623== Process terminating with default action of signal 11 (SIGSEGV) ==21623== Access not within mapped region at address 0x0 ==21623== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21623== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21623== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21623== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21623== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21623== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21623== by 0x407FA29: lua_resume (lj_api.c:1296) ==21623== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21623== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21623== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21623== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21623== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21623== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21623== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21623== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21623== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21623== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21623== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21623== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21623== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21623== by 0x8065F8B: main (nginx.c:385) ==21623== If you believe this happened as a result of a stack ==21623== overflow in your program's main thread (unlikely but ==21623== possible), you can try to increase the size of the ==21623== main thread stack using the --main-stacksize= flag. ==21623== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 15: read PEM key chain but set DER key chain - status code ok |
got: '' expected: '200' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:00:06 [alert] 21442\#0: worker process 21623 exited on signal 11" (req 0) |
2020/10/27 06:00:06 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:00:06 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:00:06 [debug] 21442\#0: reap children 2020/10/27 06:00:06 [debug] 21442\#0: child: 0 21623 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:00:06 [debug] 21442\#0: channel 3:4 2020/10/27 06:00:06 [notice] 21442\#0: start worker process 21647 ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain |
==21647== Invalid read of size 4 ==21647== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21647== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21647== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21647== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21647== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21647== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21647== by 0x407FA29: lua_resume (lj_api.c:1296) ==21647== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21647== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21647== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21647== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21647== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21647== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21647== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21647== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21647== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21647== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21647== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21647== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21647== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21647== by 0x8065F8B: main (nginx.c:385) ==21647== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21647== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 15: read PEM key chain but set DER key chain |
==21647== ==21647== Process terminating with default action of signal 11 (SIGSEGV) ==21647== Access not within mapped region at address 0x0 ==21647== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21647== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21647== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21647== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21647== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21647== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21647== by 0x407FA29: lua_resume (lj_api.c:1296) ==21647== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21647== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21647== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21647== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21647== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21647== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21647== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21647== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21647== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21647== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21647== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21647== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21647== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21647== by 0x8065F8B: main (nginx.c:385) ==21647== If you believe this happened as a result of a stack ==21647== overflow in your program's main thread (unlikely but ==21647== possible), you can try to increase the size of the ==21647== main thread stack using the --main-stacksize= flag. ==21647== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 15: read PEM key chain but set DER key chain - status code ok |
got: '' expected: '200' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:00:08 [alert] 21442\#0: worker process 21647 exited on signal 11" (req 1) |
2020/10/27 06:00:08 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:00:08 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:00:08 [debug] 21442\#0: reap children 2020/10/27 06:00:08 [debug] 21442\#0: child: 0 21647 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() |
==21783== Invalid read of size 4 ==21783== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21783== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21783== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21783== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21783== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21783== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21783== by 0x407FA29: lua_resume (lj_api.c:1296) ==21783== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21783== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21783== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21783== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21783== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21783== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21783== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21783== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21783== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21783== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21783== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21783== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21783== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21783== by 0x8065F8B: main (nginx.c:385) ==21783== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21783== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 3: read SNI name via ssl.server_name() |
==21783== ==21783== Process terminating with default action of signal 11 (SIGSEGV) ==21783== Access not within mapped region at address 0x0 ==21783== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21783== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21783== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21783== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21783== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21783== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21783== by 0x407FA29: lua_resume (lj_api.c:1296) ==21783== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21783== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21783== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21783== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21783== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21783== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21783== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21783== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21783== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21783== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21783== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21783== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21783== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21783== by 0x8065F8B: main (nginx.c:385) ==21783== If you believe this happened as a result of a stack ==21783== overflow in your program's main thread (unlikely but ==21783== possible), you can try to increase the size of the ==21783== main thread stack using the --main-stacksize= flag. ==21783== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 3: read SNI name via ssl.server_name() - status code ok |
got: '' expected: '200' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:00:30 [alert] 21442\#0: worker process 21783 exited on signal 11" (req 0) |
2020/10/27 06:00:30 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:00:30 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:00:30 [debug] 21442\#0: reap children 2020/10/27 06:00:30 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:00:30 [debug] 21442\#0: child: 1 21783 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() |
==21806== Invalid read of size 4 ==21806== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21806== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21806== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21806== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21806== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21806== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21806== by 0x407FA29: lua_resume (lj_api.c:1296) ==21806== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21806== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21806== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21806== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21806== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21806== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21806== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21806== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21806== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21806== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21806== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21806== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21806== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21806== by 0x8065F8B: main (nginx.c:385) ==21806== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21806== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 3: read SNI name via ssl.server_name() |
==21806== ==21806== Process terminating with default action of signal 11 (SIGSEGV) ==21806== Access not within mapped region at address 0x0 ==21806== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21806== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21806== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21806== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21806== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21806== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21806== by 0x407FA29: lua_resume (lj_api.c:1296) ==21806== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21806== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21806== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21806== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21806== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21806== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21806== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21806== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21806== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21806== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21806== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21806== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21806== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21806== by 0x8065F8B: main (nginx.c:385) ==21806== If you believe this happened as a result of a stack ==21806== overflow in your program's main thread (unlikely but ==21806== possible), you can try to increase the size of the ==21806== main thread stack using the --main-stacksize= flag. ==21806== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 3: read SNI name via ssl.server_name() - status code ok |
got: '' expected: '200' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:00:32 [alert] 21442\#0: worker process 21806 exited on signal 11" (req 1) |
2020/10/27 06:00:32 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:00:32 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:00:32 [debug] 21442\#0: reap children 2020/10/27 06:00:32 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:00:32 [debug] 21442\#0: child: 1 21806 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==21942== Invalid read of size 4 ==21942== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21942== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21942== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21942== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21942== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21942== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21942== by 0x407FA29: lua_resume (lj_api.c:1296) ==21942== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21942== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21942== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21942== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21942== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21942== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21942== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21942== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21942== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21942== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21942== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21942== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21942== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21942== by 0x8065F8B: main (nginx.c:385) ==21942== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21942== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==21942== ==21942== Process terminating with default action of signal 11 (SIGSEGV) ==21942== Access not within mapped region at address 0x0 ==21942== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21942== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21942== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21942== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21942== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21942== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21942== by 0x407FA29: lua_resume (lj_api.c:1296) ==21942== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21942== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21942== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21942== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21942== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21942== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21942== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21942== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21942== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21942== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21942== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21942== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==21942== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==21942== by 0x8065F8B: main (nginx.c:385) ==21942== If you believe this happened as a result of a stack ==21942== overflow in your program's main thread (unlikely but ==21942== possible), you can try to increase the size of the ==21942== main thread stack using the --main-stacksize= flag. ==21942== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - status code ok |
got: '' expected: '200' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:00:53 [alert] 21442\#0: worker process 21942 exited on signal 11" (req 0) |
2020/10/27 06:00:53 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:00:53 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:00:53 [debug] 21442\#0: reap children 2020/10/27 06:00:53 [debug] 21442\#0: child: 0 21942 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==21963== Invalid read of size 4 ==21963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21963== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21963== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21963== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21963== by 0x407FA29: lua_resume (lj_api.c:1296) ==21963== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21963== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21963== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21963== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21963== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21963== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21963== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21963== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21963== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21963== by 0x8065F8B: main (nginx.c:385) ==21963== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==21963== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==21963== ==21963== Process terminating with default action of signal 11 (SIGSEGV) ==21963== Access not within mapped region at address 0x0 ==21963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==21963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==21963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==21963== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==21963== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==21963== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==21963== by 0x407FA29: lua_resume (lj_api.c:1296) ==21963== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==21963== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==21963== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==21963== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==21963== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==21963== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==21963== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==21963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==21963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==21963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==21963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==21963== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==21963== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==21963== by 0x8065F8B: main (nginx.c:385) ==21963== If you believe this happened as a result of a stack ==21963== overflow in your program's main thread (unlikely but ==21963== possible), you can try to increase the size of the ==21963== main thread stack using the --main-stacksize= flag. ==21963== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - status code ok |
got: '' expected: '200' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:00:55 [alert] 21442\#0: worker process 21963 exited on signal 11" (req 1) |
2020/10/27 06:00:55 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:00:55 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:00:55 [debug] 21442\#0: reap children 2020/10/27 06:00:55 [debug] 21442\#0: child: 0 21963 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 |
==22008== Invalid read of size 4 ==22008== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22008== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22008== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22008== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22008== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22008== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22008== by 0x407FA29: lua_resume (lj_api.c:1296) ==22008== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22008== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22008== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22008== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22008== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22008== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22008== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22008== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22008== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22008== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22008== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22008== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22008== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22008== by 0x8065F8B: main (nginx.c:385) ==22008== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22008== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 |
==22008== ==22008== Process terminating with default action of signal 11 (SIGSEGV) ==22008== Access not within mapped region at address 0x0 ==22008== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22008== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22008== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22008== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22008== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22008== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22008== by 0x407FA29: lua_resume (lj_api.c:1296) ==22008== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22008== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22008== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22008== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22008== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22008== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22008== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22008== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22008== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22008== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22008== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22008== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22008== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22008== by 0x8065F8B: main (nginx.c:385) ==22008== If you believe this happened as a result of a stack ==22008== overflow in your program's main thread (unlikely but ==22008== possible), you can try to increase the size of the ==22008== main thread stack using the --main-stacksize= flag. ==22008== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - status code ok |
got: '' expected: '200' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:04 [alert] 21442\#0: worker process 22008 exited on signal 11" (req 0) |
2020/10/27 06:01:04 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:04 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:04 [debug] 21442\#0: reap children 2020/10/27 06:01:04 [debug] 21442\#0: child: 0 22008 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 |
==22040== Invalid read of size 4 ==22040== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22040== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22040== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22040== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22040== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22040== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22040== by 0x407FA29: lua_resume (lj_api.c:1296) ==22040== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22040== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22040== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22040== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22040== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22040== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22040== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22040== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22040== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22040== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22040== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22040== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22040== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22040== by 0x8065F8B: main (nginx.c:385) ==22040== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22040== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 |
==22040== ==22040== Process terminating with default action of signal 11 (SIGSEGV) ==22040== Access not within mapped region at address 0x0 ==22040== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22040== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22040== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22040== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22040== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22040== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22040== by 0x407FA29: lua_resume (lj_api.c:1296) ==22040== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22040== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22040== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22040== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22040== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22040== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22040== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22040== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22040== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22040== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22040== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22040== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22040== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22040== by 0x8065F8B: main (nginx.c:385) ==22040== If you believe this happened as a result of a stack ==22040== overflow in your program's main thread (unlikely but ==22040== possible), you can try to increase the size of the ==22040== main thread stack using the --main-stacksize= flag. ==22040== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - status code ok |
got: '' expected: '200' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:06 [alert] 21442\#0: worker process 22040 exited on signal 11" (req 1) |
2020/10/27 06:01:06 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:06 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:06 [debug] 21442\#0: reap children 2020/10/27 06:01:06 [debug] 21442\#0: child: 0 22040 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==22052== Invalid read of size 4 ==22052== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22052== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22052== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22052== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22052== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22052== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22052== by 0x407FA29: lua_resume (lj_api.c:1296) ==22052== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22052== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22052== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22052== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22052== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22052== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22052== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22052== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22052== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22052== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22052== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22052== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22052== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22052== by 0x8065F8B: main (nginx.c:385) ==22052== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22052== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==22052== ==22052== Process terminating with default action of signal 11 (SIGSEGV) ==22052== Access not within mapped region at address 0x0 ==22052== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22052== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22052== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22052== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22052== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22052== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22052== by 0x407FA29: lua_resume (lj_api.c:1296) ==22052== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22052== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22052== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22052== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22052== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22052== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22052== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22052== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22052== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22052== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22052== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22052== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22052== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22052== by 0x8065F8B: main (nginx.c:385) ==22052== If you believe this happened as a result of a stack ==22052== overflow in your program's main thread (unlikely but ==22052== possible), you can try to increase the size of the ==22052== main thread stack using the --main-stacksize= flag. ==22052== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - status code ok |
got: '' expected: '200' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:11 [alert] 21442\#0: worker process 22052 exited on signal 11" (req 0) |
2020/10/27 06:01:11 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:11 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:11 [debug] 21442\#0: reap children 2020/10/27 06:01:11 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:01:11 [debug] 21442\#0: child: 1 22052 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==22073== Invalid read of size 4 ==22073== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22073== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22073== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22073== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22073== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22073== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22073== by 0x407FA29: lua_resume (lj_api.c:1296) ==22073== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22073== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22073== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22073== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22073== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22073== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22073== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22073== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22073== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22073== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22073== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22073== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22073== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22073== by 0x8065F8B: main (nginx.c:385) ==22073== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22073== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==22073== ==22073== Process terminating with default action of signal 11 (SIGSEGV) ==22073== Access not within mapped region at address 0x0 ==22073== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22073== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22073== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22073== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22073== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22073== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22073== by 0x407FA29: lua_resume (lj_api.c:1296) ==22073== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22073== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22073== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22073== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22073== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22073== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22073== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22073== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22073== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22073== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22073== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22073== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22073== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22073== by 0x8065F8B: main (nginx.c:385) ==22073== If you believe this happened as a result of a stack ==22073== overflow in your program's main thread (unlikely but ==22073== possible), you can try to increase the size of the ==22073== main thread stack using the --main-stacksize= flag. ==22073== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - status code ok |
got: '' expected: '200' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:13 [alert] 21442\#0: worker process 22073 exited on signal 11" (req 1) |
2020/10/27 06:01:13 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:13 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:13 [debug] 21442\#0: reap children 2020/10/27 06:01:13 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:01:13 [debug] 21442\#0: child: 1 22073 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==22124== Invalid read of size 4 ==22124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22124== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22124== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22124== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22124== by 0x407FA29: lua_resume (lj_api.c:1296) ==22124== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22124== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22124== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22124== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22124== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22124== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22124== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22124== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22124== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22124== by 0x8065F8B: main (nginx.c:385) ==22124== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22124== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==22124== ==22124== Process terminating with default action of signal 11 (SIGSEGV) ==22124== Access not within mapped region at address 0x0 ==22124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22124== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22124== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22124== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22124== by 0x407FA29: lua_resume (lj_api.c:1296) ==22124== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22124== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22124== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22124== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22124== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22124== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22124== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22124== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22124== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22124== by 0x8065F8B: main (nginx.c:385) ==22124== If you believe this happened as a result of a stack ==22124== overflow in your program's main thread (unlikely but ==22124== possible), you can try to increase the size of the ==22124== main thread stack using the --main-stacksize= flag. ==22124== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok |
got: '' expected: '200' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:23 [alert] 21442\#0: worker process 22124 exited on signal 11" (req 0) |
2020/10/27 06:01:23 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:23 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:23 [debug] 21442\#0: reap children 2020/10/27 06:01:23 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:01:23 [debug] 21442\#0: child: 1 22124 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==22147== Invalid read of size 4 ==22147== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22147== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22147== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22147== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22147== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22147== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22147== by 0x407FA29: lua_resume (lj_api.c:1296) ==22147== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22147== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22147== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22147== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22147== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22147== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22147== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22147== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22147== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22147== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22147== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22147== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22147== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22147== by 0x8065F8B: main (nginx.c:385) ==22147== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22147== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==22147== ==22147== Process terminating with default action of signal 11 (SIGSEGV) ==22147== Access not within mapped region at address 0x0 ==22147== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22147== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22147== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22147== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22147== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22147== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22147== by 0x407FA29: lua_resume (lj_api.c:1296) ==22147== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22147== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22147== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22147== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22147== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22147== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22147== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22147== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22147== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22147== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22147== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22147== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22147== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22147== by 0x8065F8B: main (nginx.c:385) ==22147== If you believe this happened as a result of a stack ==22147== overflow in your program's main thread (unlikely but ==22147== possible), you can try to increase the size of the ==22147== main thread stack using the --main-stacksize= flag. ==22147== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok |
got: '' expected: '200' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:25 [alert] 21442\#0: worker process 22147 exited on signal 11" (req 1) |
2020/10/27 06:01:25 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:25 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:25 [debug] 21442\#0: reap children 2020/10/27 06:01:25 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:01:25 [debug] 21442\#0: child: 1 22147 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 8: set DER cert chain |
==22159== Invalid read of size 4 ==22159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22159== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22159== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22159== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22159== by 0x407FA29: lua_resume (lj_api.c:1296) ==22159== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22159== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22159== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22159== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22159== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22159== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22159== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22159== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22159== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22159== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22159== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22159== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22159== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22159== by 0x8065F8B: main (nginx.c:385) ==22159== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22159== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 8: set DER cert chain |
==22159== ==22159== Process terminating with default action of signal 11 (SIGSEGV) ==22159== Access not within mapped region at address 0x0 ==22159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22159== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22159== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22159== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22159== by 0x407FA29: lua_resume (lj_api.c:1296) ==22159== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22159== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22159== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22159== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22159== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22159== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22159== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22159== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22159== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22159== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22159== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22159== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22159== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22159== by 0x8065F8B: main (nginx.c:385) ==22159== If you believe this happened as a result of a stack ==22159== overflow in your program's main thread (unlikely but ==22159== possible), you can try to increase the size of the ==22159== main thread stack using the --main-stacksize= flag. ==22159== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 8: set DER cert chain - status code ok |
got: '' expected: '200' |
ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:29 [alert] 21442\#0: worker process 22159 exited on signal 11" (req 0) |
2020/10/27 06:01:29 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:29 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:29 [debug] 21442\#0: reap children 2020/10/27 06:01:29 [debug] 21442\#0: child: 0 22159 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 8: set DER cert chain |
==22180== Invalid read of size 4 ==22180== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22180== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22180== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22180== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22180== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22180== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22180== by 0x407FA29: lua_resume (lj_api.c:1296) ==22180== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22180== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22180== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22180== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22180== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22180== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22180== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22180== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22180== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22180== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22180== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22180== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22180== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22180== by 0x8065F8B: main (nginx.c:385) ==22180== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 8: set DER cert chain |
==22180== ==22180== Process terminating with default action of signal 11 (SIGSEGV) ==22180== Access not within mapped region at address 0x0 ==22180== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22180== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22180== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22180== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22180== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22180== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22180== by 0x407FA29: lua_resume (lj_api.c:1296) ==22180== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22180== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22180== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22180== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22180== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22180== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22180== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22180== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22180== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22180== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22180== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22180== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22180== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22180== by 0x8065F8B: main (nginx.c:385) ==22180== If you believe this happened as a result of a stack ==22180== overflow in your program's main thread (unlikely but ==22180== possible), you can try to increase the size of the ==22180== main thread stack using the --main-stacksize= flag. ==22180== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 8: set DER cert chain - status code ok |
got: '' expected: '200' |
ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:31 [alert] 21442\#0: worker process 22180 exited on signal 11" (req 1) |
2020/10/27 06:01:31 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:31 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:31 [debug] 21442\#0: reap children 2020/10/27 06:01:31 [debug] 21442\#0: child: 0 22180 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket |
==22192== Invalid read of size 4 ==22192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22192== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22192== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22192== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22192== by 0x407FA29: lua_resume (lj_api.c:1296) ==22192== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22192== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22192== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22192== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22192== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22192== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22192== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22192== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22192== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22192== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22192== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22192== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22192== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22192== by 0x8065F8B: main (nginx.c:385) ==22192== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22192== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket |
==22192== ==22192== Process terminating with default action of signal 11 (SIGSEGV) ==22192== Access not within mapped region at address 0x0 ==22192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22192== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22192== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22192== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22192== by 0x407FA29: lua_resume (lj_api.c:1296) ==22192== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22192== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22192== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22192== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22192== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22192== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22192== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22192== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22192== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22192== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22192== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22192== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22192== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22192== by 0x8065F8B: main (nginx.c:385) ==22192== If you believe this happened as a result of a stack ==22192== overflow in your program's main thread (unlikely but ==22192== possible), you can try to increase the size of the ==22192== main thread stack using the --main-stacksize= flag. ==22192== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - status code ok |
got: '' expected: '200' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:36 [alert] 21442\#0: worker process 22192 exited on signal 11" (req 0) |
2020/10/27 06:01:36 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:36 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:36 [debug] 21442\#0: reap children 2020/10/27 06:01:36 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:01:36 [debug] 21442\#0: child: 1 22192 e:0 t:1 d:0 r:1 j:0 ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket |
==22213== Invalid read of size 4 ==22213== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22213== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22213== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22213== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22213== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22213== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22213== by 0x407FA29: lua_resume (lj_api.c:1296) ==22213== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22213== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22213== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22213== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22213== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22213== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22213== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22213== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22213== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22213== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22213== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22213== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22213== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22213== by 0x8065F8B: main (nginx.c:385) ==22213== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22213== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_receive_helper fun:ngx_http_lua_socket_tcp_receive fun:lj_BC_FUNCC fun:lua_resume fun:ngx_http_lua_run_thread fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_tcp_conn_resume fun:ngx_http_lua_content_wev_handler fun:ngx_http_lua_socket_handle_conn_success fun:ngx_http_lua_ssl_handshake_handler fun:ngx_ssl_handshake_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket |
==22213== ==22213== Process terminating with default action of signal 11 (SIGSEGV) ==22213== Access not within mapped region at address 0x0 ==22213== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22213== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22213== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22213== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22213== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22213== by 0x4067583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22213== by 0x407FA29: lua_resume (lj_api.c:1296) ==22213== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22213== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22213== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22213== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22213== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22213== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22213== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22213== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22213== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22213== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22213== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22213== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22213== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22213== by 0x8065F8B: main (nginx.c:385) ==22213== If you believe this happened as a result of a stack ==22213== overflow in your program's main thread (unlikely but ==22213== possible), you can try to increase the size of the ==22213== main thread stack using the --main-stacksize= flag. ==22213== The main thread stack size used in this run was 8388608. |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - status code ok |
got: '' expected: '200' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +0,0 @@ -connected: 1 -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:01:38 [alert] 21442\#0: worker process 22213 exited on signal 11" (req 1) |
2020/10/27 06:01:38 [debug] 21442\#0: shmtx forced unlock 2020/10/27 06:01:38 [debug] 21442\#0: wake up, sigio 0 2020/10/27 06:01:38 [debug] 21442\#0: reap children 2020/10/27 06:01:38 [debug] 21442\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:01:38 [debug] 21442\#0: child: 1 22213 e:0 t:1 d:0 r:1 j:0 ' |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==22354== Invalid read of size 4 ==22354== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22354== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22354== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22354== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22354== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22354== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22354== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22354== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22354== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22354== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22354== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==22354== by 0x8065F8B: main (nginx.c:385) ==22354== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22354== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==22354== ==22354== Process terminating with default action of signal 11 (SIGSEGV) ==22354== Access not within mapped region at address 0x0 ==22354== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22354== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22354== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22354== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22354== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22354== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22354== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22354== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22354== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22354== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22354== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==22354== by 0x8065F8B: main (nginx.c:385) ==22354== If you believe this happened as a result of a stack ==22354== overflow in your program's main thread (unlikely but ==22354== possible), you can try to increase the size of the ==22354== main thread stack using the --main-stacksize= flag. ==22354== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==22355== Invalid read of size 4 ==22355== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22355== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22355== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22355== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22355== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22355== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22355== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22355== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22355== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22355== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22355== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22355== by 0x8065F8B: main (nginx.c:385) ==22355== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22355== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==22355== ==22355== Process terminating with default action of signal 11 (SIGSEGV) ==22355== Access not within mapped region at address 0x0 ==22355== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22355== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22355== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22355== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22355== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22355== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22355== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22355== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22355== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22355== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22355== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22355== by 0x8065F8B: main (nginx.c:385) ==22355== If you believe this happened as a result of a stack ==22355== overflow in your program's main thread (unlikely but ==22355== possible), you can try to increase the size of the ==22355== main thread stack using the --main-stacksize= flag. ==22355== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context |
==22364== Invalid read of size 4 ==22364== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22364== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22364== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22364== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22364== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22364== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22364== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22364== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22364== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22364== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22364== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22364== by 0x8065F8B: main (nginx.c:385) ==22364== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22364== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context |
==22364== ==22364== Process terminating with default action of signal 11 (SIGSEGV) ==22364== Access not within mapped region at address 0x0 ==22364== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22364== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22364== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22364== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22364== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22364== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22364== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22364== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22364== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22364== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22364== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22364== by 0x8065F8B: main (nginx.c:385) ==22364== If you believe this happened as a result of a stack ==22364== overflow in your program's main thread (unlikely but ==22364== possible), you can try to increase the size of the ==22364== main thread stack using the --main-stacksize= flag. ==22364== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to call: API disabled in the current context ' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:02:17 [alert] 22353\#0: worker process 22364 exited on signal 11" (req 0) |
2020/10/27 06:02:17 [debug] 22353\#0: shmtx forced unlock 2020/10/27 06:02:17 [debug] 22353\#0: wake up, sigio 0 2020/10/27 06:02:17 [debug] 22353\#0: reap children 2020/10/27 06:02:17 [debug] 22353\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:02:17 [debug] 22353\#0: child: 1 22364 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:02:17 [debug] 22353\#0: channel 3:4 2020/10/27 06:02:17 [notice] 22353\#0: start worker process 22387 2020/10/27 06:02:17 [debug] 22353\#0: sigsuspend 2020/10/27 06:02:17 [debug] 22387\#0: malloc: 0508C4F8:12 ' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context |
==22387== Invalid read of size 4 ==22387== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22387== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22387== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22387== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22387== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22387== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22387== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22387== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22387== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22387== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22387== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22387== by 0x8065F8B: main (nginx.c:385) ==22387== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22387== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context |
==22387== ==22387== Process terminating with default action of signal 11 (SIGSEGV) ==22387== Access not within mapped region at address 0x0 ==22387== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22387== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22387== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22387== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22387== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22387== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22387== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22387== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22387== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22387== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22387== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22387== by 0x8065F8B: main (nginx.c:385) ==22387== If you believe this happened as a result of a stack ==22387== overflow in your program's main thread (unlikely but ==22387== possible), you can try to increase the size of the ==22387== main thread stack using the --main-stacksize= flag. ==22387== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to call: API disabled in the current context ' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:02:19 [alert] 22353\#0: worker process 22387 exited on signal 11" (req 1) |
2020/10/27 06:02:19 [debug] 22353\#0: shmtx forced unlock 2020/10/27 06:02:19 [debug] 22353\#0: wake up, sigio 0 2020/10/27 06:02:19 [debug] 22353\#0: reap children 2020/10/27 06:02:19 [debug] 22353\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:02:19 [debug] 22353\#0: child: 1 22387 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:02:19 [debug] 22353\#0: channel 3:4 2020/10/27 06:02:19 [notice] 22353\#0: start worker process 22388 ' |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 |
==22395== Invalid read of size 4 ==22395== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22395== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22395== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22395== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22395== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22395== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22395== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22395== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22395== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22395== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22395== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22395== by 0x8065F8B: main (nginx.c:385) ==22395== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22395== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 |
==22395== ==22395== Process terminating with default action of signal 11 (SIGSEGV) ==22395== Access not within mapped region at address 0x0 ==22395== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22395== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22395== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22395== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22395== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22395== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22395== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22395== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22395== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22395== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22395== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22395== by 0x8065F8B: main (nginx.c:385) ==22395== If you believe this happened as a result of a stack ==22395== overflow in your program's main thread (unlikely but ==22395== possible), you can try to increase the size of the ==22395== main thread stack using the --main-stacksize= flag. ==22395== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 |
==22416== Invalid read of size 4 ==22416== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22416== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22416== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22416== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22416== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22416== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22416== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22416== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22416== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22416== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22416== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22416== by 0x8065F8B: main (nginx.c:385) ==22416== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22416== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 |
==22416== ==22416== Process terminating with default action of signal 11 (SIGSEGV) ==22416== Access not within mapped region at address 0x0 ==22416== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22416== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22416== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22416== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22416== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22416== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22416== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22416== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22416== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22416== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22416== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22416== by 0x8065F8B: main (nginx.c:385) ==22416== If you believe this happened as a result of a stack ==22416== overflow in your program's main thread (unlikely but ==22416== possible), you can try to increase the size of the ==22416== main thread stack using the --main-stacksize= flag. ==22416== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 |
==22424== Invalid read of size 4 ==22424== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22424== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22424== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22424== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22424== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22424== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22424== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22424== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22424== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22424== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22424== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22424== by 0x8065F8B: main (nginx.c:385) ==22424== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22424== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 |
==22424== ==22424== Process terminating with default action of signal 11 (SIGSEGV) ==22424== Access not within mapped region at address 0x0 ==22424== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22424== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22424== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22424== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22424== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22424== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22424== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22424== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22424== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22424== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22424== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22424== by 0x8065F8B: main (nginx.c:385) ==22424== If you believe this happened as a result of a stack ==22424== overflow in your program's main thread (unlikely but ==22424== possible), you can try to increase the size of the ==22424== main thread stack using the --main-stacksize= flag. ==22424== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 |
==22447== Invalid read of size 4 ==22447== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22447== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22447== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22447== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22447== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22447== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22447== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22447== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22447== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22447== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22447== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22447== by 0x8065F8B: main (nginx.c:385) ==22447== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22447== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 |
==22447== ==22447== Process terminating with default action of signal 11 (SIGSEGV) ==22447== Access not within mapped region at address 0x0 ==22447== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22447== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22447== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22447== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22447== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22447== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22447== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22447== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22447== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22447== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22447== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22447== by 0x8065F8B: main (nginx.c:385) ==22447== If you believe this happened as a result of a stack ==22447== overflow in your program's main thread (unlikely but ==22447== possible), you can try to increase the size of the ==22447== main thread stack using the --main-stacksize= flag. ==22447== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22455== Invalid read of size 4 ==22455== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22455== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22455== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22455== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22455== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22455== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22455== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22455== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22455== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22455== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22455== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22455== by 0x8065F8B: main (nginx.c:385) ==22455== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22455== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22455== ==22455== Process terminating with default action of signal 11 (SIGSEGV) ==22455== Access not within mapped region at address 0x0 ==22455== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22455== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22455== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22455== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22455== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22455== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22455== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22455== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22455== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22455== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22455== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22455== by 0x8065F8B: main (nginx.c:385) ==22455== If you believe this happened as a result of a stack ==22455== overflow in your program's main thread (unlikely but ==22455== possible), you can try to increase the size of the ==22455== main thread stack using the --main-stacksize= flag. ==22455== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22478== Invalid read of size 4 ==22478== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22478== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22478== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22478== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22478== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22478== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22478== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22478== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22478== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22478== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22478== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22478== by 0x8065F8B: main (nginx.c:385) ==22478== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22478== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22478== ==22478== Process terminating with default action of signal 11 (SIGSEGV) ==22478== Access not within mapped region at address 0x0 ==22478== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22478== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22478== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22478== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22478== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22478== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22478== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22478== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22478== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22478== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22478== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22478== by 0x8065F8B: main (nginx.c:385) ==22478== If you believe this happened as a result of a stack ==22478== overflow in your program's main thread (unlikely but ==22478== possible), you can try to increase the size of the ==22478== main thread stack using the --main-stacksize= flag. ==22478== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22486== Invalid read of size 4 ==22486== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22486== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22486== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22486== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22486== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22486== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22486== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22486== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22486== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22486== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22486== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22486== by 0x8065F8B: main (nginx.c:385) ==22486== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22486== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22486== ==22486== Process terminating with default action of signal 11 (SIGSEGV) ==22486== Access not within mapped region at address 0x0 ==22486== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22486== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22486== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22486== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22486== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22486== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22486== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22486== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22486== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22486== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22486== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22486== by 0x8065F8B: main (nginx.c:385) ==22486== If you believe this happened as a result of a stack ==22486== overflow in your program's main thread (unlikely but ==22486== possible), you can try to increase the size of the ==22486== main thread stack using the --main-stacksize= flag. ==22486== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 10 set read timeout to -1 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22507== Invalid read of size 4 ==22507== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22507== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22507== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22507== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22507== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22507== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22507== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22507== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22507== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22507== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22507== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22507== by 0x8065F8B: main (nginx.c:385) ==22507== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22507== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) |
==22507== ==22507== Process terminating with default action of signal 11 (SIGSEGV) ==22507== Access not within mapped region at address 0x0 ==22507== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22507== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22507== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22507== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22507== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22507== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22507== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22507== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22507== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22507== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22507== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22507== by 0x8065F8B: main (nginx.c:385) ==22507== If you believe this happened as a result of a stack ==22507== overflow in your program's main thread (unlikely but ==22507== possible), you can try to increase the size of the ==22507== main thread stack using the --main-stacksize= flag. ==22507== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 10 set read timeout to -1 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 1: set_timeouts |
==22515== Invalid read of size 4 ==22515== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22515== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22515== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22515== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22515== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22515== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22515== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22515== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22515== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22515== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22515== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22515== by 0x8065F8B: main (nginx.c:385) ==22515== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22515== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 1: set_timeouts |
==22515== ==22515== Process terminating with default action of signal 11 (SIGSEGV) ==22515== Access not within mapped region at address 0x0 ==22515== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22515== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22515== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22515== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22515== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22515== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22515== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22515== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22515== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22515== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22515== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22515== by 0x8065F8B: main (nginx.c:385) ==22515== If you believe this happened as a result of a stack ==22515== overflow in your program's main thread (unlikely but ==22515== possible), you can try to increase the size of the ==22515== main thread stack using the --main-stacksize= flag. ==22515== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 1: set_timeouts - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 1: set_timeouts - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 1: set_timeouts |
==22538== Invalid read of size 4 ==22538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22538== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22538== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22538== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22538== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22538== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22538== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22538== by 0x8065F8B: main (nginx.c:385) ==22538== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22538== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 1: set_timeouts |
==22538== ==22538== Process terminating with default action of signal 11 (SIGSEGV) ==22538== Access not within mapped region at address 0x0 ==22538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22538== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22538== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22538== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22538== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22538== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22538== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22538== by 0x8065F8B: main (nginx.c:385) ==22538== If you believe this happened as a result of a stack ==22538== overflow in your program's main thread (unlikely but ==22538== possible), you can try to increase the size of the ==22538== main thread stack using the --main-stacksize= flag. ==22538== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 1: set_timeouts - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 1: set_timeouts - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 |
==22546== Invalid read of size 4 ==22546== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22546== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22546== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22546== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22546== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22546== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22546== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22546== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22546== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22546== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22546== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22546== by 0x8065F8B: main (nginx.c:385) ==22546== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22546== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 |
==22546== ==22546== Process terminating with default action of signal 11 (SIGSEGV) ==22546== Access not within mapped region at address 0x0 ==22546== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22546== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22546== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22546== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22546== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22546== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22546== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22546== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22546== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22546== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22546== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22546== by 0x8065F8B: main (nginx.c:385) ==22546== If you believe this happened as a result of a stack ==22546== overflow in your program's main thread (unlikely but ==22546== possible), you can try to increase the size of the ==22546== main thread stack using the --main-stacksize= flag. ==22546== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 |
==22567== Invalid read of size 4 ==22567== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22567== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22567== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22567== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22567== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22567== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22567== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22567== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22567== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22567== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22567== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22567== by 0x8065F8B: main (nginx.c:385) ==22567== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22567== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 |
==22567== ==22567== Process terminating with default action of signal 11 (SIGSEGV) ==22567== Access not within mapped region at address 0x0 ==22567== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22567== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22567== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22567== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22567== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22567== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22567== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22567== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22567== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22567== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22567== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22567== by 0x8065F8B: main (nginx.c:385) ==22567== If you believe this happened as a result of a stack ==22567== overflow in your program's main thread (unlikely but ==22567== possible), you can try to increase the size of the ==22567== main thread stack using the --main-stacksize= flag. ==22567== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 |
==22577== Invalid read of size 4 ==22577== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22577== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22577== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22577== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22577== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22577== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22577== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22577== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22577== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22577== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22577== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22577== by 0x8065F8B: main (nginx.c:385) ==22577== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22577== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 |
==22577== ==22577== Process terminating with default action of signal 11 (SIGSEGV) ==22577== Access not within mapped region at address 0x0 ==22577== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22577== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22577== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22577== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22577== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22577== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22577== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22577== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22577== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22577== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22577== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22577== by 0x8065F8B: main (nginx.c:385) ==22577== If you believe this happened as a result of a stack ==22577== overflow in your program's main thread (unlikely but ==22577== possible), you can try to increase the size of the ==22577== main thread stack using the --main-stacksize= flag. ==22577== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 |
==22599== Invalid read of size 4 ==22599== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22599== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22599== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22599== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22599== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22599== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22599== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22599== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22599== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22599== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22599== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22599== by 0x8065F8B: main (nginx.c:385) ==22599== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22599== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 |
==22599== ==22599== Process terminating with default action of signal 11 (SIGSEGV) ==22599== Access not within mapped region at address 0x0 ==22599== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22599== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22599== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22599== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22599== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22599== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22599== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22599== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22599== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22599== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22599== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22599== by 0x8065F8B: main (nginx.c:385) ==22599== If you believe this happened as a result of a stack ==22599== overflow in your program's main thread (unlikely but ==22599== possible), you can try to increase the size of the ==22599== main thread stack using the --main-stacksize= flag. ==22599== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) |
==22608== Invalid read of size 4 ==22608== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22608== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22608== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22608== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22608== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22608== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22608== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22608== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22608== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22608== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22608== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22608== by 0x8065F8B: main (nginx.c:385) ==22608== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22608== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) |
==22608== ==22608== Process terminating with default action of signal 11 (SIGSEGV) ==22608== Access not within mapped region at address 0x0 ==22608== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22608== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22608== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22608== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22608== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22608== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22608== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22608== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22608== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22608== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22608== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22608== by 0x8065F8B: main (nginx.c:385) ==22608== If you believe this happened as a result of a stack ==22608== overflow in your program's main thread (unlikely but ==22608== possible), you can try to increase the size of the ==22608== main thread stack using the --main-stacksize= flag. ==22608== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) |
==22631== Invalid read of size 4 ==22631== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22631== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22631== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22631== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22631== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22631== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22631== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22631== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22631== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22631== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22631== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22631== by 0x8065F8B: main (nginx.c:385) ==22631== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22631== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) |
==22631== ==22631== Process terminating with default action of signal 11 (SIGSEGV) ==22631== Access not within mapped region at address 0x0 ==22631== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22631== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22631== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22631== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22631== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22631== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22631== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22631== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22631== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22631== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22631== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22631== by 0x8065F8B: main (nginx.c:385) ==22631== If you believe this happened as a result of a stack ==22631== overflow in your program's main thread (unlikely but ==22631== possible), you can try to increase the size of the ==22631== main thread stack using the --main-stacksize= flag. ==22631== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) |
==22640== Invalid read of size 4 ==22640== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22640== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22640== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22640== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22640== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22640== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22640== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22640== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22640== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22640== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22640== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22640== by 0x8065F8B: main (nginx.c:385) ==22640== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22640== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) |
==22640== ==22640== Process terminating with default action of signal 11 (SIGSEGV) ==22640== Access not within mapped region at address 0x0 ==22640== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22640== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22640== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22640== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22640== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22640== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22640== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22640== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22640== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22640== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22640== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22640== by 0x8065F8B: main (nginx.c:385) ==22640== If you believe this happened as a result of a stack ==22640== overflow in your program's main thread (unlikely but ==22640== possible), you can try to increase the size of the ==22640== main thread stack using the --main-stacksize= flag. ==22640== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) |
==22661== Invalid read of size 4 ==22661== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22661== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22661== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22661== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22661== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22661== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22661== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22661== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22661== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22661== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22661== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22661== by 0x8065F8B: main (nginx.c:385) ==22661== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22661== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) |
==22661== ==22661== Process terminating with default action of signal 11 (SIGSEGV) ==22661== Access not within mapped region at address 0x0 ==22661== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22661== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22661== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22661== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22661== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22661== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22661== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22661== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22661== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22661== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22661== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22661== by 0x8065F8B: main (nginx.c:385) ==22661== If you believe this happened as a result of a stack ==22661== overflow in your program's main thread (unlikely but ==22661== possible), you can try to increase the size of the ==22661== main thread stack using the --main-stacksize= flag. ==22661== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter |
==22670== Invalid read of size 4 ==22670== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22670== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22670== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22670== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22670== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22670== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22670== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22670== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22670== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22670== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22670== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22670== by 0x8065F8B: main (nginx.c:385) ==22670== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22670== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter |
==22670== ==22670== Process terminating with default action of signal 11 (SIGSEGV) ==22670== Access not within mapped region at address 0x0 ==22670== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22670== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22670== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22670== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22670== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22670== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22670== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22670== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22670== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22670== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22670== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22670== by 0x8065F8B: main (nginx.c:385) ==22670== If you believe this happened as a result of a stack ==22670== overflow in your program's main thread (unlikely but ==22670== possible), you can try to increase the size of the ==22670== main thread stack using the --main-stacksize= flag. ==22670== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:05:00 [alert] 22353\#0: worker process 22670 exited on signal 11" (req 0) |
2020/10/27 06:05:00 [debug] 22353\#0: shmtx forced unlock 2020/10/27 06:05:00 [debug] 22353\#0: wake up, sigio 0 2020/10/27 06:05:00 [debug] 22353\#0: reap children 2020/10/27 06:05:00 [debug] 22353\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:05:00 [debug] 22353\#0: child: 1 22670 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:05:00 [debug] 22353\#0: channel 3:4 2020/10/27 06:05:00 [notice] 22353\#0: start worker process 22693 2020/10/27 06:05:00 [debug] 22353\#0: sigsuspend 2020/10/27 06:05:00 [debug] 22693\#0: malloc: 0541EBB0:12 ' |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter |
==22693== Invalid read of size 4 ==22693== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22693== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22693== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22693== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22693== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22693== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22693== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22693== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22693== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22693== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22693== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22693== by 0x8065F8B: main (nginx.c:385) ==22693== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22693== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter |
==22693== ==22693== Process terminating with default action of signal 11 (SIGSEGV) ==22693== Access not within mapped region at address 0x0 ==22693== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22693== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22693== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22693== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22693== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22693== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22693== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22693== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22693== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22693== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22693== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22693== by 0x8065F8B: main (nginx.c:385) ==22693== If you believe this happened as a result of a stack ==22693== overflow in your program's main thread (unlikely but ==22693== possible), you can try to increase the size of the ==22693== main thread stack using the --main-stacksize= flag. ==22693== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:05:01 [alert] 22353\#0: worker process 22693 exited on signal 11" (req 1) |
2020/10/27 06:05:01 [debug] 22353\#0: shmtx forced unlock 2020/10/27 06:05:01 [debug] 22353\#0: wake up, sigio 0 2020/10/27 06:05:01 [debug] 22353\#0: reap children 2020/10/27 06:05:01 [debug] 22353\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:05:01 [debug] 22353\#0: child: 1 22693 e:0 t:1 d:0 r:1 j:0 ' |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - Can't connect to 127.0.0.1:1984: Connection refused |
==22703== Invalid read of size 4 ==22703== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22703== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22703== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22703== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22703== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22703== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22703== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22703== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22703== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22703== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22703== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==22703== by 0x8065F8B: main (nginx.c:385) ==22703== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22703== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - Can't connect to 127.0.0.1:1984: Connection refused |
==22703== ==22703== Process terminating with default action of signal 11 (SIGSEGV) ==22703== Access not within mapped region at address 0x0 ==22703== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22703== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22703== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22703== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22703== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22703== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22703== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22703== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22703== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22703== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22703== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==22703== by 0x8065F8B: main (nginx.c:385) ==22703== If you believe this happened as a result of a stack ==22703== overflow in your program's main thread (unlikely but ==22703== possible), you can try to increase the size of the ==22703== main thread stack using the --main-stacksize= flag. ==22703== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - Can't connect to 127.0.0.1:1984: Connection refused |
==22704== Invalid read of size 4 ==22704== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22704== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22704== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22704== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22704== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22704== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22704== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22704== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22704== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22704== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22704== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22704== by 0x8065F8B: main (nginx.c:385) ==22704== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22704== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - Can't connect to 127.0.0.1:1984: Connection refused |
==22704== ==22704== Process terminating with default action of signal 11 (SIGSEGV) ==22704== Access not within mapped region at address 0x0 ==22704== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22704== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22704== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22704== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22704== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22704== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22704== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22704== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22704== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22704== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22704== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22704== by 0x8065F8B: main (nginx.c:385) ==22704== If you believe this happened as a result of a stack ==22704== overflow in your program's main thread (unlikely but ==22704== possible), you can try to increase the size of the ==22704== main thread stack using the --main-stacksize= flag. ==22704== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) |
==22716== Invalid read of size 4 ==22716== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22716== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22716== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22716== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22716== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22716== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22716== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22716== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22716== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22716== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22716== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22716== by 0x8065F8B: main (nginx.c:385) ==22716== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22716== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) |
==22716== ==22716== Process terminating with default action of signal 11 (SIGSEGV) ==22716== Access not within mapped region at address 0x0 ==22716== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22716== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22716== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22716== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22716== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22716== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22716== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22716== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22716== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22716== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22716== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22716== by 0x8065F8B: main (nginx.c:385) ==22716== If you believe this happened as a result of a stack ==22716== overflow in your program's main thread (unlikely but ==22716== possible), you can try to increase the size of the ==22716== main thread stack using the --main-stacksize= flag. ==22716== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) |
==22737== Invalid read of size 4 ==22737== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22737== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22737== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22737== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22737== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22737== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22737== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22737== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22737== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22737== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22737== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22737== by 0x8065F8B: main (nginx.c:385) ==22737== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22737== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) |
==22737== ==22737== Process terminating with default action of signal 11 (SIGSEGV) ==22737== Access not within mapped region at address 0x0 ==22737== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22737== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22737== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22737== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22737== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22737== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22737== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22737== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22737== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22737== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22737== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22737== by 0x8065F8B: main (nginx.c:385) ==22737== If you believe this happened as a result of a stack ==22737== overflow in your program's main thread (unlikely but ==22737== possible), you can try to increase the size of the ==22737== main thread stack using the --main-stacksize= flag. ==22737== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) |
==22749== Invalid read of size 4 ==22749== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22749== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22749== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22749== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22749== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22749== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22749== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22749== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22749== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22749== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22749== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22749== by 0x8065F8B: main (nginx.c:385) ==22749== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22749== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) |
==22749== ==22749== Process terminating with default action of signal 11 (SIGSEGV) ==22749== Access not within mapped region at address 0x0 ==22749== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22749== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22749== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22749== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22749== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22749== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22749== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22749== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22749== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22749== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22749== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22749== by 0x8065F8B: main (nginx.c:385) ==22749== If you believe this happened as a result of a stack ==22749== overflow in your program's main thread (unlikely but ==22749== possible), you can try to increase the size of the ==22749== main thread stack using the --main-stacksize= flag. ==22749== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) |
==22772== Invalid read of size 4 ==22772== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22772== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22772== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22772== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22772== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22772== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22772== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22772== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22772== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22772== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22772== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22772== by 0x8065F8B: main (nginx.c:385) ==22772== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22772== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) |
==22772== ==22772== Process terminating with default action of signal 11 (SIGSEGV) ==22772== Access not within mapped region at address 0x0 ==22772== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22772== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22772== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22772== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22772== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22772== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22772== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22772== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22772== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22772== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22772== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22772== by 0x8065F8B: main (nginx.c:385) ==22772== If you believe this happened as a result of a stack ==22772== overflow in your program's main thread (unlikely but ==22772== possible), you can try to increase the size of the ==22772== main thread stack using the --main-stacksize= flag. ==22772== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) |
==22784== Invalid read of size 4 ==22784== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22784== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22784== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22784== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22784== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22784== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22784== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22784== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22784== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22784== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22784== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22784== by 0x8065F8B: main (nginx.c:385) ==22784== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22784== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) |
==22784== ==22784== Process terminating with default action of signal 11 (SIGSEGV) ==22784== Access not within mapped region at address 0x0 ==22784== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22784== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22784== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22784== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22784== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22784== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22784== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22784== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22784== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22784== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22784== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22784== by 0x8065F8B: main (nginx.c:385) ==22784== If you believe this happened as a result of a stack ==22784== overflow in your program's main thread (unlikely but ==22784== possible), you can try to increase the size of the ==22784== main thread stack using the --main-stacksize= flag. ==22784== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) |
==22805== Invalid read of size 4 ==22805== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22805== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22805== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22805== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22805== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22805== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22805== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22805== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22805== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22805== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22805== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22805== by 0x8065F8B: main (nginx.c:385) ==22805== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22805== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) |
==22805== ==22805== Process terminating with default action of signal 11 (SIGSEGV) ==22805== Access not within mapped region at address 0x0 ==22805== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22805== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22805== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22805== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22805== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22805== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22805== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22805== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22805== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22805== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22805== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22805== by 0x8065F8B: main (nginx.c:385) ==22805== If you believe this happened as a result of a stack ==22805== overflow in your program's main thread (unlikely but ==22805== possible), you can try to increase the size of the ==22805== main thread stack using the --main-stacksize= flag. ==22805== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 1: set current peer (separate addr and port) |
==22817== Invalid read of size 4 ==22817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22817== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22817== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22817== by 0x8065F8B: main (nginx.c:385) ==22817== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22817== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 1: set current peer (separate addr and port) |
==22817== ==22817== Process terminating with default action of signal 11 (SIGSEGV) ==22817== Access not within mapped region at address 0x0 ==22817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22817== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22817== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22817== by 0x8065F8B: main (nginx.c:385) ==22817== If you believe this happened as a result of a stack ==22817== overflow in your program's main thread (unlikely but ==22817== possible), you can try to increase the size of the ==22817== main thread stack using the --main-stacksize= flag. ==22817== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 1: set current peer (separate addr and port) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 1: set current peer (separate addr and port) |
==22838== Invalid read of size 4 ==22838== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22838== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22838== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22838== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22838== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22838== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22838== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22838== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22838== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22838== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22838== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22838== by 0x8065F8B: main (nginx.c:385) ==22838== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22838== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 1: set current peer (separate addr and port) |
==22838== ==22838== Process terminating with default action of signal 11 (SIGSEGV) ==22838== Access not within mapped region at address 0x0 ==22838== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22838== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22838== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22838== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22838== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22838== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22838== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22838== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22838== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22838== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22838== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22838== by 0x8065F8B: main (nginx.c:385) ==22838== If you believe this happened as a result of a stack ==22838== overflow in your program's main thread (unlikely but ==22838== possible), you can try to increase the size of the ==22838== main thread stack using the --main-stacksize= flag. ==22838== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 1: set current peer (separate addr and port) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) |
==22850== Invalid read of size 4 ==22850== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22850== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22850== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22850== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22850== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22850== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22850== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22850== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22850== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22850== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22850== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22850== by 0x8065F8B: main (nginx.c:385) ==22850== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22850== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) |
==22850== ==22850== Process terminating with default action of signal 11 (SIGSEGV) ==22850== Access not within mapped region at address 0x0 ==22850== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22850== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22850== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22850== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22850== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22850== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22850== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22850== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22850== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22850== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22850== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22850== by 0x8065F8B: main (nginx.c:385) ==22850== If you believe this happened as a result of a stack ==22850== overflow in your program's main thread (unlikely but ==22850== possible), you can try to increase the size of the ==22850== main thread stack using the --main-stacksize= flag. ==22850== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) - status code ok |
got: '' expected: '200' |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) |
==22871== Invalid read of size 4 ==22871== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22871== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22871== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22871== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22871== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22871== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22871== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22871== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22871== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22871== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22871== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22871== by 0x8065F8B: main (nginx.c:385) ==22871== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22871== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) |
==22871== ==22871== Process terminating with default action of signal 11 (SIGSEGV) ==22871== Access not within mapped region at address 0x0 ==22871== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22871== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22871== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22871== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22871== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22871== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22871== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22871== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22871== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22871== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22871== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22871== by 0x8065F8B: main (nginx.c:385) ==22871== If you believe this happened as a result of a stack ==22871== overflow in your program's main thread (unlikely but ==22871== possible), you can try to increase the size of the ==22871== main thread stack using the --main-stacksize= flag. ==22871== The main thread stack size used in this run was 8388608. |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22881== Invalid read of size 4 ==22881== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22881== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22881== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22881== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22881== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22881== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22881== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22881== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22881== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22881== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22881== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==22881== by 0x8065F8B: main (nginx.c:385) ==22881== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22881== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22881== ==22881== Process terminating with default action of signal 11 (SIGSEGV) ==22881== Access not within mapped region at address 0x0 ==22881== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22881== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22881== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22881== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22881== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22881== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22881== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22881== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22881== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22881== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22881== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==22881== by 0x8065F8B: main (nginx.c:385) ==22881== If you believe this happened as a result of a stack ==22881== overflow in your program's main thread (unlikely but ==22881== possible), you can try to increase the size of the ==22881== main thread stack using the --main-stacksize= flag. ==22881== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -received: 42 -received: 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -lua release ngx.ctx at ref 2 -lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22882== Invalid read of size 4 ==22882== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22882== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22882== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22882== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22882== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22882== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22882== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22882== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22882== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22882== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22882== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22882== by 0x8065F8B: main (nginx.c:385) ==22882== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22882== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22882== ==22882== Process terminating with default action of signal 11 (SIGSEGV) ==22882== Access not within mapped region at address 0x0 ==22882== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22882== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22882== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22882== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22882== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22882== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22882== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22882== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22882== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22882== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22882== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22882== by 0x8065F8B: main (nginx.c:385) ==22882== If you believe this happened as a result of a stack ==22882== overflow in your program's main thread (unlikely but ==22882== possible), you can try to increase the size of the ==22882== main thread stack using the --main-stacksize= flag. ==22882== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -received: 42 -received: 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 1) |
@@ -1,4 +0,0 @@ -lua release ngx.ctx at ref 2 -lua release ngx.ctx at ref 1 -lua release ngx.ctx at ref 2 -lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) |
==22894== Invalid read of size 4 ==22894== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22894== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22894== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22894== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22894== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22894== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22894== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22894== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22894== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22894== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22894== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22894== by 0x8065F8B: main (nginx.c:385) ==22894== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22894== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) |
==22894== ==22894== Process terminating with default action of signal 11 (SIGSEGV) ==22894== Access not within mapped region at address 0x0 ==22894== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22894== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22894== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22894== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22894== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22894== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22894== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22894== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22894== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22894== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22894== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22894== by 0x8065F8B: main (nginx.c:385) ==22894== If you believe this happened as a result of a stack ==22894== overflow in your program's main thread (unlikely but ==22894== possible), you can try to increase the size of the ==22894== main thread stack using the --main-stacksize= flag. ==22894== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'received: 1 ' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) |
==22915== Invalid read of size 4 ==22915== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22915== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22915== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22915== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22915== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22915== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22915== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22915== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22915== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22915== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22915== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22915== by 0x8065F8B: main (nginx.c:385) ==22915== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22915== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) |
==22915== ==22915== Process terminating with default action of signal 11 (SIGSEGV) ==22915== Access not within mapped region at address 0x0 ==22915== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22915== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22915== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22915== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22915== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22915== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22915== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22915== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22915== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22915== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22915== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22915== by 0x8065F8B: main (nginx.c:385) ==22915== If you believe this happened as a result of a stack ==22915== overflow in your program's main thread (unlikely but ==22915== possible), you can try to increase the size of the ==22915== main thread stack using the --main-stacksize= flag. ==22915== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'received: 1 ' |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) |
==22929== Invalid read of size 4 ==22929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22929== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22929== by 0x8065F8B: main (nginx.c:385) ==22929== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22929== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) |
==22929== ==22929== Process terminating with default action of signal 11 (SIGSEGV) ==22929== Access not within mapped region at address 0x0 ==22929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==22929== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==22929== by 0x8065F8B: main (nginx.c:385) ==22929== If you believe this happened as a result of a stack ==22929== overflow in your program's main thread (unlikely but ==22929== possible), you can try to increase the size of the ==22929== main thread stack using the --main-stacksize= flag. ==22929== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to do SSL handshake: handshake failed ' |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) |
==22950== Invalid read of size 4 ==22950== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22950== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22950== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22950== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22950== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22950== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22950== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22950== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22950== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22950== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22950== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22950== by 0x8065F8B: main (nginx.c:385) ==22950== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) |
==22950== ==22950== Process terminating with default action of signal 11 (SIGSEGV) ==22950== Access not within mapped region at address 0x0 ==22950== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22950== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22950== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22950== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==22950== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==22950== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==22950== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==22950== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==22950== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==22950== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==22950== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==22950== by 0x8065F8B: main (nginx.c:385) ==22950== If you believe this happened as a result of a stack ==22950== overflow in your program's main thread (unlikely but ==22950== possible), you can try to increase the size of the ==22950== main thread stack using the --main-stacksize= flag. ==22950== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to do SSL handshake: handshake failed ' |
stream/errlog.t | TEST 23: the system default filter level is "debug" |
==23555== Invalid read of size 4 ==23555== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23555== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23555== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23555== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23555== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23555== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23555== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23555== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23555== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23555== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23555== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23555== by 0x8065F8B: main (nginx.c:385) ==23555== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/errlog.t | TEST 23: the system default filter level is "debug" |
==23555== ==23555== Process terminating with default action of signal 11 (SIGSEGV) ==23555== Access not within mapped region at address 0x0 ==23555== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23555== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23555== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23555== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23555== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23555== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23555== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23555== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23555== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23555== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23555== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23555== by 0x8065F8B: main (nginx.c:385) ==23555== If you believe this happened as a result of a stack ==23555== overflow in your program's main thread (unlikely but ==23555== possible), you can try to increase the size of the ==23555== main thread stack using the --main-stacksize= flag. ==23555== The main thread stack size used in this run was 8388608. |
stream/errlog.t | TEST 23: the system default filter level is "debug" - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 23: the system default filter level is "debug" - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Is "debug" the system default filter level? true' |
stream/errlog.t | TEST 23: the system default filter level is "debug" |
==23576== Invalid read of size 4 ==23576== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23576== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23576== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23576== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23576== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23576== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23576== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23576== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23576== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23576== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==23576== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==23576== by 0x8065F8B: main (nginx.c:385) ==23576== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23576== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/errlog.t | TEST 23: the system default filter level is "debug" |
==23576== ==23576== Process terminating with default action of signal 11 (SIGSEGV) ==23576== Access not within mapped region at address 0x0 ==23576== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23576== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23576== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23576== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23576== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23576== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23576== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23576== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23576== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23576== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==23576== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==23576== by 0x8065F8B: main (nginx.c:385) ==23576== If you believe this happened as a result of a stack ==23576== overflow in your program's main thread (unlikely but ==23576== possible), you can try to increase the size of the ==23576== main thread stack using the --main-stacksize= flag. ==23576== The main thread stack size used in this run was 8388608. |
stream/errlog.t | TEST 23: the system default filter level is "debug" - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 23: the system default filter level is "debug" - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'Is "debug" the system default filter level? true' |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - Can't connect to 127.0.0.1:1984: Connection refused |
==23992== Invalid read of size 4 ==23992== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23992== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23992== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23992== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23992== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23992== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23992== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23992== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23992== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23992== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23992== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==23992== by 0x8065F8B: main (nginx.c:385) ==23992== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23992== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - Can't connect to 127.0.0.1:1984: Connection refused |
==23992== ==23992== Process terminating with default action of signal 11 (SIGSEGV) ==23992== Access not within mapped region at address 0x0 ==23992== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23992== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23992== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23992== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23992== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23992== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23992== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23992== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23992== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23992== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23992== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==23992== by 0x8065F8B: main (nginx.c:385) ==23992== If you believe this happened as a result of a stack ==23992== overflow in your program's main thread (unlikely but ==23992== possible), you can try to increase the size of the ==23992== main thread stack using the --main-stacksize= flag. ==23992== The main thread stack size used in this run was 8388608. |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - Can't connect to 127.0.0.1:1984: Connection refused |
==23995== Invalid read of size 4 ==23995== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23995== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23995== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23995== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23995== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23995== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23995== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23995== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23995== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23995== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==23995== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==23995== by 0x8065F8B: main (nginx.c:385) ==23995== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23995== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - Can't connect to 127.0.0.1:1984: Connection refused |
==23995== ==23995== Process terminating with default action of signal 11 (SIGSEGV) ==23995== Access not within mapped region at address 0x0 ==23995== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23995== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23995== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23995== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23995== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23995== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==23995== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==23995== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23995== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23995== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==23995== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==23995== by 0x8065F8B: main (nginx.c:385) ==23995== If you believe this happened as a result of a stack ==23995== overflow in your program's main thread (unlikely but ==23995== possible), you can try to increase the size of the ==23995== main thread stack using the --main-stacksize= flag. ==23995== The main thread stack size used in this run was 8388608. |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 1: base.check_subsystem |
==24007== Invalid read of size 4 ==24007== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24007== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24007== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24007== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24007== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24007== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24007== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24007== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24007== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24007== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24007== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24007== by 0x8065F8B: main (nginx.c:385) ==24007== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24007== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/misc.t | TEST 1: base.check_subsystem |
==24007== ==24007== Process terminating with default action of signal 11 (SIGSEGV) ==24007== Access not within mapped region at address 0x0 ==24007== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24007== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24007== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24007== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24007== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24007== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24007== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24007== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24007== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24007== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24007== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24007== by 0x8065F8B: main (nginx.c:385) ==24007== If you believe this happened as a result of a stack ==24007== overflow in your program's main thread (unlikely but ==24007== possible), you can try to increase the size of the ==24007== main thread stack using the --main-stacksize= flag. ==24007== The main thread stack size used in this run was 8388608. |
stream/misc.t | TEST 1: base.check_subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 1: base.check_subsystem - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/misc.t | TEST 1: base.check_subsystem |
==24028== Invalid read of size 4 ==24028== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24028== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24028== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24028== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24028== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24028== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24028== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24028== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24028== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24028== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24028== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24028== by 0x8065F8B: main (nginx.c:385) ==24028== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24028== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/misc.t | TEST 1: base.check_subsystem |
==24028== ==24028== Process terminating with default action of signal 11 (SIGSEGV) ==24028== Access not within mapped region at address 0x0 ==24028== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24028== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24028== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24028== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24028== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24028== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24028== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24028== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24028== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24028== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24028== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24028== by 0x8065F8B: main (nginx.c:385) ==24028== If you believe this happened as a result of a stack ==24028== overflow in your program's main thread (unlikely but ==24028== possible), you can try to increase the size of the ==24028== main thread stack using the --main-stacksize= flag. ==24028== The main thread stack size used in this run was 8388608. |
stream/misc.t | TEST 1: base.check_subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 1: base.check_subsystem - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==24038== Invalid read of size 4 ==24038== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24038== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24038== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24038== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24038== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24038== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24038== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24038== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24038== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24038== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24038== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24038== by 0x8065F8B: main (nginx.c:385) ==24038== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24038== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==24038== ==24038== Process terminating with default action of signal 11 (SIGSEGV) ==24038== Access not within mapped region at address 0x0 ==24038== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24038== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24038== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24038== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24038== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24038== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24038== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24038== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24038== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24038== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24038== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24038== by 0x8065F8B: main (nginx.c:385) ==24038== If you believe this happened as a result of a stack ==24038== overflow in your program's main thread (unlikely but ==24038== possible), you can try to increase the size of the ==24038== main thread stack using the --main-stacksize= flag. ==24038== The main thread stack size used in this run was 8388608. |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "old\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) |
==24050== Invalid read of size 4 ==24050== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24050== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24050== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24050== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24050== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24050== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24050== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24050== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24050== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24050== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24050== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24050== by 0x8065F8B: main (nginx.c:385) ==24050== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24050== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) |
==24050== ==24050== Process terminating with default action of signal 11 (SIGSEGV) ==24050== Access not within mapped region at address 0x0 ==24050== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24050== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24050== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24050== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24050== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24050== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24050== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24050== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24050== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24050== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24050== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24050== by 0x8065F8B: main (nginx.c:385) ==24050== If you believe this happened as a result of a stack ==24050== overflow in your program's main thread (unlikely but ==24050== possible), you can try to increase the size of the ==24050== main thread stack using the --main-stacksize= flag. ==24050== The main thread stack size used in this run was 8388608. |
stream/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "new\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) |
==24082== Invalid read of size 4 ==24082== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24082== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24082== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24082== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24082== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24082== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24082== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24082== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24082== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24082== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24082== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24082== by 0x8065F8B: main (nginx.c:385) ==24082== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24082== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) |
==24082== ==24082== Process terminating with default action of signal 11 (SIGSEGV) ==24082== Access not within mapped region at address 0x0 ==24082== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24082== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24082== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24082== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24082== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24082== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24082== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24082== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24082== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24082== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24082== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24082== by 0x8065F8B: main (nginx.c:385) ==24082== If you believe this happened as a result of a stack ==24082== overflow in your program's main thread (unlikely but ==24082== possible), you can try to increase the size of the ==24082== main thread stack using the --main-stacksize= flag. ==24082== The main thread stack size used in this run was 8388608. |
stream/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - response_body_like - response is expected () |
'' doesn't match '(?^s:\s)' |
stream/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) |
==24114== Invalid read of size 4 ==24114== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24114== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24114== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24114== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24114== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24114== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24114== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24114== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24114== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24114== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24114== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24114== by 0x8065F8B: main (nginx.c:385) ==24114== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24114== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) |
==24114== ==24114== Process terminating with default action of signal 11 (SIGSEGV) ==24114== Access not within mapped region at address 0x0 ==24114== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24114== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24114== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24114== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24114== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24114== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24114== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24114== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24114== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24114== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24114== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24114== by 0x8065F8B: main (nginx.c:385) ==24114== If you believe this happened as a result of a stack ==24114== overflow in your program's main thread (unlikely but ==24114== possible), you can try to increase the size of the ==24114== main thread stack using the --main-stacksize= flag. ==24114== The main thread stack size used in this run was 8388608. |
stream/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) |
==24146== Invalid read of size 4 ==24146== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24146== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24146== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24146== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24146== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24146== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24146== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24146== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24146== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24146== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24146== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24146== by 0x8065F8B: main (nginx.c:385) ==24146== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24146== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) |
==24146== ==24146== Process terminating with default action of signal 11 (SIGSEGV) ==24146== Access not within mapped region at address 0x0 ==24146== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24146== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24146== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24146== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24146== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24146== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24146== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24146== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24146== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24146== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24146== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24146== by 0x8065F8B: main (nginx.c:385) ==24146== If you believe this happened as a result of a stack ==24146== overflow in your program's main thread (unlikely but ==24146== possible), you can try to increase the size of the ==24146== main thread stack using the --main-stacksize= flag. ==24146== The main thread stack size used in this run was 8388608. |
stream/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "old\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) |
==24178== Invalid read of size 4 ==24178== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24178== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24178== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24178== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24178== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24178== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24178== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24178== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24178== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24178== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24178== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24178== by 0x8065F8B: main (nginx.c:385) ==24178== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24178== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) |
==24178== ==24178== Process terminating with default action of signal 11 (SIGSEGV) ==24178== Access not within mapped region at address 0x0 ==24178== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24178== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24178== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24178== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24178== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24178== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24178== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24178== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24178== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24178== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24178== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24178== by 0x8065F8B: main (nginx.c:385) ==24178== If you believe this happened as a result of a stack ==24178== overflow in your program's main thread (unlikely but ==24178== possible), you can try to increase the size of the ==24178== main thread stack using the --main-stacksize= flag. ==24178== The main thread stack size used in this run was 8388608. |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "new\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 8: os.getenv() overwrite is reverted in worker phases - Can't connect to 127.0.0.1:1984: Connection refused |
==24210== Invalid read of size 4 ==24210== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24210== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24210== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24210== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24210== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24210== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24210== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24210== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24210== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24210== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24210== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24210== by 0x8065F8B: main (nginx.c:385) ==24210== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 8: os.getenv() overwrite is reverted in worker phases - Can't connect to 127.0.0.1:1984: Connection refused |
==24210== ==24210== Process terminating with default action of signal 11 (SIGSEGV) ==24210== Access not within mapped region at address 0x0 ==24210== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24210== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24210== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24210== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24210== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24210== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24210== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24210== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24210== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24210== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24210== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24210== by 0x8065F8B: main (nginx.c:385) ==24210== If you believe this happened as a result of a stack ==24210== overflow in your program's main thread (unlikely but ==24210== possible), you can try to increase the size of the ==24210== main thread stack using the --main-stacksize= flag. ==24210== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 8: os.getenv() overwrite is reverted in worker phases - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 8: os.getenv() overwrite is reverted in worker phases - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "FOO=hello\x{0a}os.getenv() overwrite was reverted\x{0a}" length: 45 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* |
==24222== Invalid read of size 4 ==24222== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24222== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24222== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24222== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24222== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24222== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24222== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24222== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24222== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24222== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24222== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24222== by 0x8065F8B: main (nginx.c:385) ==24222== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24222== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* |
==24222== ==24222== Process terminating with default action of signal 11 (SIGSEGV) ==24222== Access not within mapped region at address 0x0 ==24222== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24222== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24222== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24222== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24222== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24222== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24222== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24222== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24222== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24222== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24222== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24222== by 0x8065F8B: main (nginx.c:385) ==24222== If you believe this happened as a result of a stack ==24222== overflow in your program's main thread (unlikely but ==24222== possible), you can try to increase the size of the ==24222== main thread stack using the --main-stacksize= flag. ==24222== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello\x{0a}hello\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* |
==24254== Invalid read of size 4 ==24254== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24254== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24254== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24254== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24254== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24254== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24254== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24254== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24254== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24254== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24254== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24254== by 0x8065F8B: main (nginx.c:385) ==24254== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24254== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* |
==24254== ==24254== Process terminating with default action of signal 11 (SIGSEGV) ==24254== Access not within mapped region at address 0x0 ==24254== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24254== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24254== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24254== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24254== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24254== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24254== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24254== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24254== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24254== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24254== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24254== by 0x8065F8B: main (nginx.c:385) ==24254== If you believe this happened as a result of a stack ==24254== overflow in your program's main thread (unlikely but ==24254== possible), you can try to increase the size of the ==24254== main thread stack using the --main-stacksize= flag. ==24254== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}nil\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 7: env directive with empty value |
==24286== Invalid read of size 4 ==24286== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24286== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24286== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24286== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24286== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24286== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24286== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24286== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24286== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24286== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24286== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24286== by 0x8065F8B: main (nginx.c:385) ==24286== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24286== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 7: env directive with empty value |
==24286== ==24286== Process terminating with default action of signal 11 (SIGSEGV) ==24286== Access not within mapped region at address 0x0 ==24286== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24286== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24286== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24286== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24286== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24286== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24286== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24286== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24286== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24286== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24286== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24286== by 0x8065F8B: main (nginx.c:385) ==24286== If you believe this happened as a result of a stack ==24286== overflow in your program's main thread (unlikely but ==24286== possible), you can try to increase the size of the ==24286== main thread stack using the --main-stacksize= flag. ==24286== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 7: env directive with empty value - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 7: env directive with empty value - response_body_like - response is expected () |
'' doesn't match '(?^s:in init:\s+ in content:\s+ )' |
stream/os-getenv.t | TEST 4: env directives with no value are ignored |
==24318== Invalid read of size 4 ==24318== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24318== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24318== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24318== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24318== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24318== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24318== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24318== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24318== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24318== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24318== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24318== by 0x8065F8B: main (nginx.c:385) ==24318== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24318== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 4: env directives with no value are ignored |
==24318== ==24318== Process terminating with default action of signal 11 (SIGSEGV) ==24318== Access not within mapped region at address 0x0 ==24318== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24318== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24318== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24318== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24318== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24318== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24318== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24318== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24318== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24318== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24318== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24318== by 0x8065F8B: main (nginx.c:385) ==24318== If you believe this happened as a result of a stack ==24318== overflow in your program's main thread (unlikely but ==24318== possible), you can try to increase the size of the ==24318== main thread stack using the --main-stacksize= flag. ==24318== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 4: env directives with no value are ignored - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 4: env directives with no value are ignored - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}nil\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 6: env explicit set vs environment set |
==24350== Invalid read of size 4 ==24350== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24350== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24350== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24350== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24350== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24350== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24350== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24350== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24350== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24350== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24350== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24350== by 0x8065F8B: main (nginx.c:385) ==24350== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 6: env explicit set vs environment set |
==24350== ==24350== Process terminating with default action of signal 11 (SIGSEGV) ==24350== Access not within mapped region at address 0x0 ==24350== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24350== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24350== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24350== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24350== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24350== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24350== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24350== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24350== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24350== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24350== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24350== by 0x8065F8B: main (nginx.c:385) ==24350== If you believe this happened as a result of a stack ==24350== overflow in your program's main thread (unlikely but ==24350== possible), you can try to increase the size of the ==24350== main thread stack using the --main-stacksize= flag. ==24350== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "goodbye\x{0a}goodbye\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict |
==24382== Invalid read of size 4 ==24382== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24382== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24382== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24382== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24382== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24382== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24382== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24382== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24382== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24382== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24382== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24382== by 0x8065F8B: main (nginx.c:385) ==24382== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24382== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict |
==24382== ==24382== Process terminating with default action of signal 11 (SIGSEGV) ==24382== Access not within mapped region at address 0x0 ==24382== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24382== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24382== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24382== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24382== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24382== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24382== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24382== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24382== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24382== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24382== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24382== by 0x8065F8B: main (nginx.c:385) ==24382== If you believe this happened as a result of a stack ==24382== overflow in your program's main thread (unlikely but ==24382== possible), you can try to increase the size of the ==24382== main thread stack using the --main-stacksize= flag. ==24382== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello\x{0a}hello\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core |
==24414== Invalid read of size 4 ==24414== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24414== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24414== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24414== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24414== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24414== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24414== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24414== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24414== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24414== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24414== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24414== by 0x8065F8B: main (nginx.c:385) ==24414== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24414== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core |
==24414== ==24414== Process terminating with default action of signal 11 (SIGSEGV) ==24414== Access not within mapped region at address 0x0 ==24414== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24414== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24414== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24414== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24414== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24414== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24414== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24414== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24414== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24414== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24414== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24414== by 0x8065F8B: main (nginx.c:385) ==24414== If you believe this happened as a result of a stack ==24414== overflow in your program's main thread (unlikely but ==24414== possible), you can try to increase the size of the ==24414== main thread stack using the --main-stacksize= flag. ==24414== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "os.getenv() overwrite was reverted\x{0a}" length: 35 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 5: env is visible from environment |
==24466== Invalid read of size 4 ==24466== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24466== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24466== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24466== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24466== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24466== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24466== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24466== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24466== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24466== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24466== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24466== by 0x8065F8B: main (nginx.c:385) ==24466== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24466== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/os-getenv.t | TEST 5: env is visible from environment |
==24466== ==24466== Process terminating with default action of signal 11 (SIGSEGV) ==24466== Access not within mapped region at address 0x0 ==24466== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24466== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24466== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24466== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24466== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24466== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24466== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24466== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24466== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24466== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24466== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24466== by 0x8065F8B: main (nginx.c:385) ==24466== If you believe this happened as a result of a stack ==24466== overflow in your program's main thread (unlikely but ==24466== possible), you can try to increase the size of the ==24466== main thread stack using the --main-stacksize= flag. ==24466== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 5: env is visible from environment - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 5: env is visible from environment - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "world\x{0a}world\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==24497== Invalid read of size 4 ==24497== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24497== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24497== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24497== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24497== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24497== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24497== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24497== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24497== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24497== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24497== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24497== by 0x8065F8B: main (nginx.c:385) ==24497== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24497== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==24497== ==24497== Process terminating with default action of signal 11 (SIGSEGV) ==24497== Access not within mapped region at address 0x0 ==24497== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24497== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24497== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24497== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24497== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24497== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24497== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24497== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24497== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24497== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24497== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24497== by 0x8065F8B: main (nginx.c:385) ==24497== If you believe this happened as a result of a stack ==24497== overflow in your program's main thread (unlikely but ==24497== possible), you can try to increase the size of the ==24497== main thread stack using the --main-stacksize= flag. ==24497== The main thread stack size used in this run was 8388608. ==24497== 1,024 bytes in 1 blocks are definitely lost in loss record 3,045 of 3,162 ==24497== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24497== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24497== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24497== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24497== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24497== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24497== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24497== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24497== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24497== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24497== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24497== by 0x40BB675: trace_state (lj_trace.c:690) ==24497== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24497== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24497== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24497== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24497== by 0x407FA29: lua_resume (lj_api.c:1296) ==24497== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24497== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24497== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24497== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24497== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24497== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24497== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24497== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24497== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24497== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24497== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24497== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24497== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24497== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24497== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24497== by 0x8065F8B: main (nginx.c:385) ==24497== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==24498== Invalid read of size 4 ==24498== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24498== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24498== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24498== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24498== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24498== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24498== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24498== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24498== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24498== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24498== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24498== by 0x8065F8B: main (nginx.c:385) ==24498== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24498== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==24498== ==24498== Process terminating with default action of signal 11 (SIGSEGV) ==24498== Access not within mapped region at address 0x0 ==24498== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24498== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24498== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24498== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24498== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24498== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24498== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24498== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24498== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24498== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24498== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24498== by 0x8065F8B: main (nginx.c:385) ==24498== If you believe this happened as a result of a stack ==24498== overflow in your program's main thread (unlikely but ==24498== possible), you can try to increase the size of the ==24498== main thread stack using the --main-stacksize= flag. ==24498== The main thread stack size used in this run was 8388608. ==24498== 1,024 bytes in 1 blocks are definitely lost in loss record 3,045 of 3,162 ==24498== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24498== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24498== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24498== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24498== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24498== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24498== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24498== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24498== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24498== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24498== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24498== by 0x40BB675: trace_state (lj_trace.c:690) ==24498== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24498== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24498== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24498== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24498== by 0x407FA29: lua_resume (lj_api.c:1296) ==24498== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24498== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24498== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24498== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24498== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24498== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24498== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24498== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24498== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24498== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24498== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24498== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24498== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24498== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24498== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24498== by 0x8065F8B: main (nginx.c:385) ==24498== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 5: just hit match limit |
==24510== Invalid read of size 4 ==24510== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24510== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24510== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24510== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24510== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24510== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24510== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24510== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24510== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24510== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24510== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24510== by 0x8065F8B: main (nginx.c:385) ==24510== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24510== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 5: just hit match limit |
==24510== ==24510== Process terminating with default action of signal 11 (SIGSEGV) ==24510== Access not within mapped region at address 0x0 ==24510== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24510== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24510== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24510== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24510== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24510== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24510== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24510== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24510== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24510== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24510== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24510== by 0x8065F8B: main (nginx.c:385) ==24510== If you believe this happened as a result of a stack ==24510== overflow in your program's main thread (unlikely but ==24510== possible), you can try to increase the size of the ==24510== main thread stack using the --main-stacksize= flag. ==24510== The main thread stack size used in this run was 8388608. ==24510== 1,024 bytes in 1 blocks are definitely lost in loss record 3,043 of 3,159 ==24510== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24510== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24510== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24510== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24510== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24510== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24510== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24510== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24510== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24510== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24510== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24510== by 0x40BB675: trace_state (lj_trace.c:690) ==24510== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24510== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24510== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24510== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24510== by 0x407FA29: lua_resume (lj_api.c:1296) ==24510== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24510== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24510== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==24510== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24510== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24510== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24510== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24510== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24510== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24510== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24510== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24510== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24510== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24510== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24510== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24510== by 0x8065F8B: main (nginx.c:385) ==24510== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_file fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 5: just hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 5: just hit match limit - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_exec() failed: -8 ' |
stream/re-base.t | TEST 5: just hit match limit |
==24531== Invalid read of size 4 ==24531== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24531== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24531== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24531== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24531== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24531== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24531== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24531== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24531== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24531== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24531== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24531== by 0x8065F8B: main (nginx.c:385) ==24531== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24531== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 5: just hit match limit |
==24531== ==24531== Process terminating with default action of signal 11 (SIGSEGV) ==24531== Access not within mapped region at address 0x0 ==24531== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24531== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24531== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24531== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24531== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24531== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24531== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24531== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24531== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24531== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24531== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24531== by 0x8065F8B: main (nginx.c:385) ==24531== If you believe this happened as a result of a stack ==24531== overflow in your program's main thread (unlikely but ==24531== possible), you can try to increase the size of the ==24531== main thread stack using the --main-stacksize= flag. ==24531== The main thread stack size used in this run was 8388608. ==24531== 1,024 bytes in 1 blocks are definitely lost in loss record 3,043 of 3,159 ==24531== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24531== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24531== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24531== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24531== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24531== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24531== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24531== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24531== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24531== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24531== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24531== by 0x40BB675: trace_state (lj_trace.c:690) ==24531== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24531== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24531== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24531== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24531== by 0x407FA29: lua_resume (lj_api.c:1296) ==24531== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24531== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24531== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==24531== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24531== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24531== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24531== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24531== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24531== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24531== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24531== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24531== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24531== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24531== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24531== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24531== by 0x8065F8B: main (nginx.c:385) ==24531== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_file fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 5: just hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 5: just hit match limit - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_exec() failed: -8 ' |
stream/re-base.t | TEST 2: bad UTF-8 |
==24544== Invalid read of size 4 ==24544== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24544== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24544== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24544== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24544== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24544== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24544== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24544== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24544== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24544== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24544== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24544== by 0x8065F8B: main (nginx.c:385) ==24544== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24544== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 2: bad UTF-8 |
==24544== ==24544== Process terminating with default action of signal 11 (SIGSEGV) ==24544== Access not within mapped region at address 0x0 ==24544== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24544== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24544== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24544== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24544== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24544== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24544== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24544== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24544== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24544== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24544== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24544== by 0x8065F8B: main (nginx.c:385) ==24544== If you believe this happened as a result of a stack ==24544== overflow in your program's main thread (unlikely but ==24544== possible), you can try to increase the size of the ==24544== main thread stack using the --main-stacksize= flag. ==24544== The main thread stack size used in this run was 8388608. ==24544== 1,024 bytes in 1 blocks are definitely lost in loss record 3,051 of 3,167 ==24544== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24544== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24544== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24544== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24544== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24544== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24544== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24544== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24544== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24544== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24544== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24544== by 0x40BB675: trace_state (lj_trace.c:690) ==24544== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24544== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24544== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24544== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24544== by 0x407FA29: lua_resume (lj_api.c:1296) ==24544== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24544== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24544== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24544== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24544== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24544== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24544== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24544== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24544== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24544== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24544== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24544== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24544== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24544== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24544== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24544== by 0x8065F8B: main (nginx.c:385) ==24544== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 2: bad UTF-8 - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 2: bad UTF-8 - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_exec\(\) failed: -10)' |
stream/re-base.t | TEST 2: bad UTF-8 |
==24565== Invalid read of size 4 ==24565== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24565== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24565== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24565== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24565== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24565== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24565== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24565== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24565== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24565== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24565== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24565== by 0x8065F8B: main (nginx.c:385) ==24565== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 2: bad UTF-8 |
==24565== ==24565== Process terminating with default action of signal 11 (SIGSEGV) ==24565== Access not within mapped region at address 0x0 ==24565== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24565== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24565== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24565== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24565== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24565== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24565== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24565== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24565== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24565== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24565== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24565== by 0x8065F8B: main (nginx.c:385) ==24565== If you believe this happened as a result of a stack ==24565== overflow in your program's main thread (unlikely but ==24565== possible), you can try to increase the size of the ==24565== main thread stack using the --main-stacksize= flag. ==24565== The main thread stack size used in this run was 8388608. ==24565== 1,024 bytes in 1 blocks are definitely lost in loss record 3,051 of 3,167 ==24565== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24565== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24565== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24565== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24565== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24565== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24565== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24565== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24565== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24565== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24565== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24565== by 0x40BB675: trace_state (lj_trace.c:690) ==24565== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24565== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24565== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24565== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24565== by 0x407FA29: lua_resume (lj_api.c:1296) ==24565== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24565== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24565== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24565== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24565== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24565== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24565== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24565== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24565== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24565== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24565== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24565== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24565== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24565== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24565== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24565== by 0x8065F8B: main (nginx.c:385) ==24565== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 2: bad UTF-8 - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 2: bad UTF-8 - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_exec\(\) failed: -10)' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks |
==24577== Invalid read of size 4 ==24577== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24577== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24577== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24577== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24577== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24577== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24577== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24577== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24577== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24577== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24577== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24577== by 0x8065F8B: main (nginx.c:385) ==24577== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24577== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks |
==24577== ==24577== Process terminating with default action of signal 11 (SIGSEGV) ==24577== Access not within mapped region at address 0x0 ==24577== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24577== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24577== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24577== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24577== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24577== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24577== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24577== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24577== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24577== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24577== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24577== by 0x8065F8B: main (nginx.c:385) ==24577== If you believe this happened as a result of a stack ==24577== overflow in your program's main thread (unlikely but ==24577== possible), you can try to increase the size of the ==24577== main thread stack using the --main-stacksize= flag. ==24577== The main thread stack size used in this run was 8388608. ==24577== 1,024 bytes in 1 blocks are definitely lost in loss record 3,044 of 3,160 ==24577== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24577== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24577== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24577== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24577== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24577== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24577== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24577== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24577== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24577== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24577== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24577== by 0x40BB675: trace_state (lj_trace.c:690) ==24577== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24577== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24577== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24577== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24577== by 0x407FA29: lua_resume (lj_api.c:1296) ==24577== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24577== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24577== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24577== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24577== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24577== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24577== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24577== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24577== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24577== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24577== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24577== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24577== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24577== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24577== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24577== by 0x8065F8B: main (nginx.c:385) ==24577== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks |
==24598== Invalid read of size 4 ==24598== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24598== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24598== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24598== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24598== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24598== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24598== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24598== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24598== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24598== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24598== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24598== by 0x8065F8B: main (nginx.c:385) ==24598== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24598== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks |
==24598== ==24598== Process terminating with default action of signal 11 (SIGSEGV) ==24598== Access not within mapped region at address 0x0 ==24598== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24598== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24598== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24598== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24598== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24598== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24598== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24598== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24598== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24598== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24598== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24598== by 0x8065F8B: main (nginx.c:385) ==24598== If you believe this happened as a result of a stack ==24598== overflow in your program's main thread (unlikely but ==24598== possible), you can try to increase the size of the ==24598== main thread stack using the --main-stacksize= flag. ==24598== The main thread stack size used in this run was 8388608. ==24598== 1,024 bytes in 1 blocks are definitely lost in loss record 3,044 of 3,160 ==24598== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24598== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24598== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24598== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24598== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24598== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24598== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24598== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24598== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24598== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24598== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24598== by 0x40BB675: trace_state (lj_trace.c:690) ==24598== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24598== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24598== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24598== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24598== by 0x407FA29: lua_resume (lj_api.c:1296) ==24598== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24598== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24598== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24598== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24598== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24598== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24598== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24598== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24598== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24598== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24598== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24598== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24598== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24598== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24598== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24598== by 0x8065F8B: main (nginx.c:385) ==24598== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 6: just not hit match limit |
==24610== Invalid read of size 4 ==24610== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24610== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24610== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24610== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24610== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24610== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24610== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24610== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24610== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24610== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24610== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24610== by 0x8065F8B: main (nginx.c:385) ==24610== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24610== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 6: just not hit match limit |
==24610== ==24610== Process terminating with default action of signal 11 (SIGSEGV) ==24610== Access not within mapped region at address 0x0 ==24610== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24610== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24610== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24610== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24610== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24610== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24610== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24610== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24610== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24610== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24610== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24610== by 0x8065F8B: main (nginx.c:385) ==24610== If you believe this happened as a result of a stack ==24610== overflow in your program's main thread (unlikely but ==24610== possible), you can try to increase the size of the ==24610== main thread stack using the --main-stacksize= flag. ==24610== The main thread stack size used in this run was 8388608. ==24610== 1,024 bytes in 1 blocks are definitely lost in loss record 3,041 of 3,157 ==24610== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24610== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24610== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24610== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24610== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24610== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24610== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24610== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24610== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24610== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24610== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24610== by 0x40BB675: trace_state (lj_trace.c:690) ==24610== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24610== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24610== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24610== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24610== by 0x407FA29: lua_resume (lj_api.c:1296) ==24610== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24610== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24610== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==24610== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24610== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24610== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24610== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24610== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24610== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24610== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24610== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24610== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24610== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24610== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24610== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24610== by 0x8065F8B: main (nginx.c:385) ==24610== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_file fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 6: just not hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 6: just not hit match limit - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to match ' |
stream/re-base.t | TEST 6: just not hit match limit |
==24631== Invalid read of size 4 ==24631== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24631== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24631== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24631== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24631== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24631== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24631== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24631== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24631== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24631== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24631== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24631== by 0x8065F8B: main (nginx.c:385) ==24631== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24631== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 6: just not hit match limit |
==24631== ==24631== Process terminating with default action of signal 11 (SIGSEGV) ==24631== Access not within mapped region at address 0x0 ==24631== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24631== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24631== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24631== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24631== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24631== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24631== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24631== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24631== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24631== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24631== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24631== by 0x8065F8B: main (nginx.c:385) ==24631== If you believe this happened as a result of a stack ==24631== overflow in your program's main thread (unlikely but ==24631== possible), you can try to increase the size of the ==24631== main thread stack using the --main-stacksize= flag. ==24631== The main thread stack size used in this run was 8388608. ==24631== 1,024 bytes in 1 blocks are definitely lost in loss record 3,041 of 3,157 ==24631== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24631== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24631== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24631== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24631== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24631== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24631== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24631== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24631== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24631== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24631== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24631== by 0x40BB675: trace_state (lj_trace.c:690) ==24631== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24631== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24631== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24631== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24631== by 0x407FA29: lua_resume (lj_api.c:1296) ==24631== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24631== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24631== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==24631== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24631== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24631== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24631== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24631== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24631== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24631== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24631== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24631== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24631== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24631== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24631== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24631== by 0x8065F8B: main (nginx.c:385) ==24631== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_file fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 6: just not hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 6: just not hit match limit - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to match ' |
stream/re-base.t | TEST 1: bad pattern |
==24646== Invalid read of size 4 ==24646== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24646== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24646== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24646== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24646== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24646== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24646== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24646== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24646== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24646== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24646== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24646== by 0x8065F8B: main (nginx.c:385) ==24646== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24646== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 1: bad pattern |
==24646== ==24646== Process terminating with default action of signal 11 (SIGSEGV) ==24646== Access not within mapped region at address 0x0 ==24646== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24646== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24646== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24646== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24646== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24646== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24646== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24646== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24646== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24646== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24646== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24646== by 0x8065F8B: main (nginx.c:385) ==24646== If you believe this happened as a result of a stack ==24646== overflow in your program's main thread (unlikely but ==24646== possible), you can try to increase the size of the ==24646== main thread stack using the --main-stacksize= flag. ==24646== The main thread stack size used in this run was 8388608. ==24646== 1,024 bytes in 1 blocks are definitely lost in loss record 3,024 of 3,138 ==24646== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24646== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24646== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24646== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24646== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24646== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24646== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24646== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24646== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24646== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24646== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24646== by 0x40BB675: trace_state (lj_trace.c:690) ==24646== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24646== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24646== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24646== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24646== by 0x407FA29: lua_resume (lj_api.c:1296) ==24646== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24646== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24646== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24646== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24646== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24646== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24646== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24646== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24646== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24646== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24646== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24646== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24646== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24646== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24646== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24646== by 0x8065F8B: main (nginx.c:385) ==24646== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 1: bad pattern - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 1: bad pattern - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_compile() failed: missing ) in "(abc" ' |
stream/re-base.t | TEST 1: bad pattern |
==24667== Invalid read of size 4 ==24667== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24667== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24667== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24667== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24667== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24667== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24667== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24667== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24667== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24667== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24667== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24667== by 0x8065F8B: main (nginx.c:385) ==24667== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24667== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 1: bad pattern |
==24667== ==24667== Process terminating with default action of signal 11 (SIGSEGV) ==24667== Access not within mapped region at address 0x0 ==24667== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24667== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24667== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24667== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24667== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24667== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24667== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24667== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24667== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24667== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24667== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24667== by 0x8065F8B: main (nginx.c:385) ==24667== If you believe this happened as a result of a stack ==24667== overflow in your program's main thread (unlikely but ==24667== possible), you can try to increase the size of the ==24667== main thread stack using the --main-stacksize= flag. ==24667== The main thread stack size used in this run was 8388608. ==24667== 1,024 bytes in 1 blocks are definitely lost in loss record 3,024 of 3,138 ==24667== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24667== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24667== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24667== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24667== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24667== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24667== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24667== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24667== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24667== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24667== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24667== by 0x40BB675: trace_state (lj_trace.c:690) ==24667== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24667== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24667== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24667== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24667== by 0x407FA29: lua_resume (lj_api.c:1296) ==24667== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24667== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24667== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24667== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24667== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24667== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24667== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24667== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24667== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24667== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24667== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24667== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24667== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24667== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24667== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24667== by 0x8065F8B: main (nginx.c:385) ==24667== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-base.t | TEST 1: bad pattern - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 1: bad pattern - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_compile() failed: missing ) in "(abc" ' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24677== Invalid read of size 4 ==24677== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24677== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24677== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24677== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24677== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24677== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24677== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24677== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24677== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24677== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24677== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24677== by 0x8065F8B: main (nginx.c:385) ==24677== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24677== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24677== ==24677== Process terminating with default action of signal 11 (SIGSEGV) ==24677== Access not within mapped region at address 0x0 ==24677== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24677== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24677== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24677== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24677== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24677== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24677== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24677== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24677== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24677== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24677== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24677== by 0x8065F8B: main (nginx.c:385) ==24677== If you believe this happened as a result of a stack ==24677== overflow in your program's main thread (unlikely but ==24677== possible), you can try to increase the size of the ==24677== main thread stack using the --main-stacksize= flag. ==24677== The main thread stack size used in this run was 8388608. ==24677== 2,048 bytes in 1 blocks are definitely lost in loss record 3,111 of 3,175 ==24677== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24677== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24677== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24677== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24677== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24677== by 0x408A6B5: ir_nextk64 (lj_ir.c:187) ==24677== by 0x408A6B5: lj_ir_k64 (lj_ir.c:226) ==24677== by 0x408A726: lj_ir_knum_u64 (lj_ir.c:241) ==24677== by 0x408DF64: lj_ir_knum (lj_iropt.h:63) ==24677== by 0x408DF64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==24677== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24677== by 0x40A0FAD: lj_record_ins (lj_record.c:2133) ==24677== by 0x40BB16A: trace_state (lj_trace.c:680) ==24677== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24677== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24677== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24677== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24677== by 0x407FA29: lua_resume (lj_api.c:1296) ==24677== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24677== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24677== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24677== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24677== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24677== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24677== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24677== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24677== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24677== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24677== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24677== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24677== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24677== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24677== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24677== by 0x8065F8B: main (nginx.c:385) ==24677== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk64 fun:lj_ir_k64 fun:lj_ir_knum_u64 fun:lj_ir_knum fun:fold_kfold_conv_kint_num fun:lj_opt_fold fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24678== Invalid read of size 4 ==24678== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24678== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24678== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24678== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24678== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24678== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24678== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24678== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24678== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24678== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24678== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24678== by 0x8065F8B: main (nginx.c:385) ==24678== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24678== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24678== ==24678== Process terminating with default action of signal 11 (SIGSEGV) ==24678== Access not within mapped region at address 0x0 ==24678== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24678== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24678== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24678== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24678== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24678== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24678== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24678== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24678== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24678== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24678== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24678== by 0x8065F8B: main (nginx.c:385) ==24678== If you believe this happened as a result of a stack ==24678== overflow in your program's main thread (unlikely but ==24678== possible), you can try to increase the size of the ==24678== main thread stack using the --main-stacksize= flag. ==24678== The main thread stack size used in this run was 8388608. ==24678== 2,048 bytes in 1 blocks are definitely lost in loss record 3,111 of 3,175 ==24678== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24678== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24678== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24678== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24678== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24678== by 0x408A6B5: ir_nextk64 (lj_ir.c:187) ==24678== by 0x408A6B5: lj_ir_k64 (lj_ir.c:226) ==24678== by 0x408A726: lj_ir_knum_u64 (lj_ir.c:241) ==24678== by 0x408DF64: lj_ir_knum (lj_iropt.h:63) ==24678== by 0x408DF64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==24678== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24678== by 0x40A0FAD: lj_record_ins (lj_record.c:2133) ==24678== by 0x40BB16A: trace_state (lj_trace.c:680) ==24678== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24678== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24678== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24678== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24678== by 0x407FA29: lua_resume (lj_api.c:1296) ==24678== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24678== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24678== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24678== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24678== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24678== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24678== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24678== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24678== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24678== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24678== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24678== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24678== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24678== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24678== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24678== by 0x8065F8B: main (nginx.c:385) ==24678== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk64 fun:lj_ir_k64 fun:lj_ir_knum_u64 fun:lj_ir_knum fun:fold_kfold_conv_kint_num fun:lj_opt_fold fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 4: nil submatch (2nd) |
==24690== Invalid read of size 4 ==24690== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24690== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24690== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24690== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24690== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24690== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24690== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24690== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24690== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24690== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24690== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24690== by 0x8065F8B: main (nginx.c:385) ==24690== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24690== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 4: nil submatch (2nd) |
==24690== ==24690== Process terminating with default action of signal 11 (SIGSEGV) ==24690== Access not within mapped region at address 0x0 ==24690== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24690== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24690== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24690== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24690== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24690== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24690== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24690== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24690== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24690== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24690== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24690== by 0x8065F8B: main (nginx.c:385) ==24690== If you believe this happened as a result of a stack ==24690== overflow in your program's main thread (unlikely but ==24690== possible), you can try to increase the size of the ==24690== main thread stack using the --main-stacksize= flag. ==24690== The main thread stack size used in this run was 8388608. ==24690== 2,048 bytes in 1 blocks are definitely lost in loss record 3,108 of 3,172 ==24690== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24690== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24690== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24690== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24690== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24690== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==24690== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==24690== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==24690== by 0x40BB16A: trace_state (lj_trace.c:680) ==24690== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24690== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24690== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24690== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24690== by 0x407FA29: lua_resume (lj_api.c:1296) ==24690== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24690== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24690== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24690== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24690== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24690== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24690== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24690== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24690== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24690== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24690== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24690== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24690== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24690== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24690== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24690== by 0x8065F8B: main (nginx.c:385) ==24690== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 4: nil submatch (2nd) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 4: nil submatch (2nd) |
==24711== Invalid read of size 4 ==24711== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24711== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24711== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24711== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24711== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24711== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24711== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24711== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24711== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24711== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24711== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24711== by 0x8065F8B: main (nginx.c:385) ==24711== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24711== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 4: nil submatch (2nd) |
==24711== ==24711== Process terminating with default action of signal 11 (SIGSEGV) ==24711== Access not within mapped region at address 0x0 ==24711== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24711== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24711== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24711== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24711== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24711== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24711== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24711== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24711== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24711== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24711== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24711== by 0x8065F8B: main (nginx.c:385) ==24711== If you believe this happened as a result of a stack ==24711== overflow in your program's main thread (unlikely but ==24711== possible), you can try to increase the size of the ==24711== main thread stack using the --main-stacksize= flag. ==24711== The main thread stack size used in this run was 8388608. ==24711== 2,048 bytes in 1 blocks are definitely lost in loss record 3,108 of 3,172 ==24711== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24711== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24711== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24711== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24711== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24711== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==24711== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==24711== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==24711== by 0x40BB16A: trace_state (lj_trace.c:680) ==24711== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24711== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24711== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24711== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24711== by 0x407FA29: lua_resume (lj_api.c:1296) ==24711== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24711== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24711== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24711== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24711== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24711== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24711== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24711== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24711== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24711== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24711== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24711== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24711== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24711== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24711== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24711== by 0x8065F8B: main (nginx.c:385) ==24711== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 4: nil submatch (2nd) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==24723== Invalid read of size 4 ==24723== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24723== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24723== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24723== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24723== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24723== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24723== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24723== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24723== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24723== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24723== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24723== by 0x8065F8B: main (nginx.c:385) ==24723== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24723== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==24723== ==24723== Process terminating with default action of signal 11 (SIGSEGV) ==24723== Access not within mapped region at address 0x0 ==24723== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24723== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24723== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24723== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24723== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24723== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24723== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24723== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24723== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24723== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24723== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24723== by 0x8065F8B: main (nginx.c:385) ==24723== If you believe this happened as a result of a stack ==24723== overflow in your program's main thread (unlikely but ==24723== possible), you can try to increase the size of the ==24723== main thread stack using the --main-stacksize= flag. ==24723== The main thread stack size used in this run was 8388608. ==24723== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,192 ==24723== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24723== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24723== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24723== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24723== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24723== by 0x408A511: ir_nextk (lj_ir.c:175) ==24723== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==24723== by 0x40A672C: recff_cdata_index (lj_crecord.c:918) ==24723== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24723== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==24723== by 0x40BB16A: trace_state (lj_trace.c:680) ==24723== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24723== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24723== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==24723== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24723== by 0x407FA29: lua_resume (lj_api.c:1296) ==24723== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24723== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24723== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24723== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24723== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24723== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24723== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24723== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24723== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24723== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24723== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24723== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24723== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24723== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24723== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24723== by 0x8065F8B: main (nginx.c:385) ==24723== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==24744== Invalid read of size 4 ==24744== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24744== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24744== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24744== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24744== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24744== by 0x8065F8B: main (nginx.c:385) ==24744== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24744== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==24744== ==24744== Process terminating with default action of signal 11 (SIGSEGV) ==24744== Access not within mapped region at address 0x0 ==24744== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24744== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24744== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24744== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24744== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24744== by 0x8065F8B: main (nginx.c:385) ==24744== If you believe this happened as a result of a stack ==24744== overflow in your program's main thread (unlikely but ==24744== possible), you can try to increase the size of the ==24744== main thread stack using the --main-stacksize= flag. ==24744== The main thread stack size used in this run was 8388608. ==24744== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,192 ==24744== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24744== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24744== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24744== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24744== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24744== by 0x408A511: ir_nextk (lj_ir.c:175) ==24744== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==24744== by 0x40A672C: recff_cdata_index (lj_crecord.c:918) ==24744== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24744== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==24744== by 0x40BB16A: trace_state (lj_trace.c:680) ==24744== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24744== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24744== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==24744== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24744== by 0x407FA29: lua_resume (lj_api.c:1296) ==24744== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24744== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24744== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24744== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24744== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24744== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24744== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24744== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24744== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24744== by 0x8065F8B: main (nginx.c:385) ==24744== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==24756== Invalid read of size 4 ==24756== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24756== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24756== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24756== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24756== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24756== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24756== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24756== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24756== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24756== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24756== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24756== by 0x8065F8B: main (nginx.c:385) ==24756== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24756== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==24756== ==24756== Process terminating with default action of signal 11 (SIGSEGV) ==24756== Access not within mapped region at address 0x0 ==24756== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24756== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24756== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24756== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24756== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24756== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24756== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24756== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24756== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24756== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24756== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24756== by 0x8065F8B: main (nginx.c:385) ==24756== If you believe this happened as a result of a stack ==24756== overflow in your program's main thread (unlikely but ==24756== possible), you can try to increase the size of the ==24756== main thread stack using the --main-stacksize= flag. ==24756== The main thread stack size used in this run was 8388608. ==24756== 2,048 bytes in 1 blocks are definitely lost in loss record 3,110 of 3,173 ==24756== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24756== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24756== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24756== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24756== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24756== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==24756== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==24756== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==24756== by 0x40BB16A: trace_state (lj_trace.c:680) ==24756== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24756== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24756== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24756== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24756== by 0x407FA29: lua_resume (lj_api.c:1296) ==24756== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24756== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24756== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24756== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24756== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24756== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24756== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24756== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24756== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24756== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24756== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24756== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24756== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24756== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24756== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24756== by 0x8065F8B: main (nginx.c:385) ==24756== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==24777== Invalid read of size 4 ==24777== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24777== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24777== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24777== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24777== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24777== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24777== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24777== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24777== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24777== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24777== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24777== by 0x8065F8B: main (nginx.c:385) ==24777== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24777== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==24777== ==24777== Process terminating with default action of signal 11 (SIGSEGV) ==24777== Access not within mapped region at address 0x0 ==24777== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24777== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24777== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24777== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24777== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24777== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24777== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24777== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24777== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24777== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24777== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24777== by 0x8065F8B: main (nginx.c:385) ==24777== If you believe this happened as a result of a stack ==24777== overflow in your program's main thread (unlikely but ==24777== possible), you can try to increase the size of the ==24777== main thread stack using the --main-stacksize= flag. ==24777== The main thread stack size used in this run was 8388608. ==24777== 2,048 bytes in 1 blocks are definitely lost in loss record 3,110 of 3,173 ==24777== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24777== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24777== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24777== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24777== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24777== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==24777== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==24777== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==24777== by 0x40BB16A: trace_state (lj_trace.c:680) ==24777== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24777== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24777== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24777== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24777== by 0x407FA29: lua_resume (lj_api.c:1296) ==24777== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24777== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24777== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24777== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24777== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24777== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24777== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24777== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24777== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24777== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24777== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24777== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24777== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24777== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24777== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24777== by 0x8065F8B: main (nginx.c:385) ==24777== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-find.t | TEST 5: nil submatch (1st) |
==24791== Invalid read of size 4 ==24791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24791== by 0x8065F8B: main (nginx.c:385) ==24791== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24791== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 5: nil submatch (1st) |
==24791== ==24791== Process terminating with default action of signal 11 (SIGSEGV) ==24791== Access not within mapped region at address 0x0 ==24791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24791== by 0x8065F8B: main (nginx.c:385) ==24791== If you believe this happened as a result of a stack ==24791== overflow in your program's main thread (unlikely but ==24791== possible), you can try to increase the size of the ==24791== main thread stack using the --main-stacksize= flag. ==24791== The main thread stack size used in this run was 8388608. ==24791== 4,096 bytes in 1 blocks are definitely lost in loss record 3,143 of 3,171 ==24791== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24791== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24791== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24791== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24791== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==24791== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==24791== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24791== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24791== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24791== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24791== by 0x40BB675: trace_state (lj_trace.c:690) ==24791== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24791== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24791== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24791== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24791== by 0x407FA29: lua_resume (lj_api.c:1296) ==24791== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24791== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24791== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24791== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24791== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24791== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24791== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24791== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24791== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24791== by 0x8065F8B: main (nginx.c:385) ==24791== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 5: nil submatch (1st) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 5: nil submatch (1st) |
==24812== Invalid read of size 4 ==24812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24812== by 0x8065F8B: main (nginx.c:385) ==24812== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24812== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 5: nil submatch (1st) |
==24812== ==24812== Process terminating with default action of signal 11 (SIGSEGV) ==24812== Access not within mapped region at address 0x0 ==24812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24812== by 0x8065F8B: main (nginx.c:385) ==24812== If you believe this happened as a result of a stack ==24812== overflow in your program's main thread (unlikely but ==24812== possible), you can try to increase the size of the ==24812== main thread stack using the --main-stacksize= flag. ==24812== The main thread stack size used in this run was 8388608. ==24812== 4,096 bytes in 1 blocks are definitely lost in loss record 3,143 of 3,171 ==24812== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24812== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24812== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24812== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24812== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==24812== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==24812== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24812== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24812== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24812== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24812== by 0x40BB675: trace_state (lj_trace.c:690) ==24812== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24812== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24812== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24812== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24812== by 0x407FA29: lua_resume (lj_api.c:1296) ==24812== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24812== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24812== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24812== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24812== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24812== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24812== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24812== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24812== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24812== by 0x8065F8B: main (nginx.c:385) ==24812== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 5: nil submatch (1st) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 6: specify the group (2) |
==24824== Invalid read of size 4 ==24824== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24824== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24824== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24824== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24824== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24824== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24824== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24824== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24824== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24824== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24824== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24824== by 0x8065F8B: main (nginx.c:385) ==24824== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24824== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 6: specify the group (2) |
==24824== ==24824== Process terminating with default action of signal 11 (SIGSEGV) ==24824== Access not within mapped region at address 0x0 ==24824== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24824== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24824== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24824== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24824== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24824== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24824== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24824== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24824== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24824== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24824== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24824== by 0x8065F8B: main (nginx.c:385) ==24824== If you believe this happened as a result of a stack ==24824== overflow in your program's main thread (unlikely but ==24824== possible), you can try to increase the size of the ==24824== main thread stack using the --main-stacksize= flag. ==24824== The main thread stack size used in this run was 8388608. ==24824== 4,096 bytes in 1 blocks are definitely lost in loss record 3,147 of 3,175 ==24824== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24824== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24824== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24824== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24824== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==24824== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==24824== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24824== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24824== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24824== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24824== by 0x40BB675: trace_state (lj_trace.c:690) ==24824== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24824== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24824== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24824== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24824== by 0x407FA29: lua_resume (lj_api.c:1296) ==24824== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24824== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24824== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24824== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24824== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24824== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24824== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24824== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24824== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24824== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24824== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24824== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24824== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24824== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24824== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24824== by 0x8065F8B: main (nginx.c:385) ==24824== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 6: specify the group (2) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 6: specify the group (2) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 9 -to: 11 -matched: 234 ' |
stream/re-find.t | TEST 6: specify the group (2) |
==24845== Invalid read of size 4 ==24845== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24845== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24845== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24845== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24845== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24845== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24845== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24845== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24845== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24845== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24845== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24845== by 0x8065F8B: main (nginx.c:385) ==24845== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24845== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 6: specify the group (2) |
==24845== ==24845== Process terminating with default action of signal 11 (SIGSEGV) ==24845== Access not within mapped region at address 0x0 ==24845== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24845== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24845== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24845== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24845== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24845== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24845== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24845== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24845== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24845== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24845== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24845== by 0x8065F8B: main (nginx.c:385) ==24845== If you believe this happened as a result of a stack ==24845== overflow in your program's main thread (unlikely but ==24845== possible), you can try to increase the size of the ==24845== main thread stack using the --main-stacksize= flag. ==24845== The main thread stack size used in this run was 8388608. ==24845== 4,096 bytes in 1 blocks are definitely lost in loss record 3,147 of 3,175 ==24845== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24845== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24845== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24845== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24845== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==24845== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==24845== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24845== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24845== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24845== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24845== by 0x40BB675: trace_state (lj_trace.c:690) ==24845== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24845== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24845== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24845== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24845== by 0x407FA29: lua_resume (lj_api.c:1296) ==24845== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24845== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24845== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24845== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24845== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24845== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24845== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24845== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24845== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24845== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24845== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24845== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24845== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24845== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24845== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24845== by 0x8065F8B: main (nginx.c:385) ==24845== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-find.t | TEST 6: specify the group (2) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 6: specify the group (2) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 9 -to: 11 -matched: 234 ' |
stream/re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24855== Invalid read of size 4 ==24855== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24855== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24855== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24855== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24855== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24855== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24855== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24855== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24855== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24855== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24855== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24855== by 0x8065F8B: main (nginx.c:385) ==24855== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24855== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24855== ==24855== Process terminating with default action of signal 11 (SIGSEGV) ==24855== Access not within mapped region at address 0x0 ==24855== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24855== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24855== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24855== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24855== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24855== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24855== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24855== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24855== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24855== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24855== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24855== by 0x8065F8B: main (nginx.c:385) ==24855== If you believe this happened as a result of a stack ==24855== overflow in your program's main thread (unlikely but ==24855== possible), you can try to increase the size of the ==24855== main thread stack using the --main-stacksize= flag. ==24855== The main thread stack size used in this run was 8388608. ==24855== 1,024 bytes in 1 blocks are definitely lost in loss record 3,056 of 3,170 ==24855== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24855== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24855== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24855== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24855== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24855== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24855== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24855== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24855== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24855== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24855== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24855== by 0x40BB675: trace_state (lj_trace.c:690) ==24855== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24855== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24855== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24855== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24855== by 0x407FA29: lua_resume (lj_api.c:1296) ==24855== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24855== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24855== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24855== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24855== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24855== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24855== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24855== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24855== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24855== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24855== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24855== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24855== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24855== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24855== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==24855== by 0x8065F8B: main (nginx.c:385) ==24855== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 11: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 11: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -12 -345 ' |
stream/re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24856== Invalid read of size 4 ==24856== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24856== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24856== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24856== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24856== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24856== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24856== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24856== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24856== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24856== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24856== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24856== by 0x8065F8B: main (nginx.c:385) ==24856== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24856== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24856== ==24856== Process terminating with default action of signal 11 (SIGSEGV) ==24856== Access not within mapped region at address 0x0 ==24856== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24856== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24856== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24856== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24856== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24856== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24856== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24856== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24856== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24856== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24856== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24856== by 0x8065F8B: main (nginx.c:385) ==24856== If you believe this happened as a result of a stack ==24856== overflow in your program's main thread (unlikely but ==24856== possible), you can try to increase the size of the ==24856== main thread stack using the --main-stacksize= flag. ==24856== The main thread stack size used in this run was 8388608. ==24856== 1,024 bytes in 1 blocks are definitely lost in loss record 3,056 of 3,170 ==24856== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24856== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24856== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24856== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24856== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24856== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24856== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24856== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24856== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24856== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24856== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24856== by 0x40BB675: trace_state (lj_trace.c:690) ==24856== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24856== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24856== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24856== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24856== by 0x407FA29: lua_resume (lj_api.c:1296) ==24856== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24856== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24856== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24856== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24856== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24856== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24856== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24856== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24856== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24856== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24856== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24856== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24856== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24856== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24856== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24856== by 0x8065F8B: main (nginx.c:385) ==24856== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 11: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 11: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -12 -345 ' |
stream/re-gmatch.t | TEST 7: named submatches |
==24868== Invalid read of size 4 ==24868== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24868== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24868== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24868== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24868== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24868== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24868== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24868== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24868== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24868== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24868== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24868== by 0x8065F8B: main (nginx.c:385) ==24868== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 7: named submatches |
==24868== ==24868== Process terminating with default action of signal 11 (SIGSEGV) ==24868== Access not within mapped region at address 0x0 ==24868== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24868== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24868== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24868== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24868== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24868== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24868== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24868== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24868== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24868== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24868== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24868== by 0x8065F8B: main (nginx.c:385) ==24868== If you believe this happened as a result of a stack ==24868== overflow in your program's main thread (unlikely but ==24868== possible), you can try to increase the size of the ==24868== main thread stack using the --main-stacksize= flag. ==24868== The main thread stack size used in this run was 8388608. ==24868== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,193 ==24868== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24868== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24868== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24868== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24868== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24868== by 0x408A511: ir_nextk (lj_ir.c:175) ==24868== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==24868== by 0x409BD2D: rec_idx_key (lj_record.c:1376) ==24868== by 0x409BD2D: lj_record_idx (lj_record.c:1455) ==24868== by 0x409F552: lj_record_ins (lj_record.c:2339) ==24868== by 0x40BB16A: trace_state (lj_trace.c:680) ==24868== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24868== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24868== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24868== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24868== by 0x407FA29: lua_resume (lj_api.c:1296) ==24868== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24868== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24868== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24868== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24868== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24868== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24868== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24868== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24868== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24868== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24868== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24868== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24868== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24868== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24868== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24868== by 0x8065F8B: main (nginx.c:385) ==24868== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 7: named submatches - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 7: named submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,10 +0,0 @@ -matched: hello -$1: h -$2: ello -$first: h -$second: nil -matched: world -$1: w -$2: orld -$first: w -$second: nil ' |
stream/re-gmatch.t | TEST 7: named submatches |
==24889== Invalid read of size 4 ==24889== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24889== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24889== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24889== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24889== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24889== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24889== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24889== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24889== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24889== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24889== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24889== by 0x8065F8B: main (nginx.c:385) ==24889== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24889== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 7: named submatches |
==24889== ==24889== Process terminating with default action of signal 11 (SIGSEGV) ==24889== Access not within mapped region at address 0x0 ==24889== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24889== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24889== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24889== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24889== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24889== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24889== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24889== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24889== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24889== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24889== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24889== by 0x8065F8B: main (nginx.c:385) ==24889== If you believe this happened as a result of a stack ==24889== overflow in your program's main thread (unlikely but ==24889== possible), you can try to increase the size of the ==24889== main thread stack using the --main-stacksize= flag. ==24889== The main thread stack size used in this run was 8388608. ==24889== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,193 ==24889== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24889== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24889== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24889== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24889== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==24889== by 0x408A511: ir_nextk (lj_ir.c:175) ==24889== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==24889== by 0x409BD2D: rec_idx_key (lj_record.c:1376) ==24889== by 0x409BD2D: lj_record_idx (lj_record.c:1455) ==24889== by 0x409F552: lj_record_ins (lj_record.c:2339) ==24889== by 0x40BB16A: trace_state (lj_trace.c:680) ==24889== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24889== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24889== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24889== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24889== by 0x407FA29: lua_resume (lj_api.c:1296) ==24889== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24889== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24889== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24889== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24889== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24889== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24889== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24889== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24889== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24889== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24889== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24889== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24889== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24889== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24889== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24889== by 0x8065F8B: main (nginx.c:385) ==24889== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 7: named submatches - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 7: named submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +0,0 @@ -matched: hello -$1: h -$2: ello -$first: h -$second: nil -matched: world -$1: w -$2: orld -$first: w -$second: nil ' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false |
==24901== Invalid read of size 4 ==24901== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24901== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24901== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24901== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24901== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24901== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24901== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24901== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24901== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24901== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24901== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24901== by 0x8065F8B: main (nginx.c:385) ==24901== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24901== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false |
==24901== ==24901== Process terminating with default action of signal 11 (SIGSEGV) ==24901== Access not within mapped region at address 0x0 ==24901== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24901== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24901== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24901== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24901== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24901== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24901== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24901== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24901== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24901== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24901== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24901== by 0x8065F8B: main (nginx.c:385) ==24901== If you believe this happened as a result of a stack ==24901== overflow in your program's main thread (unlikely but ==24901== possible), you can try to increase the size of the ==24901== main thread stack using the --main-stacksize= flag. ==24901== The main thread stack size used in this run was 8388608. ==24901== 1,024 bytes in 1 blocks are definitely lost in loss record 3,065 of 3,181 ==24901== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24901== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24901== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24901== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24901== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24901== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24901== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24901== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24901== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24901== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24901== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24901== by 0x40BB675: trace_state (lj_trace.c:690) ==24901== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24901== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24901== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24901== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24901== by 0x407FA29: lua_resume (lj_api.c:1296) ==24901== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24901== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24901== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24901== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24901== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24901== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24901== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24901== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24901== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24901== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24901== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24901== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24901== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24901== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24901== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24901== by 0x8065F8B: main (nginx.c:385) ==24901== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false |
==24922== Invalid read of size 4 ==24922== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24922== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24922== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24922== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24922== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24922== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24922== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24922== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24922== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24922== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24922== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24922== by 0x8065F8B: main (nginx.c:385) ==24922== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24922== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false |
==24922== ==24922== Process terminating with default action of signal 11 (SIGSEGV) ==24922== Access not within mapped region at address 0x0 ==24922== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24922== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24922== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24922== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24922== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24922== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24922== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24922== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24922== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24922== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24922== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24922== by 0x8065F8B: main (nginx.c:385) ==24922== If you believe this happened as a result of a stack ==24922== overflow in your program's main thread (unlikely but ==24922== possible), you can try to increase the size of the ==24922== main thread stack using the --main-stacksize= flag. ==24922== The main thread stack size used in this run was 8388608. ==24922== 1,024 bytes in 1 blocks are definitely lost in loss record 3,065 of 3,181 ==24922== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24922== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24922== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24922== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24922== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24922== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24922== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24922== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24922== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24922== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24922== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24922== by 0x40BB675: trace_state (lj_trace.c:690) ==24922== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24922== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24922== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24922== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24922== by 0x407FA29: lua_resume (lj_api.c:1296) ==24922== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24922== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24922== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24922== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24922== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24922== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24922== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24922== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24922== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24922== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24922== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24922== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24922== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24922== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24922== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24922== by 0x8065F8B: main (nginx.c:385) ==24922== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false |
==24934== Invalid read of size 4 ==24934== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24934== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24934== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24934== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24934== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24934== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24934== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24934== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24934== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24934== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24934== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24934== by 0x8065F8B: main (nginx.c:385) ==24934== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24934== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 10: unmatched named captures are false |
==24934== ==24934== Process terminating with default action of signal 11 (SIGSEGV) ==24934== Access not within mapped region at address 0x0 ==24934== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24934== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24934== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24934== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24934== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24934== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24934== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24934== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24934== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24934== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24934== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24934== by 0x8065F8B: main (nginx.c:385) ==24934== If you believe this happened as a result of a stack ==24934== overflow in your program's main thread (unlikely but ==24934== possible), you can try to increase the size of the ==24934== main thread stack using the --main-stacksize= flag. ==24934== The main thread stack size used in this run was 8388608. ==24934== 1,024 bytes in 1 blocks are definitely lost in loss record 3,049 of 3,165 ==24934== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24934== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24934== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24934== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24934== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24934== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24934== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24934== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24934== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24934== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24934== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24934== by 0x40BB675: trace_state (lj_trace.c:690) ==24934== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24934== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24934== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24934== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24934== by 0x407FA29: lua_resume (lj_api.c:1296) ==24934== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24934== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24934== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24934== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24934== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24934== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24934== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24934== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24934== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24934== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24934== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24934== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24934== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24934== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24934== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24934== by 0x8065F8B: main (nginx.c:385) ==24934== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,14 +0,0 @@ -hello! -hello -false -! -hello -false -! -world! -world -false -! -world -false -! ' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false |
==24957== Invalid read of size 4 ==24957== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24957== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24957== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24957== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24957== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24957== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24957== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24957== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24957== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24957== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24957== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24957== by 0x8065F8B: main (nginx.c:385) ==24957== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24957== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 10: unmatched named captures are false |
==24957== ==24957== Process terminating with default action of signal 11 (SIGSEGV) ==24957== Access not within mapped region at address 0x0 ==24957== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24957== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24957== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24957== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24957== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24957== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24957== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24957== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24957== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24957== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24957== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24957== by 0x8065F8B: main (nginx.c:385) ==24957== If you believe this happened as a result of a stack ==24957== overflow in your program's main thread (unlikely but ==24957== possible), you can try to increase the size of the ==24957== main thread stack using the --main-stacksize= flag. ==24957== The main thread stack size used in this run was 8388608. ==24957== 1,024 bytes in 1 blocks are definitely lost in loss record 3,051 of 3,168 ==24957== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24957== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24957== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24957== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24957== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24957== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24957== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24957== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24957== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24957== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24957== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24957== by 0x40BB675: trace_state (lj_trace.c:690) ==24957== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24957== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24957== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24957== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24957== by 0x407FA29: lua_resume (lj_api.c:1296) ==24957== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24957== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24957== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24957== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24957== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24957== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24957== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24957== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24957== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24957== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24957== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24957== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24957== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24957== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24957== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24957== by 0x8065F8B: main (nginx.c:385) ==24957== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,14 +0,0 @@ -hello! -hello -false -! -hello -false -! -world! -world -false -! -world -false -! ' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate |
==24969== Invalid read of size 4 ==24969== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24969== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24969== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24969== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24969== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24969== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24969== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24969== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24969== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24969== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24969== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24969== by 0x8065F8B: main (nginx.c:385) ==24969== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24969== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate |
==24969== ==24969== Process terminating with default action of signal 11 (SIGSEGV) ==24969== Access not within mapped region at address 0x0 ==24969== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24969== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24969== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24969== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24969== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24969== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24969== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24969== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24969== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24969== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24969== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24969== by 0x8065F8B: main (nginx.c:385) ==24969== If you believe this happened as a result of a stack ==24969== overflow in your program's main thread (unlikely but ==24969== possible), you can try to increase the size of the ==24969== main thread stack using the --main-stacksize= flag. ==24969== The main thread stack size used in this run was 8388608. ==24969== 1,024 bytes in 1 blocks are definitely lost in loss record 3,042 of 3,158 ==24969== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24969== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24969== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24969== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24969== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24969== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24969== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24969== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24969== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24969== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24969== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24969== by 0x40BB675: trace_state (lj_trace.c:690) ==24969== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24969== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24969== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24969== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24969== by 0x407FA29: lua_resume (lj_api.c:1296) ==24969== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24969== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24969== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24969== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24969== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24969== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24969== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24969== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24969== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24969== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24969== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24969== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24969== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24969== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24969== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24969== by 0x8065F8B: main (nginx.c:385) ==24969== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched iter1 (1/2): 9 -matched iter2 (1/2): 1 -matched iter1 (2/2): 8 -matched iter2 (2/2): 2 ' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate |
==24990== Invalid read of size 4 ==24990== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24990== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24990== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24990== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24990== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24990== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24990== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24990== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24990== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24990== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24990== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24990== by 0x8065F8B: main (nginx.c:385) ==24990== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate |
==24990== ==24990== Process terminating with default action of signal 11 (SIGSEGV) ==24990== Access not within mapped region at address 0x0 ==24990== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24990== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24990== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24990== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24990== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24990== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24990== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24990== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24990== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24990== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24990== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24990== by 0x8065F8B: main (nginx.c:385) ==24990== If you believe this happened as a result of a stack ==24990== overflow in your program's main thread (unlikely but ==24990== possible), you can try to increase the size of the ==24990== main thread stack using the --main-stacksize= flag. ==24990== The main thread stack size used in this run was 8388608. ==24990== 1,024 bytes in 1 blocks are definitely lost in loss record 3,042 of 3,158 ==24990== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24990== by 0x40CC146: mem_alloc (lib_aux.c:335) ==24990== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==24990== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==24990== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==24990== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==24990== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24990== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==24990== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==24990== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24990== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==24990== by 0x40BB675: trace_state (lj_trace.c:690) ==24990== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24990== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==24990== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==24990== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24990== by 0x407FA29: lua_resume (lj_api.c:1296) ==24990== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24990== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24990== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24990== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24990== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24990== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24990== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24990== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24990== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24990== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==24990== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==24990== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24990== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24990== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==24990== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==24990== by 0x8065F8B: main (nginx.c:385) ==24990== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched iter1 (1/2): 9 -matched iter2 (1/2): 1 -matched iter1 (2/2): 8 -matched iter2 (2/2): 2 ' |
stream/re-gmatch.t | TEST 8: unmatched captures are false |
==25002== Invalid read of size 4 ==25002== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25002== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25002== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25002== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25002== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25002== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25002== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25002== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25002== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25002== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25002== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25002== by 0x8065F8B: main (nginx.c:385) ==25002== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25002== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 8: unmatched captures are false |
==25002== ==25002== Process terminating with default action of signal 11 (SIGSEGV) ==25002== Access not within mapped region at address 0x0 ==25002== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25002== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25002== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25002== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25002== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25002== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25002== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25002== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25002== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25002== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25002== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25002== by 0x8065F8B: main (nginx.c:385) ==25002== If you believe this happened as a result of a stack ==25002== overflow in your program's main thread (unlikely but ==25002== possible), you can try to increase the size of the ==25002== main thread stack using the --main-stacksize= flag. ==25002== The main thread stack size used in this run was 8388608. ==25002== 1,024 bytes in 1 blocks are definitely lost in loss record 3,048 of 3,162 ==25002== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25002== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25002== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25002== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25002== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25002== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25002== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25002== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25002== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25002== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25002== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25002== by 0x40BB675: trace_state (lj_trace.c:690) ==25002== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25002== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25002== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25002== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25002== by 0x407FA29: lua_resume (lj_api.c:1296) ==25002== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25002== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25002== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25002== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25002== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25002== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25002== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25002== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25002== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25002== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25002== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25002== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25002== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25002== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25002== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25002== by 0x8065F8B: main (nginx.c:385) ==25002== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 8: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -hello! -hello -false -! -world! -world -false -! ' |
stream/re-gmatch.t | TEST 8: unmatched captures are false |
==25023== Invalid read of size 4 ==25023== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25023== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25023== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25023== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25023== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25023== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25023== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25023== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25023== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25023== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25023== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25023== by 0x8065F8B: main (nginx.c:385) ==25023== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25023== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 8: unmatched captures are false |
==25023== ==25023== Process terminating with default action of signal 11 (SIGSEGV) ==25023== Access not within mapped region at address 0x0 ==25023== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25023== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25023== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25023== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25023== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25023== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25023== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25023== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25023== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25023== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25023== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25023== by 0x8065F8B: main (nginx.c:385) ==25023== If you believe this happened as a result of a stack ==25023== overflow in your program's main thread (unlikely but ==25023== possible), you can try to increase the size of the ==25023== main thread stack using the --main-stacksize= flag. ==25023== The main thread stack size used in this run was 8388608. ==25023== 1,024 bytes in 1 blocks are definitely lost in loss record 3,048 of 3,162 ==25023== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25023== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25023== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25023== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25023== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25023== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25023== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25023== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25023== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25023== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25023== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25023== by 0x40BB675: trace_state (lj_trace.c:690) ==25023== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25023== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25023== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25023== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25023== by 0x407FA29: lua_resume (lj_api.c:1296) ==25023== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25023== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25023== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25023== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25023== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25023== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25023== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25023== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25023== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25023== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25023== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25023== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25023== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25023== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25023== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25023== by 0x8065F8B: main (nginx.c:385) ==25023== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 8: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -hello! -hello -false -! -world! -world -false -! ' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25035== Invalid read of size 4 ==25035== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25035== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25035== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25035== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25035== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25035== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25035== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25035== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25035== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25035== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25035== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25035== by 0x8065F8B: main (nginx.c:385) ==25035== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25035== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25035== ==25035== Process terminating with default action of signal 11 (SIGSEGV) ==25035== Access not within mapped region at address 0x0 ==25035== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25035== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25035== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25035== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25035== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25035== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25035== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25035== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25035== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25035== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25035== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25035== by 0x8065F8B: main (nginx.c:385) ==25035== If you believe this happened as a result of a stack ==25035== overflow in your program's main thread (unlikely but ==25035== possible), you can try to increase the size of the ==25035== main thread stack using the --main-stacksize= flag. ==25035== The main thread stack size used in this run was 8388608. ==25035== 2,048 bytes in 1 blocks are definitely lost in loss record 3,092 of 3,157 ==25035== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25035== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25035== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25035== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25035== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25035== by 0x408AAB5: ir_nextk (lj_ir.c:175) ==25035== by 0x408AAB5: lj_ir_knull (lj_ir.c:347) ==25035== by 0x408C5C6: lj_opt_fwd_fload (lj_opt_mem.c:597) ==25035== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25035== by 0x409C603: lj_record_mm_lookup (lj_record.c:976) ==25035== by 0x409B7DA: lj_record_idx (lj_record.c:1497) ==25035== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25035== by 0x40BB16A: trace_state (lj_trace.c:680) ==25035== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25035== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25035== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25035== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25035== by 0x407FA29: lua_resume (lj_api.c:1296) ==25035== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25035== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25035== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25035== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25035== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25035== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25035== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25035== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25035== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25035== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25035== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25035== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25035== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25035== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25035== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25035== by 0x8065F8B: main (nginx.c:385) ==25035== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_knull fun:lj_opt_fwd_fload fun:lj_opt_fold fun:lj_record_mm_lookup fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25056== Invalid read of size 4 ==25056== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25056== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25056== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25056== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25056== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25056== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25056== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25056== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25056== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25056== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25056== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25056== by 0x8065F8B: main (nginx.c:385) ==25056== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25056== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25056== ==25056== Process terminating with default action of signal 11 (SIGSEGV) ==25056== Access not within mapped region at address 0x0 ==25056== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25056== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25056== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25056== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25056== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25056== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25056== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25056== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25056== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25056== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25056== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25056== by 0x8065F8B: main (nginx.c:385) ==25056== If you believe this happened as a result of a stack ==25056== overflow in your program's main thread (unlikely but ==25056== possible), you can try to increase the size of the ==25056== main thread stack using the --main-stacksize= flag. ==25056== The main thread stack size used in this run was 8388608. ==25056== 2,048 bytes in 1 blocks are definitely lost in loss record 3,092 of 3,157 ==25056== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25056== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25056== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25056== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25056== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25056== by 0x408AAB5: ir_nextk (lj_ir.c:175) ==25056== by 0x408AAB5: lj_ir_knull (lj_ir.c:347) ==25056== by 0x408C5C6: lj_opt_fwd_fload (lj_opt_mem.c:597) ==25056== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25056== by 0x409C603: lj_record_mm_lookup (lj_record.c:976) ==25056== by 0x409B7DA: lj_record_idx (lj_record.c:1497) ==25056== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25056== by 0x40BB16A: trace_state (lj_trace.c:680) ==25056== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25056== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25056== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25056== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25056== by 0x407FA29: lua_resume (lj_api.c:1296) ==25056== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25056== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25056== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25056== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25056== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25056== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25056== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25056== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25056== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25056== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25056== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25056== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25056== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25056== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25056== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25056== by 0x8065F8B: main (nginx.c:385) ==25056== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_knull fun:lj_opt_fwd_fload fun:lj_opt_fold fun:lj_record_mm_lookup fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache |
==25068== Invalid read of size 4 ==25068== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25068== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25068== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25068== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25068== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25068== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25068== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25068== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25068== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25068== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25068== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25068== by 0x8065F8B: main (nginx.c:385) ==25068== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25068== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache |
==25068== ==25068== Process terminating with default action of signal 11 (SIGSEGV) ==25068== Access not within mapped region at address 0x0 ==25068== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25068== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25068== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25068== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25068== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25068== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25068== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25068== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25068== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25068== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25068== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25068== by 0x8065F8B: main (nginx.c:385) ==25068== If you believe this happened as a result of a stack ==25068== overflow in your program's main thread (unlikely but ==25068== possible), you can try to increase the size of the ==25068== main thread stack using the --main-stacksize= flag. ==25068== The main thread stack size used in this run was 8388608. ==25068== 2,048 bytes in 1 blocks are definitely lost in loss record 3,115 of 3,192 ==25068== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25068== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25068== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25068== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25068== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25068== by 0x408A511: ir_nextk (lj_ir.c:175) ==25068== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25068== by 0x40A3789: crec_tv_ct (lj_crecord.c:595) ==25068== by 0x40A60EB: recff_cdata_index (lj_crecord.c:932) ==25068== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25068== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25068== by 0x40BB16A: trace_state (lj_trace.c:680) ==25068== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25068== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25068== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25068== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25068== by 0x407FA29: lua_resume (lj_api.c:1296) ==25068== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25068== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25068== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25068== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25068== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25068== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25068== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25068== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25068== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25068== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25068== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25068== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25068== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25068== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25068== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25068== by 0x8065F8B: main (nginx.c:385) ==25068== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_tv_ct fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache |
==25089== Invalid read of size 4 ==25089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25089== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25089== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25089== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25089== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25089== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25089== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25089== by 0x8065F8B: main (nginx.c:385) ==25089== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25089== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache |
==25089== ==25089== Process terminating with default action of signal 11 (SIGSEGV) ==25089== Access not within mapped region at address 0x0 ==25089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25089== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25089== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25089== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25089== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25089== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25089== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25089== by 0x8065F8B: main (nginx.c:385) ==25089== If you believe this happened as a result of a stack ==25089== overflow in your program's main thread (unlikely but ==25089== possible), you can try to increase the size of the ==25089== main thread stack using the --main-stacksize= flag. ==25089== The main thread stack size used in this run was 8388608. ==25089== 2,048 bytes in 1 blocks are definitely lost in loss record 3,115 of 3,192 ==25089== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25089== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25089== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25089== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25089== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25089== by 0x408A511: ir_nextk (lj_ir.c:175) ==25089== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25089== by 0x40A3789: crec_tv_ct (lj_crecord.c:595) ==25089== by 0x40A60EB: recff_cdata_index (lj_crecord.c:932) ==25089== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25089== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25089== by 0x40BB16A: trace_state (lj_trace.c:680) ==25089== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25089== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25089== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25089== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25089== by 0x407FA29: lua_resume (lj_api.c:1296) ==25089== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25089== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25089== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25089== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25089== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25089== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25089== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25089== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25089== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25089== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25089== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25089== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25089== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25089== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25089== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25089== by 0x8065F8B: main (nginx.c:385) ==25089== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_tv_ct fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25101== Invalid read of size 4 ==25101== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25101== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25101== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25101== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25101== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25101== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25101== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25101== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25101== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25101== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25101== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25101== by 0x8065F8B: main (nginx.c:385) ==25101== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25101== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25101== ==25101== Process terminating with default action of signal 11 (SIGSEGV) ==25101== Access not within mapped region at address 0x0 ==25101== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25101== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25101== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25101== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25101== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25101== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25101== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25101== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25101== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25101== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25101== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25101== by 0x8065F8B: main (nginx.c:385) ==25101== If you believe this happened as a result of a stack ==25101== overflow in your program's main thread (unlikely but ==25101== possible), you can try to increase the size of the ==25101== main thread stack using the --main-stacksize= flag. ==25101== The main thread stack size used in this run was 8388608. ==25101== 4,096 bytes in 1 blocks are definitely lost in loss record 3,144 of 3,172 ==25101== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25101== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25101== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25101== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25101== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==25101== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==25101== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25101== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25101== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25101== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25101== by 0x40BB675: trace_state (lj_trace.c:690) ==25101== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25101== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25101== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25101== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25101== by 0x407FA29: lua_resume (lj_api.c:1296) ==25101== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25101== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25101== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25101== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25101== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25101== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25101== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25101== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25101== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25101== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25101== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25101== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25101== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25101== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25101== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25101== by 0x8065F8B: main (nginx.c:385) ==25101== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25124== Invalid read of size 4 ==25124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25124== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25124== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25124== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25124== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25124== by 0x8065F8B: main (nginx.c:385) ==25124== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25124== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25124== ==25124== Process terminating with default action of signal 11 (SIGSEGV) ==25124== Access not within mapped region at address 0x0 ==25124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25124== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25124== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25124== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25124== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25124== by 0x8065F8B: main (nginx.c:385) ==25124== If you believe this happened as a result of a stack ==25124== overflow in your program's main thread (unlikely but ==25124== possible), you can try to increase the size of the ==25124== main thread stack using the --main-stacksize= flag. ==25124== The main thread stack size used in this run was 8388608. ==25124== 4,096 bytes in 1 blocks are definitely lost in loss record 3,144 of 3,172 ==25124== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25124== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25124== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25124== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25124== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==25124== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==25124== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25124== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25124== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25124== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25124== by 0x40BB675: trace_state (lj_trace.c:690) ==25124== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25124== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25124== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25124== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25124== by 0x407FA29: lua_resume (lj_api.c:1296) ==25124== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25124== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25124== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25124== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25124== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25124== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25124== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25124== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25124== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25124== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25124== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25124== by 0x8065F8B: main (nginx.c:385) ==25124== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil |
==25136== Invalid read of size 4 ==25136== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25136== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25136== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25136== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25136== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25136== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25136== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25136== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25136== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25136== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25136== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25136== by 0x8065F8B: main (nginx.c:385) ==25136== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25136== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil |
==25136== ==25136== Process terminating with default action of signal 11 (SIGSEGV) ==25136== Access not within mapped region at address 0x0 ==25136== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25136== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25136== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25136== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25136== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25136== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25136== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25136== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25136== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25136== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25136== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25136== by 0x8065F8B: main (nginx.c:385) ==25136== If you believe this happened as a result of a stack ==25136== overflow in your program's main thread (unlikely but ==25136== possible), you can try to increase the size of the ==25136== main thread stack using the --main-stacksize= flag. ==25136== The main thread stack size used in this run was 8388608. ==25136== 1,024 bytes in 1 blocks are definitely lost in loss record 3,031 of 3,147 ==25136== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25136== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25136== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25136== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25136== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25136== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25136== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25136== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25136== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25136== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25136== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25136== by 0x40BB675: trace_state (lj_trace.c:690) ==25136== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25136== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25136== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25136== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25136== by 0x407FA29: lua_resume (lj_api.c:1296) ==25136== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25136== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25136== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25136== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25136== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25136== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25136== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25136== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25136== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25136== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25136== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25136== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25136== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25136== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25136== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25136== by 0x8065F8B: main (nginx.c:385) ==25136== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -matched: hello -matched: nil -matched: nil ' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil |
==25157== Invalid read of size 4 ==25157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25157== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25157== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25157== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25157== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25157== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25157== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25157== by 0x8065F8B: main (nginx.c:385) ==25157== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25157== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil |
==25157== ==25157== Process terminating with default action of signal 11 (SIGSEGV) ==25157== Access not within mapped region at address 0x0 ==25157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25157== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25157== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25157== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25157== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25157== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25157== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25157== by 0x8065F8B: main (nginx.c:385) ==25157== If you believe this happened as a result of a stack ==25157== overflow in your program's main thread (unlikely but ==25157== possible), you can try to increase the size of the ==25157== main thread stack using the --main-stacksize= flag. ==25157== The main thread stack size used in this run was 8388608. ==25157== 1,024 bytes in 1 blocks are definitely lost in loss record 3,031 of 3,147 ==25157== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25157== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25157== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25157== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25157== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25157== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25157== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25157== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25157== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25157== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25157== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25157== by 0x40BB675: trace_state (lj_trace.c:690) ==25157== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25157== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25157== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25157== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25157== by 0x407FA29: lua_resume (lj_api.c:1296) ==25157== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25157== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25157== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25157== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25157== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25157== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25157== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25157== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25157== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25157== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25157== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25157== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25157== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25157== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25157== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25157== by 0x8065F8B: main (nginx.c:385) ==25157== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -matched: hello -matched: nil -matched: nil ' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25169== Invalid read of size 4 ==25169== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25169== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25169== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25169== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25169== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25169== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25169== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25169== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25169== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25169== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25169== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25169== by 0x8065F8B: main (nginx.c:385) ==25169== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25169== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25169== ==25169== Process terminating with default action of signal 11 (SIGSEGV) ==25169== Access not within mapped region at address 0x0 ==25169== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25169== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25169== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25169== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25169== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25169== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25169== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25169== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25169== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25169== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25169== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25169== by 0x8065F8B: main (nginx.c:385) ==25169== If you believe this happened as a result of a stack ==25169== overflow in your program's main thread (unlikely but ==25169== possible), you can try to increase the size of the ==25169== main thread stack using the --main-stacksize= flag. ==25169== The main thread stack size used in this run was 8388608. ==25169== 4,096 bytes in 1 blocks are definitely lost in loss record 3,178 of 3,213 ==25169== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25169== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25169== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25169== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25169== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25169== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25169== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25169== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25169== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25169== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25169== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25169== by 0x40BB675: trace_state (lj_trace.c:690) ==25169== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25169== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25169== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25169== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25169== by 0x407FA29: lua_resume (lj_api.c:1296) ==25169== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25169== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25169== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25169== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25169== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25169== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25169== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25169== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25169== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25169== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25169== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25169== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25169== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25169== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25169== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25169== by 0x8065F8B: main (nginx.c:385) ==25169== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25190== Invalid read of size 4 ==25190== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25190== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25190== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25190== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25190== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25190== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25190== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25190== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25190== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25190== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25190== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25190== by 0x8065F8B: main (nginx.c:385) ==25190== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25190== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25190== ==25190== Process terminating with default action of signal 11 (SIGSEGV) ==25190== Access not within mapped region at address 0x0 ==25190== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25190== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25190== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25190== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25190== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25190== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25190== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25190== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25190== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25190== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25190== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25190== by 0x8065F8B: main (nginx.c:385) ==25190== If you believe this happened as a result of a stack ==25190== overflow in your program's main thread (unlikely but ==25190== possible), you can try to increase the size of the ==25190== main thread stack using the --main-stacksize= flag. ==25190== The main thread stack size used in this run was 8388608. ==25190== 4,096 bytes in 1 blocks are definitely lost in loss record 3,178 of 3,213 ==25190== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25190== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25190== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25190== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25190== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25190== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25190== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25190== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25190== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25190== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25190== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25190== by 0x40BB675: trace_state (lj_trace.c:690) ==25190== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25190== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25190== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25190== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25190== by 0x407FA29: lua_resume (lj_api.c:1296) ==25190== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25190== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25190== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25190== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25190== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25190== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25190== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25190== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25190== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25190== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25190== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25190== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25190== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25190== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25190== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25190== by 0x8065F8B: main (nginx.c:385) ==25190== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25202== Invalid read of size 4 ==25202== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25202== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25202== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25202== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25202== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25202== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25202== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25202== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25202== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25202== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25202== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25202== by 0x8065F8B: main (nginx.c:385) ==25202== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25202== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25202== ==25202== Process terminating with default action of signal 11 (SIGSEGV) ==25202== Access not within mapped region at address 0x0 ==25202== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25202== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25202== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25202== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25202== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25202== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25202== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25202== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25202== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25202== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25202== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25202== by 0x8065F8B: main (nginx.c:385) ==25202== If you believe this happened as a result of a stack ==25202== overflow in your program's main thread (unlikely but ==25202== possible), you can try to increase the size of the ==25202== main thread stack using the --main-stacksize= flag. ==25202== The main thread stack size used in this run was 8388608. ==25202== 4,096 bytes in 1 blocks are definitely lost in loss record 3,157 of 3,190 ==25202== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25202== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25202== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25202== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25202== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==25202== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==25202== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==25202== by 0x40A7386: crec_call (lj_crecord.c:1231) ==25202== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==25202== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25202== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25202== by 0x40BB16A: trace_state (lj_trace.c:680) ==25202== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25202== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25202== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25202== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25202== by 0x407FA29: lua_resume (lj_api.c:1296) ==25202== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25202== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25202== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25202== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25202== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25202== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25202== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25202== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25202== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25202== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25202== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25202== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25202== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25202== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25202== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25202== by 0x8065F8B: main (nginx.c:385) ==25202== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25223== Invalid read of size 4 ==25223== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25223== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25223== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25223== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25223== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25223== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25223== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25223== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25223== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25223== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25223== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25223== by 0x8065F8B: main (nginx.c:385) ==25223== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25223== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25223== ==25223== Process terminating with default action of signal 11 (SIGSEGV) ==25223== Access not within mapped region at address 0x0 ==25223== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25223== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25223== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25223== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25223== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25223== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25223== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25223== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25223== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25223== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25223== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25223== by 0x8065F8B: main (nginx.c:385) ==25223== If you believe this happened as a result of a stack ==25223== overflow in your program's main thread (unlikely but ==25223== possible), you can try to increase the size of the ==25223== main thread stack using the --main-stacksize= flag. ==25223== The main thread stack size used in this run was 8388608. ==25223== 4,096 bytes in 1 blocks are definitely lost in loss record 3,157 of 3,190 ==25223== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25223== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25223== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25223== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25223== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==25223== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==25223== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==25223== by 0x40A7386: crec_call (lj_crecord.c:1231) ==25223== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==25223== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25223== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25223== by 0x40BB16A: trace_state (lj_trace.c:680) ==25223== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25223== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25223== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25223== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25223== by 0x407FA29: lua_resume (lj_api.c:1296) ==25223== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25223== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25223== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25223== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25223== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25223== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25223== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25223== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25223== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25223== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25223== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25223== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25223== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25223== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25223== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25223== by 0x8065F8B: main (nginx.c:385) ==25223== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) |
==25235== Invalid read of size 4 ==25235== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25235== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25235== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25235== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25235== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25235== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25235== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25235== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25235== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25235== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25235== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25235== by 0x8065F8B: main (nginx.c:385) ==25235== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25235== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) |
==25235== ==25235== Process terminating with default action of signal 11 (SIGSEGV) ==25235== Access not within mapped region at address 0x0 ==25235== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25235== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25235== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25235== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25235== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25235== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25235== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25235== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25235== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25235== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25235== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25235== by 0x8065F8B: main (nginx.c:385) ==25235== If you believe this happened as a result of a stack ==25235== overflow in your program's main thread (unlikely but ==25235== possible), you can try to increase the size of the ==25235== main thread stack using the --main-stacksize= flag. ==25235== The main thread stack size used in this run was 8388608. ==25235== 1,024 bytes in 1 blocks are definitely lost in loss record 3,046 of 3,162 ==25235== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25235== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25235== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25235== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25235== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25235== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25235== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25235== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25235== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25235== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25235== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25235== by 0x40BB675: trace_state (lj_trace.c:690) ==25235== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25235== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25235== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25235== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25235== by 0x407FA29: lua_resume (lj_api.c:1296) ==25235== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25235== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25235== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25235== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25235== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25235== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25235== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25235== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25235== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25235== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25235== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25235== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25235== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25235== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25235== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25235== by 0x8065F8B: main (nginx.c:385) ==25235== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] ' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) |
==25256== Invalid read of size 4 ==25256== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25256== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25256== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25256== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25256== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25256== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25256== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25256== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25256== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25256== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25256== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25256== by 0x8065F8B: main (nginx.c:385) ==25256== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25256== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) |
==25256== ==25256== Process terminating with default action of signal 11 (SIGSEGV) ==25256== Access not within mapped region at address 0x0 ==25256== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25256== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25256== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25256== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25256== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25256== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25256== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25256== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25256== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25256== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25256== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25256== by 0x8065F8B: main (nginx.c:385) ==25256== If you believe this happened as a result of a stack ==25256== overflow in your program's main thread (unlikely but ==25256== possible), you can try to increase the size of the ==25256== main thread stack using the --main-stacksize= flag. ==25256== The main thread stack size used in this run was 8388608. ==25256== 1,024 bytes in 1 blocks are definitely lost in loss record 3,046 of 3,162 ==25256== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25256== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25256== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25256== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25256== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25256== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25256== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25256== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25256== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25256== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25256== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25256== by 0x40BB675: trace_state (lj_trace.c:690) ==25256== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25256== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25256== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25256== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25256== by 0x407FA29: lua_resume (lj_api.c:1296) ==25256== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25256== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25256== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25256== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25256== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25256== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25256== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25256== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25256== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25256== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25256== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25256== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25256== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25256== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25256== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25256== by 0x8065F8B: main (nginx.c:385) ==25256== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] ' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache |
==25268== Invalid read of size 4 ==25268== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25268== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25268== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25268== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25268== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25268== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25268== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25268== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25268== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25268== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25268== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25268== by 0x8065F8B: main (nginx.c:385) ==25268== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25268== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache |
==25268== ==25268== Process terminating with default action of signal 11 (SIGSEGV) ==25268== Access not within mapped region at address 0x0 ==25268== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25268== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25268== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25268== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25268== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25268== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25268== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25268== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25268== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25268== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25268== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25268== by 0x8065F8B: main (nginx.c:385) ==25268== If you believe this happened as a result of a stack ==25268== overflow in your program's main thread (unlikely but ==25268== possible), you can try to increase the size of the ==25268== main thread stack using the --main-stacksize= flag. ==25268== The main thread stack size used in this run was 8388608. ==25268== 2,048 bytes in 1 blocks are definitely lost in loss record 3,123 of 3,193 ==25268== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25268== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25268== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25268== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25268== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25268== by 0x408A511: ir_nextk (lj_ir.c:175) ==25268== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25268== by 0x40A3789: crec_tv_ct (lj_crecord.c:595) ==25268== by 0x40A60EB: recff_cdata_index (lj_crecord.c:932) ==25268== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25268== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25268== by 0x40BB16A: trace_state (lj_trace.c:680) ==25268== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25268== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25268== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25268== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25268== by 0x407FA29: lua_resume (lj_api.c:1296) ==25268== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25268== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25268== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25268== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25268== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25268== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25268== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25268== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25268== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25268== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25268== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25268== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25268== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25268== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25268== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25268== by 0x8065F8B: main (nginx.c:385) ==25268== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_tv_ct fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache |
==25290== Invalid read of size 4 ==25290== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25290== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25290== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25290== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25290== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25290== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25290== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25290== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25290== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25290== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25290== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25290== by 0x8065F8B: main (nginx.c:385) ==25290== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache |
==25290== ==25290== Process terminating with default action of signal 11 (SIGSEGV) ==25290== Access not within mapped region at address 0x0 ==25290== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25290== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25290== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25290== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25290== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25290== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25290== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25290== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25290== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25290== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25290== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25290== by 0x8065F8B: main (nginx.c:385) ==25290== If you believe this happened as a result of a stack ==25290== overflow in your program's main thread (unlikely but ==25290== possible), you can try to increase the size of the ==25290== main thread stack using the --main-stacksize= flag. ==25290== The main thread stack size used in this run was 8388608. ==25290== 2,048 bytes in 1 blocks are definitely lost in loss record 3,123 of 3,193 ==25290== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25290== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25290== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25290== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25290== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25290== by 0x408A511: ir_nextk (lj_ir.c:175) ==25290== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25290== by 0x40A3789: crec_tv_ct (lj_crecord.c:595) ==25290== by 0x40A60EB: recff_cdata_index (lj_crecord.c:932) ==25290== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25290== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25290== by 0x40BB16A: trace_state (lj_trace.c:680) ==25290== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25290== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25290== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25290== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25290== by 0x407FA29: lua_resume (lj_api.c:1296) ==25290== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25290== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25290== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25290== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25290== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25290== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25290== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25290== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25290== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25290== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25290== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25290== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25290== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25290== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25290== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25290== by 0x8065F8B: main (nginx.c:385) ==25290== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_tv_ct fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil |
==25304== Invalid read of size 4 ==25304== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25304== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25304== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25304== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25304== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25304== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25304== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25304== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25304== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25304== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25304== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25304== by 0x8065F8B: main (nginx.c:385) ==25304== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25304== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil |
==25304== ==25304== Process terminating with default action of signal 11 (SIGSEGV) ==25304== Access not within mapped region at address 0x0 ==25304== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25304== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25304== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25304== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25304== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25304== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25304== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25304== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25304== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25304== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25304== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25304== by 0x8065F8B: main (nginx.c:385) ==25304== If you believe this happened as a result of a stack ==25304== overflow in your program's main thread (unlikely but ==25304== possible), you can try to increase the size of the ==25304== main thread stack using the --main-stacksize= flag. ==25304== The main thread stack size used in this run was 8388608. ==25304== 1,024 bytes in 1 blocks are definitely lost in loss record 3,033 of 3,149 ==25304== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25304== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25304== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25304== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25304== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25304== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25304== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25304== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25304== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25304== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25304== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25304== by 0x40BB675: trace_state (lj_trace.c:690) ==25304== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25304== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25304== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25304== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25304== by 0x407FA29: lua_resume (lj_api.c:1296) ==25304== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25304== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25304== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25304== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25304== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25304== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25304== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25304== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25304== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25304== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25304== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25304== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25304== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25304== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25304== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25304== by 0x8065F8B: main (nginx.c:385) ==25304== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -error: pcre_exec() failed: -10 -not matched ' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil |
==25326== Invalid read of size 4 ==25326== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25326== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25326== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25326== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25326== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25326== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25326== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25326== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25326== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25326== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25326== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25326== by 0x8065F8B: main (nginx.c:385) ==25326== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25326== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil |
==25326== ==25326== Process terminating with default action of signal 11 (SIGSEGV) ==25326== Access not within mapped region at address 0x0 ==25326== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25326== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25326== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25326== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25326== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25326== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25326== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25326== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25326== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25326== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25326== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25326== by 0x8065F8B: main (nginx.c:385) ==25326== If you believe this happened as a result of a stack ==25326== overflow in your program's main thread (unlikely but ==25326== possible), you can try to increase the size of the ==25326== main thread stack using the --main-stacksize= flag. ==25326== The main thread stack size used in this run was 8388608. ==25326== 1,024 bytes in 1 blocks are definitely lost in loss record 3,033 of 3,149 ==25326== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25326== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25326== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25326== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25326== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25326== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25326== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25326== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25326== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25326== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25326== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25326== by 0x40BB675: trace_state (lj_trace.c:690) ==25326== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25326== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25326== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25326== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25326== by 0x407FA29: lua_resume (lj_api.c:1296) ==25326== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25326== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25326== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25326== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25326== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25326== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25326== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25326== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25326== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25326== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25326== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25326== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25326== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25326== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25326== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25326== by 0x8065F8B: main (nginx.c:385) ==25326== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -error: pcre_exec() failed: -10 -not matched ' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==25336== Invalid read of size 4 ==25336== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25336== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25336== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25336== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25336== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25336== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25336== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25336== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25336== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25336== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25336== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25336== by 0x8065F8B: main (nginx.c:385) ==25336== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25336== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==25336== ==25336== Process terminating with default action of signal 11 (SIGSEGV) ==25336== Access not within mapped region at address 0x0 ==25336== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25336== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25336== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25336== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25336== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25336== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25336== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25336== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25336== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25336== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25336== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25336== by 0x8065F8B: main (nginx.c:385) ==25336== If you believe this happened as a result of a stack ==25336== overflow in your program's main thread (unlikely but ==25336== possible), you can try to increase the size of the ==25336== main thread stack using the --main-stacksize= flag. ==25336== The main thread stack size used in this run was 8388608. ==25336== 2,048 bytes in 1 blocks are definitely lost in loss record 3,094 of 3,157 ==25336== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25336== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25336== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25336== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25336== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25336== by 0x408A511: ir_nextk (lj_ir.c:175) ==25336== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25336== by 0x40A3A59: argv2cdata (lj_crecord.c:56) ==25336== by 0x40A6D2B: recff_cdata_call (lj_crecord.c:1269) ==25336== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25336== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25336== by 0x40BB16A: trace_state (lj_trace.c:680) ==25336== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25336== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25336== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25336== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25336== by 0x407FA29: lua_resume (lj_api.c:1296) ==25336== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25336== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25336== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25336== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25336== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25336== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25336== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25336== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25336== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25336== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25336== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25336== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25336== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25336== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25336== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25336== by 0x8065F8B: main (nginx.c:385) ==25336== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:argv2cdata fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==25337== Invalid read of size 4 ==25337== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25337== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25337== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25337== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25337== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25337== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25337== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25337== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25337== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25337== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25337== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25337== by 0x8065F8B: main (nginx.c:385) ==25337== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25337== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==25337== ==25337== Process terminating with default action of signal 11 (SIGSEGV) ==25337== Access not within mapped region at address 0x0 ==25337== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25337== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25337== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25337== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25337== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25337== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25337== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25337== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25337== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25337== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25337== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25337== by 0x8065F8B: main (nginx.c:385) ==25337== If you believe this happened as a result of a stack ==25337== overflow in your program's main thread (unlikely but ==25337== possible), you can try to increase the size of the ==25337== main thread stack using the --main-stacksize= flag. ==25337== The main thread stack size used in this run was 8388608. ==25337== 2,048 bytes in 1 blocks are definitely lost in loss record 3,094 of 3,157 ==25337== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25337== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25337== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25337== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25337== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25337== by 0x408A511: ir_nextk (lj_ir.c:175) ==25337== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25337== by 0x40A3A59: argv2cdata (lj_crecord.c:56) ==25337== by 0x40A6D2B: recff_cdata_call (lj_crecord.c:1269) ==25337== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25337== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25337== by 0x40BB16A: trace_state (lj_trace.c:680) ==25337== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25337== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25337== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25337== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25337== by 0x407FA29: lua_resume (lj_api.c:1296) ==25337== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25337== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25337== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25337== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25337== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25337== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25337== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25337== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25337== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25337== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25337== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25337== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25337== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25337== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25337== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25337== by 0x8065F8B: main (nginx.c:385) ==25337== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:argv2cdata fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)' |
stream/re-match.t | TEST 13: unmatched named captures are false |
==25349== Invalid read of size 4 ==25349== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25349== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25349== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25349== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25349== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25349== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25349== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25349== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25349== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25349== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25349== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25349== by 0x8065F8B: main (nginx.c:385) ==25349== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25349== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 13: unmatched named captures are false |
==25349== ==25349== Process terminating with default action of signal 11 (SIGSEGV) ==25349== Access not within mapped region at address 0x0 ==25349== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25349== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25349== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25349== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25349== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25349== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25349== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25349== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25349== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25349== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25349== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25349== by 0x8065F8B: main (nginx.c:385) ==25349== If you believe this happened as a result of a stack ==25349== overflow in your program's main thread (unlikely but ==25349== possible), you can try to increase the size of the ==25349== main thread stack using the --main-stacksize= flag. ==25349== The main thread stack size used in this run was 8388608. ==25349== 1,024 bytes in 1 blocks are definitely lost in loss record 3,040 of 3,154 ==25349== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25349== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25349== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25349== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25349== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25349== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25349== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25349== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25349== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25349== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25349== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25349== by 0x40BB675: trace_state (lj_trace.c:690) ==25349== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25349== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25349== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25349== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25349== by 0x407FA29: lua_resume (lj_api.c:1296) ==25349== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25349== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25349== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25349== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25349== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25349== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25349== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25349== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25349== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25349== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25349== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25349== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25349== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25349== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25349== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25349== by 0x8065F8B: main (nginx.c:385) ==25349== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 13: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,7 +0,0 @@ -hello! -hello -false -! -hello -false -! ' |
stream/re-match.t | TEST 13: unmatched named captures are false |
==25370== Invalid read of size 4 ==25370== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25370== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25370== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25370== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25370== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25370== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25370== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25370== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25370== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25370== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25370== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25370== by 0x8065F8B: main (nginx.c:385) ==25370== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 13: unmatched named captures are false |
==25370== ==25370== Process terminating with default action of signal 11 (SIGSEGV) ==25370== Access not within mapped region at address 0x0 ==25370== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25370== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25370== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25370== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25370== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25370== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25370== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25370== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25370== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25370== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25370== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25370== by 0x8065F8B: main (nginx.c:385) ==25370== If you believe this happened as a result of a stack ==25370== overflow in your program's main thread (unlikely but ==25370== possible), you can try to increase the size of the ==25370== main thread stack using the --main-stacksize= flag. ==25370== The main thread stack size used in this run was 8388608. ==25370== 1,024 bytes in 1 blocks are definitely lost in loss record 3,040 of 3,154 ==25370== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25370== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25370== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25370== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25370== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25370== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25370== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25370== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25370== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25370== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25370== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25370== by 0x40BB675: trace_state (lj_trace.c:690) ==25370== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25370== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25370== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25370== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25370== by 0x407FA29: lua_resume (lj_api.c:1296) ==25370== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25370== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25370== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25370== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25370== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25370== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25370== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25370== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25370== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25370== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25370== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25370== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25370== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25370== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25370== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25370== by 0x8065F8B: main (nginx.c:385) ==25370== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 13: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,7 +0,0 @@ -hello! -hello -false -! -hello -false -! ' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) |
==25382== Invalid read of size 4 ==25382== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25382== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25382== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25382== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25382== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25382== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25382== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25382== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25382== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25382== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25382== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25382== by 0x8065F8B: main (nginx.c:385) ==25382== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25382== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) |
==25382== ==25382== Process terminating with default action of signal 11 (SIGSEGV) ==25382== Access not within mapped region at address 0x0 ==25382== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25382== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25382== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25382== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25382== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25382== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25382== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25382== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25382== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25382== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25382== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25382== by 0x8065F8B: main (nginx.c:385) ==25382== If you believe this happened as a result of a stack ==25382== overflow in your program's main thread (unlikely but ==25382== possible), you can try to increase the size of the ==25382== main thread stack using the --main-stacksize= flag. ==25382== The main thread stack size used in this run was 8388608. ==25382== 4,096 bytes in 1 blocks are definitely lost in loss record 3,177 of 3,215 ==25382== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25382== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25382== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25382== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25382== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25382== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25382== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25382== by 0x40A4374: crec_ct_ct (lj_crecord.c:440) ==25382== by 0x40A4374: crec_ct_tv (lj_crecord.c:691) ==25382== by 0x40A66A7: recff_cdata_index (lj_crecord.c:936) ==25382== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25382== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25382== by 0x40BB16A: trace_state (lj_trace.c:680) ==25382== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25382== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25382== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25382== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25382== by 0x407FA29: lua_resume (lj_api.c:1296) ==25382== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25382== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25382== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25382== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25382== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25382== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25382== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25382== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25382== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25382== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25382== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25382== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25382== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25382== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25382== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25382== by 0x8065F8B: main (nginx.c:385) ==25382== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:crec_ct_ct fun:crec_ct_tv fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:hello, 1234 h ello h|ello nil )' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) |
==25403== Invalid read of size 4 ==25403== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25403== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25403== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25403== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25403== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25403== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25403== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25403== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25403== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25403== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25403== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25403== by 0x8065F8B: main (nginx.c:385) ==25403== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25403== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) |
==25403== ==25403== Process terminating with default action of signal 11 (SIGSEGV) ==25403== Access not within mapped region at address 0x0 ==25403== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25403== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25403== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25403== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25403== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25403== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25403== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25403== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25403== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25403== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25403== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25403== by 0x8065F8B: main (nginx.c:385) ==25403== If you believe this happened as a result of a stack ==25403== overflow in your program's main thread (unlikely but ==25403== possible), you can try to increase the size of the ==25403== main thread stack using the --main-stacksize= flag. ==25403== The main thread stack size used in this run was 8388608. ==25403== 4,096 bytes in 1 blocks are definitely lost in loss record 3,177 of 3,215 ==25403== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25403== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25403== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25403== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25403== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25403== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25403== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25403== by 0x40A4374: crec_ct_ct (lj_crecord.c:440) ==25403== by 0x40A4374: crec_ct_tv (lj_crecord.c:691) ==25403== by 0x40A66A7: recff_cdata_index (lj_crecord.c:936) ==25403== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25403== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25403== by 0x40BB16A: trace_state (lj_trace.c:680) ==25403== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25403== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25403== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25403== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25403== by 0x407FA29: lua_resume (lj_api.c:1296) ==25403== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25403== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25403== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25403== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25403== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25403== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25403== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25403== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25403== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25403== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25403== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25403== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25403== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25403== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25403== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25403== by 0x8065F8B: main (nginx.c:385) ==25403== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:crec_ct_ct fun:crec_ct_tv fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:hello, 1234 h ello h|ello nil )' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) |
==25415== Invalid read of size 4 ==25415== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25415== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25415== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25415== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25415== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25415== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25415== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25415== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25415== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25415== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25415== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25415== by 0x8065F8B: main (nginx.c:385) ==25415== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25415== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) |
==25415== ==25415== Process terminating with default action of signal 11 (SIGSEGV) ==25415== Access not within mapped region at address 0x0 ==25415== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25415== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25415== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25415== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25415== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25415== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25415== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25415== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25415== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25415== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25415== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25415== by 0x8065F8B: main (nginx.c:385) ==25415== If you believe this happened as a result of a stack ==25415== overflow in your program's main thread (unlikely but ==25415== possible), you can try to increase the size of the ==25415== main thread stack using the --main-stacksize= flag. ==25415== The main thread stack size used in this run was 8388608. ==25415== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,185 ==25415== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25415== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25415== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25415== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25415== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25415== by 0x408AB9F: ir_nextk (lj_ir.c:175) ==25415== by 0x408AB9F: lj_ir_kslot (lj_ir.c:370) ==25415== by 0x409BD8D: rec_idx_key (lj_record.c:1378) ==25415== by 0x409BD8D: lj_record_idx (lj_record.c:1455) ==25415== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25415== by 0x40BB16A: trace_state (lj_trace.c:680) ==25415== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25415== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25415== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25415== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25415== by 0x407FA29: lua_resume (lj_api.c:1296) ==25415== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25415== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25415== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25415== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25415== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25415== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25415== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25415== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25415== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25415== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25415== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25415== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25415== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25415== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25415== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25415== by 0x8065F8B: main (nginx.c:385) ==25415== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kslot fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello, 1234 -hello -hello -nil ' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) |
==25436== Invalid read of size 4 ==25436== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25436== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25436== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25436== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25436== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25436== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25436== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25436== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25436== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25436== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25436== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25436== by 0x8065F8B: main (nginx.c:385) ==25436== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25436== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) |
==25436== ==25436== Process terminating with default action of signal 11 (SIGSEGV) ==25436== Access not within mapped region at address 0x0 ==25436== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25436== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25436== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25436== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25436== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25436== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25436== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25436== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25436== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25436== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25436== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25436== by 0x8065F8B: main (nginx.c:385) ==25436== If you believe this happened as a result of a stack ==25436== overflow in your program's main thread (unlikely but ==25436== possible), you can try to increase the size of the ==25436== main thread stack using the --main-stacksize= flag. ==25436== The main thread stack size used in this run was 8388608. ==25436== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,185 ==25436== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25436== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25436== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25436== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25436== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25436== by 0x408AB9F: ir_nextk (lj_ir.c:175) ==25436== by 0x408AB9F: lj_ir_kslot (lj_ir.c:370) ==25436== by 0x409BD8D: rec_idx_key (lj_record.c:1378) ==25436== by 0x409BD8D: lj_record_idx (lj_record.c:1455) ==25436== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25436== by 0x40BB16A: trace_state (lj_trace.c:680) ==25436== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25436== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25436== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25436== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25436== by 0x407FA29: lua_resume (lj_api.c:1296) ==25436== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25436== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25436== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25436== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25436== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25436== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25436== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25436== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25436== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25436== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25436== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25436== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25436== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25436== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25436== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25436== by 0x8065F8B: main (nginx.c:385) ==25436== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kslot fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello, 1234 -hello -hello -nil ' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25450== Invalid read of size 4 ==25450== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25450== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25450== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25450== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25450== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25450== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25450== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25450== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25450== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25450== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25450== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25450== by 0x8065F8B: main (nginx.c:385) ==25450== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25450== ==25450== Process terminating with default action of signal 11 (SIGSEGV) ==25450== Access not within mapped region at address 0x0 ==25450== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25450== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25450== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25450== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25450== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25450== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25450== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25450== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25450== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25450== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25450== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25450== by 0x8065F8B: main (nginx.c:385) ==25450== If you believe this happened as a result of a stack ==25450== overflow in your program's main thread (unlikely but ==25450== possible), you can try to increase the size of the ==25450== main thread stack using the --main-stacksize= flag. ==25450== The main thread stack size used in this run was 8388608. ==25450== 4,096 bytes in 1 blocks are definitely lost in loss record 3,149 of 3,179 ==25450== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25450== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25450== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25450== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25450== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==25450== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==25450== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25450== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25450== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25450== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25450== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25450== by 0x40BB675: trace_state (lj_trace.c:690) ==25450== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25450== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25450== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25450== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25450== by 0x407FA29: lua_resume (lj_api.c:1296) ==25450== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25450== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25450== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25450== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25450== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25450== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25450== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25450== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25450== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25450== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25450== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25450== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25450== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25450== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25450== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25450== by 0x8065F8B: main (nginx.c:385) ==25450== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25471== Invalid read of size 4 ==25471== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25471== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25471== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25471== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25471== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25471== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25471== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25471== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25471== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25471== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25471== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25471== by 0x8065F8B: main (nginx.c:385) ==25471== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25471== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache |
==25471== ==25471== Process terminating with default action of signal 11 (SIGSEGV) ==25471== Access not within mapped region at address 0x0 ==25471== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25471== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25471== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25471== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25471== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25471== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25471== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25471== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25471== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25471== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25471== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25471== by 0x8065F8B: main (nginx.c:385) ==25471== If you believe this happened as a result of a stack ==25471== overflow in your program's main thread (unlikely but ==25471== possible), you can try to increase the size of the ==25471== main thread stack using the --main-stacksize= flag. ==25471== The main thread stack size used in this run was 8388608. ==25471== 4,096 bytes in 1 blocks are definitely lost in loss record 3,149 of 3,179 ==25471== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25471== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25471== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25471== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25471== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==25471== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==25471== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25471== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25471== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25471== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25471== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25471== by 0x40BB675: trace_state (lj_trace.c:690) ==25471== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25471== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25471== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25471== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25471== by 0x407FA29: lua_resume (lj_api.c:1296) ==25471== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25471== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25471== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25471== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25471== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25471== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25471== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25471== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25471== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25471== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25471== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25471== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25471== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25471== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25471== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25471== by 0x8065F8B: main (nginx.c:385) ==25471== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 15: subject is not a string type |
==25483== Invalid read of size 4 ==25483== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25483== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25483== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25483== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25483== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25483== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25483== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25483== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25483== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25483== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25483== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25483== by 0x8065F8B: main (nginx.c:385) ==25483== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25483== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 15: subject is not a string type |
==25483== ==25483== Process terminating with default action of signal 11 (SIGSEGV) ==25483== Access not within mapped region at address 0x0 ==25483== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25483== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25483== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25483== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25483== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25483== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25483== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25483== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25483== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25483== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25483== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25483== by 0x8065F8B: main (nginx.c:385) ==25483== If you believe this happened as a result of a stack ==25483== overflow in your program's main thread (unlikely but ==25483== possible), you can try to increase the size of the ==25483== main thread stack using the --main-stacksize= flag. ==25483== The main thread stack size used in this run was 8388608. ==25483== 1,024 bytes in 1 blocks are definitely lost in loss record 3,046 of 3,162 ==25483== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25483== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25483== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25483== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25483== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25483== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25483== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25483== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25483== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25483== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25483== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25483== by 0x40BB675: trace_state (lj_trace.c:690) ==25483== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25483== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25483== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25483== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25483== by 0x407FA29: lua_resume (lj_api.c:1296) ==25483== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25483== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25483== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25483== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25483== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25483== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25483== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25483== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25483== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25483== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25483== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25483== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25483== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25483== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25483== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25483== by 0x8065F8B: main (nginx.c:385) ==25483== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 15: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 15: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '123 ' |
stream/re-match.t | TEST 15: subject is not a string type |
==25504== Invalid read of size 4 ==25504== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25504== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25504== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25504== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25504== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25504== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25504== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25504== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25504== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25504== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25504== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25504== by 0x8065F8B: main (nginx.c:385) ==25504== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25504== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 15: subject is not a string type |
==25504== ==25504== Process terminating with default action of signal 11 (SIGSEGV) ==25504== Access not within mapped region at address 0x0 ==25504== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25504== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25504== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25504== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25504== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25504== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25504== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25504== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25504== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25504== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25504== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25504== by 0x8065F8B: main (nginx.c:385) ==25504== If you believe this happened as a result of a stack ==25504== overflow in your program's main thread (unlikely but ==25504== possible), you can try to increase the size of the ==25504== main thread stack using the --main-stacksize= flag. ==25504== The main thread stack size used in this run was 8388608. ==25504== 1,024 bytes in 1 blocks are definitely lost in loss record 3,046 of 3,162 ==25504== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25504== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25504== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25504== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25504== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25504== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25504== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25504== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25504== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25504== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25504== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25504== by 0x40BB675: trace_state (lj_trace.c:690) ==25504== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25504== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25504== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25504== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25504== by 0x407FA29: lua_resume (lj_api.c:1296) ==25504== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25504== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25504== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25504== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25504== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25504== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25504== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25504== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25504== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25504== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25504== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25504== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25504== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25504== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25504== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25504== by 0x8065F8B: main (nginx.c:385) ==25504== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 15: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 15: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '123 ' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match |
==25516== Invalid read of size 4 ==25516== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25516== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25516== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25516== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25516== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25516== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25516== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25516== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25516== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25516== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25516== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25516== by 0x8065F8B: main (nginx.c:385) ==25516== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25516== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 10: captures input table in ngx.re.match |
==25516== ==25516== Process terminating with default action of signal 11 (SIGSEGV) ==25516== Access not within mapped region at address 0x0 ==25516== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25516== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25516== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25516== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25516== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25516== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25516== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25516== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25516== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25516== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25516== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25516== by 0x8065F8B: main (nginx.c:385) ==25516== If you believe this happened as a result of a stack ==25516== overflow in your program's main thread (unlikely but ==25516== possible), you can try to increase the size of the ==25516== main thread stack using the --main-stacksize= flag. ==25516== The main thread stack size used in this run was 8388608. ==25516== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,181 ==25516== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25516== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25516== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25516== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25516== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25516== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==25516== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==25516== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==25516== by 0x40BB16A: trace_state (lj_trace.c:680) ==25516== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25516== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25516== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25516== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25516== by 0x407FA29: lua_resume (lj_api.c:1296) ==25516== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25516== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25516== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25516== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25516== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25516== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25516== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25516== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25516== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25516== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25516== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25516== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25516== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25516== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25516== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25516== by 0x8065F8B: main (nginx.c:385) ==25516== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -1234 -1 -2 -3 -4 -hello ' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match |
==25537== Invalid read of size 4 ==25537== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25537== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25537== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25537== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25537== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25537== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25537== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25537== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25537== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25537== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25537== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25537== by 0x8065F8B: main (nginx.c:385) ==25537== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25537== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 10: captures input table in ngx.re.match |
==25537== ==25537== Process terminating with default action of signal 11 (SIGSEGV) ==25537== Access not within mapped region at address 0x0 ==25537== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25537== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25537== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25537== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25537== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25537== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25537== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25537== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25537== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25537== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25537== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25537== by 0x8065F8B: main (nginx.c:385) ==25537== If you believe this happened as a result of a stack ==25537== overflow in your program's main thread (unlikely but ==25537== possible), you can try to increase the size of the ==25537== main thread stack using the --main-stacksize= flag. ==25537== The main thread stack size used in this run was 8388608. ==25537== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,181 ==25537== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25537== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25537== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25537== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25537== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25537== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==25537== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==25537== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==25537== by 0x40BB16A: trace_state (lj_trace.c:680) ==25537== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25537== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25537== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25537== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25537== by 0x407FA29: lua_resume (lj_api.c:1296) ==25537== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25537== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25537== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25537== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25537== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25537== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25537== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25537== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25537== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25537== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25537== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25537== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25537== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25537== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25537== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25537== by 0x8065F8B: main (nginx.c:385) ==25537== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -1234 -1 -2 -3 -4 -hello ' |
stream/re-match.t | TEST 14: subject is not a string type |
==25549== Invalid read of size 4 ==25549== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25549== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25549== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25549== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25549== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25549== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25549== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25549== by 0x8065F8B: main (nginx.c:385) ==25549== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25549== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 14: subject is not a string type |
==25549== ==25549== Process terminating with default action of signal 11 (SIGSEGV) ==25549== Access not within mapped region at address 0x0 ==25549== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25549== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25549== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25549== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25549== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25549== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25549== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25549== by 0x8065F8B: main (nginx.c:385) ==25549== If you believe this happened as a result of a stack ==25549== overflow in your program's main thread (unlikely but ==25549== possible), you can try to increase the size of the ==25549== main thread stack using the --main-stacksize= flag. ==25549== The main thread stack size used in this run was 8388608. ==25549== 1,024 bytes in 1 blocks are definitely lost in loss record 3,063 of 3,179 ==25549== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25549== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25549== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25549== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25549== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25549== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25549== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25549== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25549== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25549== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25549== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25549== by 0x40BB675: trace_state (lj_trace.c:690) ==25549== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25549== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25549== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25549== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25549== by 0x407FA29: lua_resume (lj_api.c:1296) ==25549== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25549== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25549== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25549== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25549== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25549== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25549== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25549== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25549== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25549== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25549== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25549== by 0x8065F8B: main (nginx.c:385) ==25549== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 14: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 14: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -12345 -12345 ' |
stream/re-match.t | TEST 14: subject is not a string type |
==25570== Invalid read of size 4 ==25570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25570== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25570== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25570== by 0x8065F8B: main (nginx.c:385) ==25570== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 14: subject is not a string type |
==25570== ==25570== Process terminating with default action of signal 11 (SIGSEGV) ==25570== Access not within mapped region at address 0x0 ==25570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25570== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25570== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25570== by 0x8065F8B: main (nginx.c:385) ==25570== If you believe this happened as a result of a stack ==25570== overflow in your program's main thread (unlikely but ==25570== possible), you can try to increase the size of the ==25570== main thread stack using the --main-stacksize= flag. ==25570== The main thread stack size used in this run was 8388608. ==25570== 1,024 bytes in 1 blocks are definitely lost in loss record 3,063 of 3,179 ==25570== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25570== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25570== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25570== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25570== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25570== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25570== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25570== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25570== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25570== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25570== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25570== by 0x40BB675: trace_state (lj_trace.c:690) ==25570== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25570== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25570== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25570== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25570== by 0x407FA29: lua_resume (lj_api.c:1296) ==25570== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25570== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25570== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25570== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25570== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25570== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25570== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25570== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25570== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25570== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25570== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25570== by 0x8065F8B: main (nginx.c:385) ==25570== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 14: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 14: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -12345 -12345 ' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache |
==25582== Invalid read of size 4 ==25582== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25582== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25582== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25582== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25582== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25582== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25582== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25582== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25582== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25582== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25582== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25582== by 0x8065F8B: main (nginx.c:385) ==25582== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25582== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 6: submatches, matched, with regex cache |
==25582== ==25582== Process terminating with default action of signal 11 (SIGSEGV) ==25582== Access not within mapped region at address 0x0 ==25582== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25582== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25582== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25582== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25582== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25582== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25582== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25582== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25582== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25582== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25582== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25582== by 0x8065F8B: main (nginx.c:385) ==25582== If you believe this happened as a result of a stack ==25582== overflow in your program's main thread (unlikely but ==25582== possible), you can try to increase the size of the ==25582== main thread stack using the --main-stacksize= flag. ==25582== The main thread stack size used in this run was 8388608. ==25582== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,182 ==25582== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25582== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25582== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25582== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25582== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25582== by 0x408AB9F: ir_nextk (lj_ir.c:175) ==25582== by 0x408AB9F: lj_ir_kslot (lj_ir.c:370) ==25582== by 0x409BD8D: rec_idx_key (lj_record.c:1378) ==25582== by 0x409BD8D: lj_record_idx (lj_record.c:1455) ==25582== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25582== by 0x40BB16A: trace_state (lj_trace.c:680) ==25582== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25582== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25582== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25582== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25582== by 0x407FA29: lua_resume (lj_api.c:1296) ==25582== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25582== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25582== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25582== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25582== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25582== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25582== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25582== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25582== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25582== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25582== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25582== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25582== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25582== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25582== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25582== by 0x8065F8B: main (nginx.c:385) ==25582== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kslot fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache |
==25603== Invalid read of size 4 ==25603== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25603== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25603== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25603== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25603== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25603== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25603== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25603== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25603== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25603== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25603== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25603== by 0x8065F8B: main (nginx.c:385) ==25603== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25603== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 6: submatches, matched, with regex cache |
==25603== ==25603== Process terminating with default action of signal 11 (SIGSEGV) ==25603== Access not within mapped region at address 0x0 ==25603== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25603== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25603== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25603== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25603== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25603== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25603== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25603== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25603== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25603== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25603== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25603== by 0x8065F8B: main (nginx.c:385) ==25603== If you believe this happened as a result of a stack ==25603== overflow in your program's main thread (unlikely but ==25603== possible), you can try to increase the size of the ==25603== main thread stack using the --main-stacksize= flag. ==25603== The main thread stack size used in this run was 8388608. ==25603== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,182 ==25603== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25603== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25603== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25603== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25603== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25603== by 0x408AB9F: ir_nextk (lj_ir.c:175) ==25603== by 0x408AB9F: lj_ir_kslot (lj_ir.c:370) ==25603== by 0x409BD8D: rec_idx_key (lj_record.c:1378) ==25603== by 0x409BD8D: lj_record_idx (lj_record.c:1455) ==25603== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25603== by 0x40BB16A: trace_state (lj_trace.c:680) ==25603== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25603== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25603== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25603== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25603== by 0x407FA29: lua_resume (lj_api.c:1296) ==25603== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25603== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25603== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25603== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25603== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25603== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25603== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25603== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25603== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25603== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25603== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25603== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25603== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25603== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25603== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25603== by 0x8065F8B: main (nginx.c:385) ==25603== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kslot fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 12: unmatched trailing captures are false |
==25617== Invalid read of size 4 ==25617== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25617== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25617== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25617== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25617== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25617== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25617== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25617== by 0x8065F8B: main (nginx.c:385) ==25617== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25617== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 12: unmatched trailing captures are false |
==25617== ==25617== Process terminating with default action of signal 11 (SIGSEGV) ==25617== Access not within mapped region at address 0x0 ==25617== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25617== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25617== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25617== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25617== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25617== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25617== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25617== by 0x8065F8B: main (nginx.c:385) ==25617== If you believe this happened as a result of a stack ==25617== overflow in your program's main thread (unlikely but ==25617== possible), you can try to increase the size of the ==25617== main thread stack using the --main-stacksize= flag. ==25617== The main thread stack size used in this run was 8388608. ==25617== 1,024 bytes in 1 blocks are definitely lost in loss record 3,045 of 3,158 ==25617== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25617== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25617== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25617== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25617== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25617== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25617== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25617== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25617== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25617== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25617== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25617== by 0x40BB675: trace_state (lj_trace.c:690) ==25617== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25617== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25617== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25617== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25617== by 0x407FA29: lua_resume (lj_api.c:1296) ==25617== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25617== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25617== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25617== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25617== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25617== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25617== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25617== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25617== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25617== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25617== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25617== by 0x8065F8B: main (nginx.c:385) ==25617== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 12: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-match.t | TEST 12: unmatched trailing captures are false |
==25639== Invalid read of size 4 ==25639== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25639== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25639== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25639== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25639== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25639== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25639== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25639== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25639== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25639== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25639== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25639== by 0x8065F8B: main (nginx.c:385) ==25639== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25639== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 12: unmatched trailing captures are false |
==25639== ==25639== Process terminating with default action of signal 11 (SIGSEGV) ==25639== Access not within mapped region at address 0x0 ==25639== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25639== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25639== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25639== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25639== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25639== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25639== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25639== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25639== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25639== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25639== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25639== by 0x8065F8B: main (nginx.c:385) ==25639== If you believe this happened as a result of a stack ==25639== overflow in your program's main thread (unlikely but ==25639== possible), you can try to increase the size of the ==25639== main thread stack using the --main-stacksize= flag. ==25639== The main thread stack size used in this run was 8388608. ==25639== 1,024 bytes in 1 blocks are definitely lost in loss record 3,045 of 3,158 ==25639== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25639== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25639== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25639== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25639== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25639== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25639== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25639== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25639== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25639== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25639== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25639== by 0x40BB675: trace_state (lj_trace.c:690) ==25639== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25639== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25639== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25639== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25639== by 0x407FA29: lua_resume (lj_api.c:1296) ==25639== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25639== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25639== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25639== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25639== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25639== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25639== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25639== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25639== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25639== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25639== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25639== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25639== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25639== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25639== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25639== by 0x8065F8B: main (nginx.c:385) ==25639== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 12: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25651== Invalid read of size 4 ==25651== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25651== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25651== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25651== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25651== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25651== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25651== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25651== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25651== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25651== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25651== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25651== by 0x8065F8B: main (nginx.c:385) ==25651== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25651== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25651== ==25651== Process terminating with default action of signal 11 (SIGSEGV) ==25651== Access not within mapped region at address 0x0 ==25651== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25651== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25651== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25651== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25651== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25651== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25651== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25651== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25651== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25651== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25651== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25651== by 0x8065F8B: main (nginx.c:385) ==25651== If you believe this happened as a result of a stack ==25651== overflow in your program's main thread (unlikely but ==25651== possible), you can try to increase the size of the ==25651== main thread stack using the --main-stacksize= flag. ==25651== The main thread stack size used in this run was 8388608. ==25651== 2,048 bytes in 1 blocks are definitely lost in loss record 3,090 of 3,153 ==25651== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25651== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25651== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25651== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25651== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25651== by 0x408A511: ir_nextk (lj_ir.c:175) ==25651== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25651== by 0x40A3A59: argv2cdata (lj_crecord.c:56) ==25651== by 0x40A6D2B: recff_cdata_call (lj_crecord.c:1269) ==25651== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25651== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25651== by 0x40BB16A: trace_state (lj_trace.c:680) ==25651== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25651== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25651== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25651== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25651== by 0x407FA29: lua_resume (lj_api.c:1296) ==25651== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25651== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25651== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25651== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25651== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25651== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25651== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25651== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25651== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25651== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25651== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25651== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25651== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25651== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25651== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25651== by 0x8065F8B: main (nginx.c:385) ==25651== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:argv2cdata fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25672== Invalid read of size 4 ==25672== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25672== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25672== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25672== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25672== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25672== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25672== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25672== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25672== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25672== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25672== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25672== by 0x8065F8B: main (nginx.c:385) ==25672== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25672== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache |
==25672== ==25672== Process terminating with default action of signal 11 (SIGSEGV) ==25672== Access not within mapped region at address 0x0 ==25672== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25672== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25672== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25672== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25672== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25672== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25672== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25672== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25672== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25672== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25672== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25672== by 0x8065F8B: main (nginx.c:385) ==25672== If you believe this happened as a result of a stack ==25672== overflow in your program's main thread (unlikely but ==25672== possible), you can try to increase the size of the ==25672== main thread stack using the --main-stacksize= flag. ==25672== The main thread stack size used in this run was 8388608. ==25672== 2,048 bytes in 1 blocks are definitely lost in loss record 3,090 of 3,153 ==25672== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25672== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25672== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25672== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25672== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25672== by 0x408A511: ir_nextk (lj_ir.c:175) ==25672== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25672== by 0x40A3A59: argv2cdata (lj_crecord.c:56) ==25672== by 0x40A6D2B: recff_cdata_call (lj_crecord.c:1269) ==25672== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==25672== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==25672== by 0x40BB16A: trace_state (lj_trace.c:680) ==25672== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25672== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25672== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==25672== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25672== by 0x407FA29: lua_resume (lj_api.c:1296) ==25672== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25672== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25672== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25672== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25672== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25672== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25672== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25672== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25672== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25672== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25672== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25672== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25672== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25672== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25672== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25672== by 0x8065F8B: main (nginx.c:385) ==25672== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:argv2cdata fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25684== Invalid read of size 4 ==25684== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25684== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25684== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25684== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25684== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25684== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25684== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25684== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25684== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25684== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25684== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25684== by 0x8065F8B: main (nginx.c:385) ==25684== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25684== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25684== ==25684== Process terminating with default action of signal 11 (SIGSEGV) ==25684== Access not within mapped region at address 0x0 ==25684== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25684== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25684== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25684== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25684== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25684== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25684== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25684== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25684== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25684== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25684== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25684== by 0x8065F8B: main (nginx.c:385) ==25684== If you believe this happened as a result of a stack ==25684== overflow in your program's main thread (unlikely but ==25684== possible), you can try to increase the size of the ==25684== main thread stack using the --main-stacksize= flag. ==25684== The main thread stack size used in this run was 8388608. ==25684== 2,048 bytes in 1 blocks are definitely lost in loss record 3,097 of 3,165 ==25684== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25684== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25684== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25684== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25684== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25684== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==25684== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==25684== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==25684== by 0x409BAA4: lj_record_idx (lj_record.c:1419) ==25684== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25684== by 0x40BB16A: trace_state (lj_trace.c:680) ==25684== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25684== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25684== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25684== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25684== by 0x407FA29: lua_resume (lj_api.c:1296) ==25684== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25684== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25684== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25684== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25684== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25684== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25684== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25684== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25684== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25684== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25684== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25684== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25684== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25684== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25684== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25684== by 0x8065F8B: main (nginx.c:385) ==25684== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25705== Invalid read of size 4 ==25705== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25705== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25705== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25705== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25705== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25705== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25705== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25705== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25705== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25705== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25705== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25705== by 0x8065F8B: main (nginx.c:385) ==25705== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25705== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache |
==25705== ==25705== Process terminating with default action of signal 11 (SIGSEGV) ==25705== Access not within mapped region at address 0x0 ==25705== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25705== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25705== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25705== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25705== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25705== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25705== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25705== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25705== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25705== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25705== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25705== by 0x8065F8B: main (nginx.c:385) ==25705== If you believe this happened as a result of a stack ==25705== overflow in your program's main thread (unlikely but ==25705== possible), you can try to increase the size of the ==25705== main thread stack using the --main-stacksize= flag. ==25705== The main thread stack size used in this run was 8388608. ==25705== 2,048 bytes in 1 blocks are definitely lost in loss record 3,097 of 3,165 ==25705== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25705== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25705== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25705== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25705== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25705== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==25705== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==25705== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==25705== by 0x409BAA4: lj_record_idx (lj_record.c:1419) ==25705== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25705== by 0x40BB16A: trace_state (lj_trace.c:680) ==25705== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25705== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25705== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25705== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25705== by 0x407FA29: lua_resume (lj_api.c:1296) ==25705== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25705== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25705== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25705== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25705== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25705== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25705== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25705== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25705== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25705== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25705== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25705== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25705== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25705== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25705== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25705== by 0x8065F8B: main (nginx.c:385) ==25705== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25717== Invalid read of size 4 ==25717== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25717== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25717== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25717== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25717== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25717== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25717== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25717== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25717== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25717== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25717== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25717== by 0x8065F8B: main (nginx.c:385) ==25717== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25717== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25717== ==25717== Process terminating with default action of signal 11 (SIGSEGV) ==25717== Access not within mapped region at address 0x0 ==25717== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25717== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25717== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25717== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25717== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25717== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25717== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25717== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25717== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25717== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25717== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25717== by 0x8065F8B: main (nginx.c:385) ==25717== If you believe this happened as a result of a stack ==25717== overflow in your program's main thread (unlikely but ==25717== possible), you can try to increase the size of the ==25717== main thread stack using the --main-stacksize= flag. ==25717== The main thread stack size used in this run was 8388608. ==25717== 2,048 bytes in 1 blocks are definitely lost in loss record 3,091 of 3,152 ==25717== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25717== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25717== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25717== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25717== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25717== by 0x408AB9F: ir_nextk (lj_ir.c:175) ==25717== by 0x408AB9F: lj_ir_kslot (lj_ir.c:370) ==25717== by 0x409BD8D: rec_idx_key (lj_record.c:1378) ==25717== by 0x409BD8D: lj_record_idx (lj_record.c:1455) ==25717== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25717== by 0x40BB16A: trace_state (lj_trace.c:680) ==25717== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25717== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25717== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25717== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25717== by 0x407FA29: lua_resume (lj_api.c:1296) ==25717== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25717== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25717== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25717== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25717== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25717== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25717== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25717== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25717== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25717== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25717== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25717== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25717== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25717== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25717== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25717== by 0x8065F8B: main (nginx.c:385) ==25717== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kslot fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25738== Invalid read of size 4 ==25738== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25738== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25738== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25738== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25738== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25738== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25738== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25738== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25738== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25738== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25738== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25738== by 0x8065F8B: main (nginx.c:385) ==25738== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25738== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache |
==25738== ==25738== Process terminating with default action of signal 11 (SIGSEGV) ==25738== Access not within mapped region at address 0x0 ==25738== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25738== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25738== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25738== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25738== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25738== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25738== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25738== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25738== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25738== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25738== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25738== by 0x8065F8B: main (nginx.c:385) ==25738== If you believe this happened as a result of a stack ==25738== overflow in your program's main thread (unlikely but ==25738== possible), you can try to increase the size of the ==25738== main thread stack using the --main-stacksize= flag. ==25738== The main thread stack size used in this run was 8388608. ==25738== 2,048 bytes in 1 blocks are definitely lost in loss record 3,091 of 3,152 ==25738== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25738== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25738== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25738== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25738== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25738== by 0x408AB9F: ir_nextk (lj_ir.c:175) ==25738== by 0x408AB9F: lj_ir_kslot (lj_ir.c:370) ==25738== by 0x409BD8D: rec_idx_key (lj_record.c:1378) ==25738== by 0x409BD8D: lj_record_idx (lj_record.c:1455) ==25738== by 0x409F552: lj_record_ins (lj_record.c:2339) ==25738== by 0x40BB16A: trace_state (lj_trace.c:680) ==25738== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25738== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25738== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25738== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25738== by 0x407FA29: lua_resume (lj_api.c:1296) ==25738== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25738== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25738== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25738== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25738== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25738== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25738== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25738== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25738== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25738== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25738== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25738== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25738== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25738== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25738== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25738== by 0x8065F8B: main (nginx.c:385) ==25738== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kslot fun:rec_idx_key fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache |
==25750== Invalid read of size 4 ==25750== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25750== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25750== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25750== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25750== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25750== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25750== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25750== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25750== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25750== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25750== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25750== by 0x8065F8B: main (nginx.c:385) ==25750== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25750== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 5: submatches, matched, no regex cache |
==25750== ==25750== Process terminating with default action of signal 11 (SIGSEGV) ==25750== Access not within mapped region at address 0x0 ==25750== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25750== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25750== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25750== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25750== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25750== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25750== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25750== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25750== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25750== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25750== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25750== by 0x8065F8B: main (nginx.c:385) ==25750== If you believe this happened as a result of a stack ==25750== overflow in your program's main thread (unlikely but ==25750== possible), you can try to increase the size of the ==25750== main thread stack using the --main-stacksize= flag. ==25750== The main thread stack size used in this run was 8388608. ==25750== 2,048 bytes in 1 blocks are definitely lost in loss record 3,103 of 3,166 ==25750== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25750== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25750== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25750== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25750== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25750== by 0x408A511: ir_nextk (lj_ir.c:175) ==25750== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25750== by 0x409AE30: rec_upvalue (lj_record.c:1620) ==25750== by 0x40A054C: lj_record_ins (lj_record.c:2314) ==25750== by 0x40BB16A: trace_state (lj_trace.c:680) ==25750== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25750== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25750== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25750== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25750== by 0x407FA29: lua_resume (lj_api.c:1296) ==25750== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25750== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25750== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25750== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25750== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25750== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25750== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25750== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25750== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25750== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25750== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25750== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25750== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25750== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25750== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25750== by 0x8065F8B: main (nginx.c:385) ==25750== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:rec_upvalue fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache |
==25772== Invalid read of size 4 ==25772== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25772== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25772== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25772== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25772== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25772== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25772== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25772== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25772== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25772== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25772== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25772== by 0x8065F8B: main (nginx.c:385) ==25772== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25772== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 5: submatches, matched, no regex cache |
==25772== ==25772== Process terminating with default action of signal 11 (SIGSEGV) ==25772== Access not within mapped region at address 0x0 ==25772== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25772== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25772== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25772== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25772== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25772== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25772== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25772== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25772== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25772== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25772== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25772== by 0x8065F8B: main (nginx.c:385) ==25772== If you believe this happened as a result of a stack ==25772== overflow in your program's main thread (unlikely but ==25772== possible), you can try to increase the size of the ==25772== main thread stack using the --main-stacksize= flag. ==25772== The main thread stack size used in this run was 8388608. ==25772== 2,048 bytes in 1 blocks are definitely lost in loss record 3,103 of 3,166 ==25772== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==25772== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==25772== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25772== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25772== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==25772== by 0x408A511: ir_nextk (lj_ir.c:175) ==25772== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==25772== by 0x409AE30: rec_upvalue (lj_record.c:1620) ==25772== by 0x40A054C: lj_record_ins (lj_record.c:2314) ==25772== by 0x40BB16A: trace_state (lj_trace.c:680) ==25772== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25772== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25772== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25772== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25772== by 0x407FA29: lua_resume (lj_api.c:1296) ==25772== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25772== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25772== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25772== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25772== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25772== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25772== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25772== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25772== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25772== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25772== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25772== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25772== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25772== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25772== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25772== by 0x8065F8B: main (nginx.c:385) ==25772== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:rec_upvalue fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 11: unmatched captures are false |
==25786== Invalid read of size 4 ==25786== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25786== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25786== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25786== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25786== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25786== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25786== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25786== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25786== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25786== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25786== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25786== by 0x8065F8B: main (nginx.c:385) ==25786== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 11: unmatched captures are false |
==25786== ==25786== Process terminating with default action of signal 11 (SIGSEGV) ==25786== Access not within mapped region at address 0x0 ==25786== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25786== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25786== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25786== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25786== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25786== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25786== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25786== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25786== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25786== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25786== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25786== by 0x8065F8B: main (nginx.c:385) ==25786== If you believe this happened as a result of a stack ==25786== overflow in your program's main thread (unlikely but ==25786== possible), you can try to increase the size of the ==25786== main thread stack using the --main-stacksize= flag. ==25786== The main thread stack size used in this run was 8388608. ==25786== 1,024 bytes in 1 blocks are definitely lost in loss record 3,049 of 3,165 ==25786== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25786== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25786== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25786== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25786== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25786== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25786== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25786== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25786== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25786== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25786== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25786== by 0x40BB675: trace_state (lj_trace.c:690) ==25786== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25786== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25786== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25786== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25786== by 0x407FA29: lua_resume (lj_api.c:1296) ==25786== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25786== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25786== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25786== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25786== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25786== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25786== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25786== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25786== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25786== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25786== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25786== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25786== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25786== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25786== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25786== by 0x8065F8B: main (nginx.c:385) ==25786== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 11: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 11: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello! -hello -false -! ' |
stream/re-match.t | TEST 11: unmatched captures are false |
==25807== Invalid read of size 4 ==25807== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25807== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25807== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25807== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25807== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25807== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25807== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25807== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25807== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25807== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25807== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25807== by 0x8065F8B: main (nginx.c:385) ==25807== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25807== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 11: unmatched captures are false |
==25807== ==25807== Process terminating with default action of signal 11 (SIGSEGV) ==25807== Access not within mapped region at address 0x0 ==25807== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25807== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25807== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25807== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25807== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25807== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25807== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25807== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25807== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25807== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25807== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25807== by 0x8065F8B: main (nginx.c:385) ==25807== If you believe this happened as a result of a stack ==25807== overflow in your program's main thread (unlikely but ==25807== possible), you can try to increase the size of the ==25807== main thread stack using the --main-stacksize= flag. ==25807== The main thread stack size used in this run was 8388608. ==25807== 1,024 bytes in 1 blocks are definitely lost in loss record 3,049 of 3,165 ==25807== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25807== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25807== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25807== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25807== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25807== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25807== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25807== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25807== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25807== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25807== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25807== by 0x40BB675: trace_state (lj_trace.c:690) ==25807== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25807== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25807== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25807== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25807== by 0x407FA29: lua_resume (lj_api.c:1296) ==25807== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25807== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25807== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25807== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25807== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25807== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25807== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25807== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25807== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25807== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25807== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25807== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25807== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25807== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25807== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25807== by 0x8065F8B: main (nginx.c:385) ==25807== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-match.t | TEST 11: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 11: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello! -hello -false -! ' |
stream/re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused |
==25817== Invalid read of size 4 ==25817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25817== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25817== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25817== by 0x8065F8B: main (nginx.c:385) ==25817== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25817== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused |
==25817== ==25817== Process terminating with default action of signal 11 (SIGSEGV) ==25817== Access not within mapped region at address 0x0 ==25817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25817== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25817== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25817== by 0x8065F8B: main (nginx.c:385) ==25817== If you believe this happened as a result of a stack ==25817== overflow in your program's main thread (unlikely but ==25817== possible), you can try to increase the size of the ==25817== main thread stack using the --main-stacksize= flag. ==25817== The main thread stack size used in this run was 8388608. ==25817== 1,024 bytes in 1 blocks are definitely lost in loss record 3,064 of 3,185 ==25817== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25817== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25817== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25817== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25817== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25817== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25817== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25817== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25817== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25817== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25817== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25817== by 0x40BB675: trace_state (lj_trace.c:690) ==25817== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25817== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25817== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25817== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25817== by 0x407FA29: lua_resume (lj_api.c:1296) ==25817== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25817== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25817== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25817== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25817== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25817== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25817== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25817== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25817== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25817== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25817== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25817== by 0x8065F8B: main (nginx.c:385) ==25817== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 2: increase jit_stack_size - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'from: 1 to: 1563 ' |
stream/re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused |
==25818== Invalid read of size 4 ==25818== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25818== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25818== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25818== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25818== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25818== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25818== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25818== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25818== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25818== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25818== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25818== by 0x8065F8B: main (nginx.c:385) ==25818== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25818== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused |
==25818== ==25818== Process terminating with default action of signal 11 (SIGSEGV) ==25818== Access not within mapped region at address 0x0 ==25818== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25818== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25818== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25818== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25818== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25818== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25818== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25818== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25818== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25818== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25818== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25818== by 0x8065F8B: main (nginx.c:385) ==25818== If you believe this happened as a result of a stack ==25818== overflow in your program's main thread (unlikely but ==25818== possible), you can try to increase the size of the ==25818== main thread stack using the --main-stacksize= flag. ==25818== The main thread stack size used in this run was 8388608. ==25818== 1,024 bytes in 1 blocks are definitely lost in loss record 3,064 of 3,185 ==25818== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25818== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25818== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25818== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25818== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25818== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25818== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25818== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25818== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25818== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25818== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25818== by 0x40BB675: trace_state (lj_trace.c:690) ==25818== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25818== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25818== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25818== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25818== by 0x407FA29: lua_resume (lj_api.c:1296) ==25818== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25818== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25818== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25818== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25818== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25818== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25818== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25818== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25818== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25818== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25818== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25818== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25818== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25818== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25818== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25818== by 0x8065F8B: main (nginx.c:385) ==25818== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 2: increase jit_stack_size - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'from: 1 to: 1563 ' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error |
==25830== Invalid read of size 4 ==25830== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25830== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25830== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25830== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25830== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25830== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25830== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25830== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25830== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25830== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25830== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25830== by 0x8065F8B: main (nginx.c:385) ==25830== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25830== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error |
==25830== ==25830== Process terminating with default action of signal 11 (SIGSEGV) ==25830== Access not within mapped region at address 0x0 ==25830== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25830== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25830== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25830== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25830== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25830== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25830== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25830== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25830== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25830== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25830== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25830== by 0x8065F8B: main (nginx.c:385) ==25830== If you believe this happened as a result of a stack ==25830== overflow in your program's main thread (unlikely but ==25830== possible), you can try to increase the size of the ==25830== main thread stack using the --main-stacksize= flag. ==25830== The main thread stack size used in this run was 8388608. |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () |
'' doesn't match '(?^s:unrecognized option name$)' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error |
==25851== Invalid read of size 4 ==25851== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25851== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25851== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25851== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25851== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25851== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25851== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25851== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25851== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25851== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25851== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25851== by 0x8065F8B: main (nginx.c:385) ==25851== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25851== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error |
==25851== ==25851== Process terminating with default action of signal 11 (SIGSEGV) ==25851== Access not within mapped region at address 0x0 ==25851== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25851== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25851== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25851== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25851== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25851== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25851== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25851== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25851== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25851== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25851== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25851== by 0x8065F8B: main (nginx.c:385) ==25851== If you believe this happened as a result of a stack ==25851== overflow in your program's main thread (unlikely but ==25851== possible), you can try to increase the size of the ==25851== main thread stack using the --main-stacksize= flag. ==25851== The main thread stack size used in this run was 8388608. |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () |
'' doesn't match '(?^s:unrecognized option name$)' |
stream/re-opt.t | TEST 1: default jit_stack_size too small |
==25863== Invalid read of size 4 ==25863== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25863== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25863== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25863== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25863== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25863== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25863== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25863== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25863== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25863== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25863== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25863== by 0x8065F8B: main (nginx.c:385) ==25863== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25863== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 1: default jit_stack_size too small |
==25863== ==25863== Process terminating with default action of signal 11 (SIGSEGV) ==25863== Access not within mapped region at address 0x0 ==25863== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25863== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25863== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25863== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25863== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25863== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25863== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25863== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25863== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25863== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25863== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25863== by 0x8065F8B: main (nginx.c:385) ==25863== If you believe this happened as a result of a stack ==25863== overflow in your program's main thread (unlikely but ==25863== possible), you can try to increase the size of the ==25863== main thread stack using the --main-stacksize= flag. ==25863== The main thread stack size used in this run was 8388608. ==25863== 1,024 bytes in 1 blocks are definitely lost in loss record 3,066 of 3,185 ==25863== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25863== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25863== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25863== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25863== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25863== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25863== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25863== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25863== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25863== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25863== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25863== by 0x40BB675: trace_state (lj_trace.c:690) ==25863== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25863== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25863== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25863== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25863== by 0x407FA29: lua_resume (lj_api.c:1296) ==25863== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25863== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25863== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25863== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25863== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25863== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25863== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25863== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25863== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25863== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25863== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25863== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25863== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25863== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25863== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25863== by 0x8065F8B: main (nginx.c:385) ==25863== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 1: default jit_stack_size too small - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_exec() failed: -27 ' |
stream/re-opt.t | TEST 1: default jit_stack_size too small |
==25884== Invalid read of size 4 ==25884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25884== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25884== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25884== by 0x8065F8B: main (nginx.c:385) ==25884== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25884== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 1: default jit_stack_size too small |
==25884== ==25884== Process terminating with default action of signal 11 (SIGSEGV) ==25884== Access not within mapped region at address 0x0 ==25884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25884== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25884== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25884== by 0x8065F8B: main (nginx.c:385) ==25884== If you believe this happened as a result of a stack ==25884== overflow in your program's main thread (unlikely but ==25884== possible), you can try to increase the size of the ==25884== main thread stack using the --main-stacksize= flag. ==25884== The main thread stack size used in this run was 8388608. ==25884== 1,024 bytes in 1 blocks are definitely lost in loss record 3,066 of 3,185 ==25884== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25884== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25884== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25884== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25884== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25884== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25884== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25884== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25884== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25884== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25884== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25884== by 0x40BB675: trace_state (lj_trace.c:690) ==25884== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25884== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25884== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25884== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25884== by 0x407FA29: lua_resume (lj_api.c:1296) ==25884== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25884== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25884== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25884== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25884== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25884== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25884== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25884== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25884== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25884== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25884== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25884== by 0x8065F8B: main (nginx.c:385) ==25884== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 1: default jit_stack_size too small - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_exec() failed: -27 ' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated |
==25896== Invalid read of size 4 ==25896== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25896== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25896== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25896== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25896== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25896== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25896== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25896== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25896== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25896== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25896== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25896== by 0x8065F8B: main (nginx.c:385) ==25896== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25896== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated |
==25896== ==25896== Process terminating with default action of signal 11 (SIGSEGV) ==25896== Access not within mapped region at address 0x0 ==25896== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25896== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25896== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25896== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25896== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25896== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25896== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25896== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25896== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25896== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25896== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25896== by 0x8065F8B: main (nginx.c:385) ==25896== If you believe this happened as a result of a stack ==25896== overflow in your program's main thread (unlikely but ==25896== possible), you can try to increase the size of the ==25896== main thread stack using the --main-stacksize= flag. ==25896== The main thread stack size used in this run was 8388608. ==25896== 1,024 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,220 ==25896== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25896== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25896== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25896== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25896== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25896== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25896== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25896== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25896== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25896== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25896== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25896== by 0x40BB675: trace_state (lj_trace.c:690) ==25896== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25896== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25896== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25896== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25896== by 0x407FA29: lua_resume (lj_api.c:1296) ==25896== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25896== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25896== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25896== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25896== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25896== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25896== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25896== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25896== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25896== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25896== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25896== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25896== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25896== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25896== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25896== by 0x8065F8B: main (nginx.c:385) ==25896== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'from: 8 to: 8 ' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated |
==25917== Invalid read of size 4 ==25917== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25917== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25917== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25917== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25917== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25917== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25917== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25917== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25917== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25917== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25917== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25917== by 0x8065F8B: main (nginx.c:385) ==25917== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25917== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated |
==25917== ==25917== Process terminating with default action of signal 11 (SIGSEGV) ==25917== Access not within mapped region at address 0x0 ==25917== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25917== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25917== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25917== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25917== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25917== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25917== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25917== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25917== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25917== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25917== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25917== by 0x8065F8B: main (nginx.c:385) ==25917== If you believe this happened as a result of a stack ==25917== overflow in your program's main thread (unlikely but ==25917== possible), you can try to increase the size of the ==25917== main thread stack using the --main-stacksize= flag. ==25917== The main thread stack size used in this run was 8388608. ==25917== 1,024 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,220 ==25917== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25917== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25917== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25917== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25917== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25917== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25917== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25917== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25917== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25917== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25917== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25917== by 0x40BB675: trace_state (lj_trace.c:690) ==25917== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25917== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25917== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25917== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25917== by 0x407FA29: lua_resume (lj_api.c:1296) ==25917== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25917== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25917== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25917== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25917== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25917== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25917== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25917== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25917== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25917== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25917== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25917== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25917== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25917== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25917== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25917== by 0x8065F8B: main (nginx.c:385) ==25917== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'from: 8 to: 8 ' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - grep_error_log_out (req 1) |
got: '' expected: 'changing jit stack size is not allowed when some regexs have already been compiled and cached ' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==25929== Invalid read of size 4 ==25929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25929== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25929== by 0x8065F8B: main (nginx.c:385) ==25929== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25929== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==25929== ==25929== Process terminating with default action of signal 11 (SIGSEGV) ==25929== Access not within mapped region at address 0x0 ==25929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25929== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25929== by 0x8065F8B: main (nginx.c:385) ==25929== If you believe this happened as a result of a stack ==25929== overflow in your program's main thread (unlikely but ==25929== possible), you can try to increase the size of the ==25929== main thread stack using the --main-stacksize= flag. ==25929== The main thread stack size used in this run was 8388608. ==25929== 1,024 bytes in 1 blocks are definitely lost in loss record 3,083 of 3,205 ==25929== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25929== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25929== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25929== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25929== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25929== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25929== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25929== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25929== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25929== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25929== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25929== by 0x40BB675: trace_state (lj_trace.c:690) ==25929== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25929== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25929== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25929== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25929== by 0x407FA29: lua_resume (lj_api.c:1296) ==25929== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25929== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25929== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25929== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25929== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25929== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25929== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25929== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25929== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25929== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==25929== by 0x8065F8B: main (nginx.c:385) ==25929== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==25930== Invalid read of size 4 ==25930== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25930== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25930== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25930== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25930== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25930== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25930== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25930== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25930== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25930== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25930== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25930== by 0x8065F8B: main (nginx.c:385) ==25930== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25930== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==25930== ==25930== Process terminating with default action of signal 11 (SIGSEGV) ==25930== Access not within mapped region at address 0x0 ==25930== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25930== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25930== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25930== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25930== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25930== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25930== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25930== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25930== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25930== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25930== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25930== by 0x8065F8B: main (nginx.c:385) ==25930== If you believe this happened as a result of a stack ==25930== overflow in your program's main thread (unlikely but ==25930== possible), you can try to increase the size of the ==25930== main thread stack using the --main-stacksize= flag. ==25930== The main thread stack size used in this run was 8388608. ==25930== 1,024 bytes in 1 blocks are definitely lost in loss record 3,083 of 3,205 ==25930== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25930== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25930== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25930== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25930== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25930== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25930== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25930== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25930== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25930== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25930== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25930== by 0x40BB675: trace_state (lj_trace.c:690) ==25930== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25930== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25930== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25930== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25930== by 0x407FA29: lua_resume (lj_api.c:1296) ==25930== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25930== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25930== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25930== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25930== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25930== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25930== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25930== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25930== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25930== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25930== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25930== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25930== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25930== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25930== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25930== by 0x8065F8B: main (nginx.c:385) ==25930== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 22: regex is "" |
==25942== Invalid read of size 4 ==25942== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25942== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25942== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25942== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25942== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25942== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25942== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25942== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25942== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25942== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25942== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25942== by 0x8065F8B: main (nginx.c:385) ==25942== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25942== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 22: regex is "" |
==25942== ==25942== Process terminating with default action of signal 11 (SIGSEGV) ==25942== Access not within mapped region at address 0x0 ==25942== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25942== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25942== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25942== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25942== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25942== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25942== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25942== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25942== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25942== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25942== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25942== by 0x8065F8B: main (nginx.c:385) ==25942== If you believe this happened as a result of a stack ==25942== overflow in your program's main thread (unlikely but ==25942== possible), you can try to increase the size of the ==25942== main thread stack using the --main-stacksize= flag. ==25942== The main thread stack size used in this run was 8388608. ==25942== 1,024 bytes in 1 blocks are definitely lost in loss record 3,090 of 3,208 ==25942== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25942== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25942== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25942== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25942== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25942== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25942== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25942== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25942== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25942== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25942== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25942== by 0x40BB675: trace_state (lj_trace.c:690) ==25942== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25942== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25942== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25942== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25942== by 0x407FA29: lua_resume (lj_api.c:1296) ==25942== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25942== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25942== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25942== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25942== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25942== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25942== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25942== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25942== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25942== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25942== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25942== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25942== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25942== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25942== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25942== by 0x8065F8B: main (nginx.c:385) ==25942== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 22: regex is "" - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 22: regex is "" - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 2 3 4 5 len: 5 ' |
stream/re-split.t | TEST 22: regex is "" |
==25963== Invalid read of size 4 ==25963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25963== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25963== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25963== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25963== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25963== by 0x8065F8B: main (nginx.c:385) ==25963== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25963== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 22: regex is "" |
==25963== ==25963== Process terminating with default action of signal 11 (SIGSEGV) ==25963== Access not within mapped region at address 0x0 ==25963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25963== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25963== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25963== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25963== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25963== by 0x8065F8B: main (nginx.c:385) ==25963== If you believe this happened as a result of a stack ==25963== overflow in your program's main thread (unlikely but ==25963== possible), you can try to increase the size of the ==25963== main thread stack using the --main-stacksize= flag. ==25963== The main thread stack size used in this run was 8388608. ==25963== 1,024 bytes in 1 blocks are definitely lost in loss record 3,090 of 3,208 ==25963== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25963== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25963== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25963== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25963== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25963== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25963== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25963== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25963== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25963== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25963== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25963== by 0x40BB675: trace_state (lj_trace.c:690) ==25963== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25963== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25963== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25963== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25963== by 0x407FA29: lua_resume (lj_api.c:1296) ==25963== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25963== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25963== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25963== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25963== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25963== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25963== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25963== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25963== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25963== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25963== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25963== by 0x8065F8B: main (nginx.c:385) ==25963== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 22: regex is "" - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 22: regex is "" - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 2 3 4 5 len: 5 ' |
stream/re-split.t | TEST 20: subject is not a string type |
==25975== Invalid read of size 4 ==25975== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25975== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25975== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25975== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25975== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25975== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25975== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25975== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25975== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25975== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25975== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25975== by 0x8065F8B: main (nginx.c:385) ==25975== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25975== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 20: subject is not a string type |
==25975== ==25975== Process terminating with default action of signal 11 (SIGSEGV) ==25975== Access not within mapped region at address 0x0 ==25975== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25975== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25975== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25975== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25975== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25975== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25975== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25975== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25975== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25975== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25975== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25975== by 0x8065F8B: main (nginx.c:385) ==25975== If you believe this happened as a result of a stack ==25975== overflow in your program's main thread (unlikely but ==25975== possible), you can try to increase the size of the ==25975== main thread stack using the --main-stacksize= flag. ==25975== The main thread stack size used in this run was 8388608. ==25975== 1,024 bytes in 1 blocks are definitely lost in loss record 3,096 of 3,217 ==25975== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25975== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25975== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25975== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25975== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25975== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25975== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25975== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25975== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25975== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25975== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25975== by 0x40BB675: trace_state (lj_trace.c:690) ==25975== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25975== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25975== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25975== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25975== by 0x407FA29: lua_resume (lj_api.c:1296) ==25975== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25975== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25975== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25975== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25975== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25975== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25975== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25975== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25975== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25975== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25975== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25975== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25975== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25975== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==25975== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==25975== by 0x8065F8B: main (nginx.c:385) ==25975== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 20: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 20: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 451 45 ' |
stream/re-split.t | TEST 20: subject is not a string type |
==25996== Invalid read of size 4 ==25996== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25996== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25996== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25996== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25996== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25996== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25996== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25996== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25996== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25996== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25996== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25996== by 0x8065F8B: main (nginx.c:385) ==25996== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25996== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 20: subject is not a string type |
==25996== ==25996== Process terminating with default action of signal 11 (SIGSEGV) ==25996== Access not within mapped region at address 0x0 ==25996== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==25996== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==25996== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==25996== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==25996== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==25996== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25996== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25996== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25996== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25996== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25996== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25996== by 0x8065F8B: main (nginx.c:385) ==25996== If you believe this happened as a result of a stack ==25996== overflow in your program's main thread (unlikely but ==25996== possible), you can try to increase the size of the ==25996== main thread stack using the --main-stacksize= flag. ==25996== The main thread stack size used in this run was 8388608. ==25996== 1,024 bytes in 1 blocks are definitely lost in loss record 3,096 of 3,217 ==25996== at 0x402C768: realloc (vg_replace_malloc.c:834) ==25996== by 0x40CC146: mem_alloc (lib_aux.c:335) ==25996== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==25996== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==25996== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==25996== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==25996== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==25996== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==25996== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==25996== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25996== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==25996== by 0x40BB675: trace_state (lj_trace.c:690) ==25996== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25996== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==25996== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==25996== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==25996== by 0x407FA29: lua_resume (lj_api.c:1296) ==25996== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==25996== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==25996== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==25996== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==25996== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==25996== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==25996== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==25996== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==25996== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==25996== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==25996== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==25996== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==25996== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==25996== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==25996== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==25996== by 0x8065F8B: main (nginx.c:385) ==25996== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 20: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 20: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 451 45 ' |
stream/re-split.t | TEST 34: behavior with /^\d/m |
==26008== Invalid read of size 4 ==26008== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26008== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26008== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26008== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26008== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26008== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26008== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26008== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26008== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26008== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26008== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26008== by 0x8065F8B: main (nginx.c:385) ==26008== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26008== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 34: behavior with /^\d/m |
==26008== ==26008== Process terminating with default action of signal 11 (SIGSEGV) ==26008== Access not within mapped region at address 0x0 ==26008== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26008== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26008== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26008== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26008== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26008== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26008== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26008== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26008== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26008== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26008== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26008== by 0x8065F8B: main (nginx.c:385) ==26008== If you believe this happened as a result of a stack ==26008== overflow in your program's main thread (unlikely but ==26008== possible), you can try to increase the size of the ==26008== main thread stack using the --main-stacksize= flag. ==26008== The main thread stack size used in this run was 8388608. ==26008== 1,024 bytes in 1 blocks are definitely lost in loss record 3,076 of 3,194 ==26008== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26008== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26008== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26008== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26008== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26008== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26008== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26008== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26008== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26008== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26008== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26008== by 0x40BB675: trace_state (lj_trace.c:690) ==26008== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26008== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26008== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26008== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26008== by 0x407FA29: lua_resume (lj_api.c:1296) ==26008== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26008== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26008== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26008== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26008== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26008== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26008== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26008== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26008== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26008== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26008== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26008== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26008== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26008== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26008== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26008== by 0x8065F8B: main (nginx.c:385) ==26008== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 34: behavior with /^\d/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cdefg :hij len: 3 ' |
stream/re-split.t | TEST 34: behavior with /^\d/m |
==26029== Invalid read of size 4 ==26029== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26029== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26029== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26029== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26029== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26029== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26029== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26029== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26029== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26029== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26029== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26029== by 0x8065F8B: main (nginx.c:385) ==26029== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26029== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 34: behavior with /^\d/m |
==26029== ==26029== Process terminating with default action of signal 11 (SIGSEGV) ==26029== Access not within mapped region at address 0x0 ==26029== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26029== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26029== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26029== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26029== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26029== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26029== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26029== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26029== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26029== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26029== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26029== by 0x8065F8B: main (nginx.c:385) ==26029== If you believe this happened as a result of a stack ==26029== overflow in your program's main thread (unlikely but ==26029== possible), you can try to increase the size of the ==26029== main thread stack using the --main-stacksize= flag. ==26029== The main thread stack size used in this run was 8388608. ==26029== 1,024 bytes in 1 blocks are definitely lost in loss record 3,076 of 3,194 ==26029== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26029== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26029== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26029== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26029== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26029== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26029== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26029== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26029== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26029== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26029== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26029== by 0x40BB675: trace_state (lj_trace.c:690) ==26029== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26029== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26029== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26029== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26029== by 0x407FA29: lua_resume (lj_api.c:1296) ==26029== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26029== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26029== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26029== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26029== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26029== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26029== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26029== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26029== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26029== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26029== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26029== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26029== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26029== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26029== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26029== by 0x8065F8B: main (nginx.c:385) ==26029== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 34: behavior with /^\d/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cdefg :hij len: 3 ' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 |
==26041== Invalid read of size 4 ==26041== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26041== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26041== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26041== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26041== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26041== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26041== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26041== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26041== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26041== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26041== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26041== by 0x8065F8B: main (nginx.c:385) ==26041== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26041== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 |
==26041== ==26041== Process terminating with default action of signal 11 (SIGSEGV) ==26041== Access not within mapped region at address 0x0 ==26041== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26041== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26041== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26041== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26041== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26041== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26041== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26041== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26041== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26041== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26041== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26041== by 0x8065F8B: main (nginx.c:385) ==26041== If you believe this happened as a result of a stack ==26041== overflow in your program's main thread (unlikely but ==26041== possible), you can try to increase the size of the ==26041== main thread stack using the --main-stacksize= flag. ==26041== The main thread stack size used in this run was 8388608. ==26041== 1,024 bytes in 1 blocks are definitely lost in loss record 3,097 of 3,218 ==26041== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26041== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26041== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26041== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26041== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26041== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26041== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26041== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26041== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26041== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26041== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26041== by 0x40BB675: trace_state (lj_trace.c:690) ==26041== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26041== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26041== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26041== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26041== by 0x407FA29: lua_resume (lj_api.c:1296) ==26041== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26041== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26041== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26041== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26041== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26041== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26041== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26041== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26041== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26041== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26041== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26041== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26041== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26041== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26041== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26041== by 0x8065F8B: main (nginx.c:385) ==26041== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a,b,c,d,e ' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 |
==26062== Invalid read of size 4 ==26062== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26062== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26062== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26062== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26062== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26062== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26062== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26062== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26062== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26062== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26062== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26062== by 0x8065F8B: main (nginx.c:385) ==26062== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26062== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 |
==26062== ==26062== Process terminating with default action of signal 11 (SIGSEGV) ==26062== Access not within mapped region at address 0x0 ==26062== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26062== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26062== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26062== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26062== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26062== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26062== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26062== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26062== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26062== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26062== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26062== by 0x8065F8B: main (nginx.c:385) ==26062== If you believe this happened as a result of a stack ==26062== overflow in your program's main thread (unlikely but ==26062== possible), you can try to increase the size of the ==26062== main thread stack using the --main-stacksize= flag. ==26062== The main thread stack size used in this run was 8388608. ==26062== 1,024 bytes in 1 blocks are definitely lost in loss record 3,097 of 3,218 ==26062== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26062== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26062== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26062== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26062== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26062== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26062== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26062== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26062== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26062== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26062== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26062== by 0x40BB675: trace_state (lj_trace.c:690) ==26062== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26062== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26062== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26062== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26062== by 0x407FA29: lua_resume (lj_api.c:1296) ==26062== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26062== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26062== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26062== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26062== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26062== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26062== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26062== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26062== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26062== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26062== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26062== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26062== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26062== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26062== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26062== by 0x8065F8B: main (nginx.c:385) ==26062== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a,b,c,d,e ' |
stream/re-split.t | TEST 19: split no matches |
==26074== Invalid read of size 4 ==26074== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26074== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26074== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26074== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26074== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26074== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26074== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26074== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26074== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26074== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26074== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26074== by 0x8065F8B: main (nginx.c:385) ==26074== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26074== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 19: split no matches |
==26074== ==26074== Process terminating with default action of signal 11 (SIGSEGV) ==26074== Access not within mapped region at address 0x0 ==26074== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26074== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26074== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26074== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26074== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26074== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26074== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26074== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26074== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26074== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26074== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26074== by 0x8065F8B: main (nginx.c:385) ==26074== If you believe this happened as a result of a stack ==26074== overflow in your program's main thread (unlikely but ==26074== possible), you can try to increase the size of the ==26074== main thread stack using the --main-stacksize= flag. ==26074== The main thread stack size used in this run was 8388608. ==26074== 1,024 bytes in 1 blocks are definitely lost in loss record 3,077 of 3,198 ==26074== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26074== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26074== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26074== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26074== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26074== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26074== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26074== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26074== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26074== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26074== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26074== by 0x40BB675: trace_state (lj_trace.c:690) ==26074== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26074== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26074== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26074== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26074== by 0x407FA29: lua_resume (lj_api.c:1296) ==26074== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26074== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26074== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26074== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26074== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26074== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26074== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26074== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26074== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26074== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26074== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26074== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26074== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26074== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26074== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26074== by 0x8065F8B: main (nginx.c:385) ==26074== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 19: split no matches - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 19: split no matches - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'abcd ' |
stream/re-split.t | TEST 19: split no matches |
==26095== Invalid read of size 4 ==26095== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26095== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26095== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26095== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26095== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26095== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26095== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26095== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26095== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26095== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26095== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26095== by 0x8065F8B: main (nginx.c:385) ==26095== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26095== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 19: split no matches |
==26095== ==26095== Process terminating with default action of signal 11 (SIGSEGV) ==26095== Access not within mapped region at address 0x0 ==26095== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26095== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26095== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26095== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26095== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26095== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26095== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26095== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26095== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26095== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26095== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26095== by 0x8065F8B: main (nginx.c:385) ==26095== If you believe this happened as a result of a stack ==26095== overflow in your program's main thread (unlikely but ==26095== possible), you can try to increase the size of the ==26095== main thread stack using the --main-stacksize= flag. ==26095== The main thread stack size used in this run was 8388608. |
stream/re-split.t | TEST 19: split no matches - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 19: split no matches - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'abcd ' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module #1217) |
==26109== Invalid read of size 4 ==26109== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26109== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26109== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26109== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26109== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26109== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26109== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26109== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26109== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26109== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26109== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26109== by 0x8065F8B: main (nginx.c:385) ==26109== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26109== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module #1217) |
==26109== ==26109== Process terminating with default action of signal 11 (SIGSEGV) ==26109== Access not within mapped region at address 0x0 ==26109== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26109== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26109== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26109== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26109== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26109== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26109== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26109== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26109== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26109== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26109== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26109== by 0x8065F8B: main (nginx.c:385) ==26109== If you believe this happened as a result of a stack ==26109== overflow in your program's main thread (unlikely but ==26109== possible), you can try to increase the size of the ==26109== main thread stack using the --main-stacksize= flag. ==26109== The main thread stack size used in this run was 8388608. ==26109== 2,048 bytes in 1 blocks are definitely lost in loss record 3,149 of 3,213 ==26109== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26109== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26109== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26109== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26109== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==26109== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==26109== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26109== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26109== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26109== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26109== by 0x40BB675: trace_state (lj_trace.c:690) ==26109== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26109== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26109== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26109== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26109== by 0x407FA29: lua_resume (lj_api.c:1296) ==26109== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26109== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26109== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26109== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26109== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26109== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26109== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26109== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26109== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26109== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26109== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26109== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26109== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26109== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26109== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26109== by 0x8065F8B: main (nginx.c:385) ==26109== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '15 1|T|||||||||||||15 15 1|T|T||||||||||||15 15 1|T|T|T|||||||||||15 ' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module #1217) |
==26130== Invalid read of size 4 ==26130== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26130== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26130== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26130== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26130== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26130== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26130== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26130== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26130== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26130== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26130== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26130== by 0x8065F8B: main (nginx.c:385) ==26130== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26130== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module #1217) |
==26130== ==26130== Process terminating with default action of signal 11 (SIGSEGV) ==26130== Access not within mapped region at address 0x0 ==26130== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26130== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26130== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26130== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26130== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26130== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26130== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26130== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26130== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26130== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26130== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26130== by 0x8065F8B: main (nginx.c:385) ==26130== If you believe this happened as a result of a stack ==26130== overflow in your program's main thread (unlikely but ==26130== possible), you can try to increase the size of the ==26130== main thread stack using the --main-stacksize= flag. ==26130== The main thread stack size used in this run was 8388608. ==26130== 2,048 bytes in 1 blocks are definitely lost in loss record 3,149 of 3,213 ==26130== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26130== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26130== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26130== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26130== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==26130== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==26130== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26130== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26130== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26130== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26130== by 0x40BB675: trace_state (lj_trace.c:690) ==26130== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26130== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26130== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26130== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26130== by 0x407FA29: lua_resume (lj_api.c:1296) ==26130== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26130== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26130== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26130== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26130== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26130== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26130== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26130== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26130== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26130== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26130== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26130== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26130== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26130== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26130== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26130== by 0x8065F8B: main (nginx.c:385) ==26130== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '15 1|T|||||||||||||15 15 1|T|T||||||||||||15 15 1|T|T|T|||||||||||15 ' |
stream/re-split.t | TEST 29: no match separator bis (github issue #104) |
==26142== Invalid read of size 4 ==26142== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26142== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26142== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26142== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26142== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26142== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26142== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26142== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26142== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26142== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26142== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26142== by 0x8065F8B: main (nginx.c:385) ==26142== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26142== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 29: no match separator bis (github issue #104) |
==26142== ==26142== Process terminating with default action of signal 11 (SIGSEGV) ==26142== Access not within mapped region at address 0x0 ==26142== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26142== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26142== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26142== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26142== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26142== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26142== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26142== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26142== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26142== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26142== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26142== by 0x8065F8B: main (nginx.c:385) ==26142== If you believe this happened as a result of a stack ==26142== overflow in your program's main thread (unlikely but ==26142== possible), you can try to increase the size of the ==26142== main thread stack using the --main-stacksize= flag. ==26142== The main thread stack size used in this run was 8388608. ==26142== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==26142== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26142== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26142== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26142== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26142== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26142== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26142== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26142== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26142== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26142== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26142== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26142== by 0x40BB675: trace_state (lj_trace.c:690) ==26142== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26142== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26142== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26142== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26142== by 0x407FA29: lua_resume (lj_api.c:1296) ==26142== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26142== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26142== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26142== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26142== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26142== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26142== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26142== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26142== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26142== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26142== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26142== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26142== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26142== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26142== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26142== by 0x8065F8B: main (nginx.c:385) ==26142== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a::b::c::d len: 7 ' |
stream/re-split.t | TEST 29: no match separator bis (github issue #104) |
==26163== Invalid read of size 4 ==26163== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26163== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26163== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26163== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26163== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26163== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26163== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26163== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26163== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26163== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26163== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26163== by 0x8065F8B: main (nginx.c:385) ==26163== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26163== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 29: no match separator bis (github issue #104) |
==26163== ==26163== Process terminating with default action of signal 11 (SIGSEGV) ==26163== Access not within mapped region at address 0x0 ==26163== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26163== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26163== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26163== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26163== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26163== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26163== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26163== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26163== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26163== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26163== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26163== by 0x8065F8B: main (nginx.c:385) ==26163== If you believe this happened as a result of a stack ==26163== overflow in your program's main thread (unlikely but ==26163== possible), you can try to increase the size of the ==26163== main thread stack using the --main-stacksize= flag. ==26163== The main thread stack size used in this run was 8388608. ==26163== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==26163== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26163== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26163== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26163== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26163== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26163== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26163== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26163== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26163== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26163== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26163== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26163== by 0x40BB675: trace_state (lj_trace.c:690) ==26163== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26163== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26163== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26163== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26163== by 0x407FA29: lua_resume (lj_api.c:1296) ==26163== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26163== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26163== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26163== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26163== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26163== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26163== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26163== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26163== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26163== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26163== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26163== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26163== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26163== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26163== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26163== by 0x8065F8B: main (nginx.c:385) ==26163== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a::b::c::d len: 7 ' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) |
==26175== Invalid read of size 4 ==26175== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26175== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26175== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26175== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26175== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26175== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26175== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26175== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26175== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26175== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26175== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26175== by 0x8065F8B: main (nginx.c:385) ==26175== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26175== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) |
==26175== ==26175== Process terminating with default action of signal 11 (SIGSEGV) ==26175== Access not within mapped region at address 0x0 ==26175== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26175== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26175== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26175== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26175== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26175== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26175== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26175== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26175== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26175== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26175== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26175== by 0x8065F8B: main (nginx.c:385) ==26175== If you believe this happened as a result of a stack ==26175== overflow in your program's main thread (unlikely but ==26175== possible), you can try to increase the size of the ==26175== main thread stack using the --main-stacksize= flag. ==26175== The main thread stack size used in this run was 8388608. ==26175== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==26175== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26175== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26175== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26175== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26175== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26175== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26175== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26175== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26175== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26175== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26175== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26175== by 0x40BB675: trace_state (lj_trace.c:690) ==26175== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26175== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26175== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26175== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26175== by 0x407FA29: lua_resume (lj_api.c:1296) ==26175== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26175== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26175== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26175== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26175== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26175== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26175== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26175== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26175== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26175== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26175== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26175== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26175== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26175== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26175== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26175== by 0x8065F8B: main (nginx.c:385) ==26175== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '3 a|b|cd ' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) |
==26196== Invalid read of size 4 ==26196== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26196== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26196== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26196== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26196== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26196== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26196== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26196== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26196== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26196== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26196== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26196== by 0x8065F8B: main (nginx.c:385) ==26196== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26196== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) |
==26196== ==26196== Process terminating with default action of signal 11 (SIGSEGV) ==26196== Access not within mapped region at address 0x0 ==26196== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26196== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26196== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26196== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26196== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26196== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26196== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26196== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26196== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26196== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26196== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26196== by 0x8065F8B: main (nginx.c:385) ==26196== If you believe this happened as a result of a stack ==26196== overflow in your program's main thread (unlikely but ==26196== possible), you can try to increase the size of the ==26196== main thread stack using the --main-stacksize= flag. ==26196== The main thread stack size used in this run was 8388608. ==26196== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==26196== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26196== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26196== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26196== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26196== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26196== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26196== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26196== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26196== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26196== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26196== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26196== by 0x40BB675: trace_state (lj_trace.c:690) ==26196== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26196== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26196== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26196== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26196== by 0x407FA29: lua_resume (lj_api.c:1296) ==26196== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26196== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26196== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26196== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26196== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26196== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26196== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26196== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26196== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26196== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26196== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26196== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26196== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26196== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26196== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26196== by 0x8065F8B: main (nginx.c:385) ==26196== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '3 a|b|cd ' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache |
==26208== Invalid read of size 4 ==26208== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26208== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26208== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26208== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26208== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26208== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26208== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26208== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26208== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26208== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26208== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26208== by 0x8065F8B: main (nginx.c:385) ==26208== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26208== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache |
==26208== ==26208== Process terminating with default action of signal 11 (SIGSEGV) ==26208== Access not within mapped region at address 0x0 ==26208== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26208== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26208== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26208== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26208== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26208== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26208== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26208== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26208== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26208== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26208== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26208== by 0x8065F8B: main (nginx.c:385) ==26208== If you believe this happened as a result of a stack ==26208== overflow in your program's main thread (unlikely but ==26208== possible), you can try to increase the size of the ==26208== main thread stack using the --main-stacksize= flag. ==26208== The main thread stack size used in this run was 8388608. ==26208== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,213 ==26208== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26208== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26208== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26208== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26208== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26208== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26208== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26208== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26208== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26208== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26208== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26208== by 0x40BB675: trace_state (lj_trace.c:690) ==26208== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26208== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26208== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26208== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26208== by 0x407FA29: lua_resume (lj_api.c:1296) ==26208== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26208== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26208== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26208== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26208== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26208== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26208== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26208== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26208== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26208== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26208== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26208== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26208== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26208== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26208== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26208== by 0x8065F8B: main (nginx.c:385) ==26208== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d;e ' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache |
==26229== Invalid read of size 4 ==26229== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26229== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26229== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26229== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26229== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26229== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26229== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26229== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26229== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26229== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26229== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26229== by 0x8065F8B: main (nginx.c:385) ==26229== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26229== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache |
==26229== ==26229== Process terminating with default action of signal 11 (SIGSEGV) ==26229== Access not within mapped region at address 0x0 ==26229== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26229== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26229== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26229== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26229== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26229== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26229== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26229== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26229== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26229== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26229== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26229== by 0x8065F8B: main (nginx.c:385) ==26229== If you believe this happened as a result of a stack ==26229== overflow in your program's main thread (unlikely but ==26229== possible), you can try to increase the size of the ==26229== main thread stack using the --main-stacksize= flag. ==26229== The main thread stack size used in this run was 8388608. ==26229== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,213 ==26229== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26229== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26229== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26229== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26229== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26229== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26229== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26229== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26229== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26229== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26229== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26229== by 0x40BB675: trace_state (lj_trace.c:690) ==26229== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26229== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26229== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26229== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26229== by 0x407FA29: lua_resume (lj_api.c:1296) ==26229== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26229== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26229== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26229== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26229== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26229== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26229== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26229== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26229== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26229== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26229== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26229== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26229== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26229== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26229== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26229== by 0x8065F8B: main (nginx.c:385) ==26229== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d;e ' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split |
==26241== Invalid read of size 4 ==26241== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26241== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26241== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26241== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26241== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26241== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26241== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26241== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26241== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26241== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26241== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26241== by 0x8065F8B: main (nginx.c:385) ==26241== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26241== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split |
==26241== ==26241== Process terminating with default action of signal 11 (SIGSEGV) ==26241== Access not within mapped region at address 0x0 ==26241== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26241== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26241== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26241== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26241== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26241== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26241== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26241== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26241== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26241== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26241== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26241== by 0x8065F8B: main (nginx.c:385) ==26241== If you believe this happened as a result of a stack ==26241== overflow in your program's main thread (unlikely but ==26241== possible), you can try to increase the size of the ==26241== main thread stack using the --main-stacksize= flag. ==26241== The main thread stack size used in this run was 8388608. ==26241== 1,024 bytes in 1 blocks are definitely lost in loss record 3,080 of 3,201 ==26241== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26241== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26241== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26241== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26241== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26241== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26241== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26241== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26241== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26241== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26241== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26241== by 0x40BB675: trace_state (lj_trace.c:690) ==26241== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26241== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26241== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26241== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26241== by 0x407FA29: lua_resume (lj_api.c:1296) ==26241== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26241== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26241== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26241== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26241== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26241== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26241== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26241== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26241== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26241== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26241== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26241== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26241== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26241== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26241== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26241== by 0x8065F8B: main (nginx.c:385) ==26241== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab cd ef len: 1 ' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split |
==26262== Invalid read of size 4 ==26262== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26262== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26262== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26262== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26262== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26262== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26262== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26262== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26262== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26262== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26262== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26262== by 0x8065F8B: main (nginx.c:385) ==26262== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26262== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split |
==26262== ==26262== Process terminating with default action of signal 11 (SIGSEGV) ==26262== Access not within mapped region at address 0x0 ==26262== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26262== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26262== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26262== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26262== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26262== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26262== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26262== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26262== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26262== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26262== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26262== by 0x8065F8B: main (nginx.c:385) ==26262== If you believe this happened as a result of a stack ==26262== overflow in your program's main thread (unlikely but ==26262== possible), you can try to increase the size of the ==26262== main thread stack using the --main-stacksize= flag. ==26262== The main thread stack size used in this run was 8388608. ==26262== 1,024 bytes in 1 blocks are definitely lost in loss record 3,080 of 3,201 ==26262== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26262== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26262== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26262== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26262== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26262== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26262== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26262== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26262== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26262== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26262== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26262== by 0x40BB675: trace_state (lj_trace.c:690) ==26262== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26262== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26262== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26262== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26262== by 0x407FA29: lua_resume (lj_api.c:1296) ==26262== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26262== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26262== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26262== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26262== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26262== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26262== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26262== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26262== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26262== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26262== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26262== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26262== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26262== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26262== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26262== by 0x8065F8B: main (nginx.c:385) ==26262== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab cd ef len: 1 ' |
stream/re-split.t | TEST 27: no match separator (github issue #104) |
==26274== Invalid read of size 4 ==26274== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26274== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26274== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26274== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26274== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26274== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26274== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26274== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26274== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26274== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26274== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26274== by 0x8065F8B: main (nginx.c:385) ==26274== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26274== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 27: no match separator (github issue #104) |
==26274== ==26274== Process terminating with default action of signal 11 (SIGSEGV) ==26274== Access not within mapped region at address 0x0 ==26274== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26274== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26274== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26274== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26274== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26274== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26274== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26274== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26274== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26274== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26274== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26274== by 0x8065F8B: main (nginx.c:385) ==26274== If you believe this happened as a result of a stack ==26274== overflow in your program's main thread (unlikely but ==26274== possible), you can try to increase the size of the ==26274== main thread stack using the --main-stacksize= flag. ==26274== The main thread stack size used in this run was 8388608. ==26274== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==26274== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26274== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26274== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26274== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26274== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26274== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26274== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26274== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26274== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26274== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26274== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26274== by 0x40BB675: trace_state (lj_trace.c:690) ==26274== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26274== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26274== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26274== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26274== by 0x407FA29: lua_resume (lj_api.c:1296) ==26274== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26274== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26274== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26274== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26274== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26274== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26274== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26274== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26274== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26274== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26274== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26274== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26274== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26274== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26274== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26274== by 0x8065F8B: main (nginx.c:385) ==26274== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a:b:c:d len: 4 ' |
stream/re-split.t | TEST 27: no match separator (github issue #104) |
==26296== Invalid read of size 4 ==26296== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26296== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26296== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26296== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26296== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26296== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26296== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26296== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26296== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26296== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26296== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26296== by 0x8065F8B: main (nginx.c:385) ==26296== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26296== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 27: no match separator (github issue #104) |
==26296== ==26296== Process terminating with default action of signal 11 (SIGSEGV) ==26296== Access not within mapped region at address 0x0 ==26296== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26296== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26296== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26296== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26296== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26296== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26296== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26296== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26296== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26296== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26296== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26296== by 0x8065F8B: main (nginx.c:385) ==26296== If you believe this happened as a result of a stack ==26296== overflow in your program's main thread (unlikely but ==26296== possible), you can try to increase the size of the ==26296== main thread stack using the --main-stacksize= flag. ==26296== The main thread stack size used in this run was 8388608. ==26296== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==26296== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26296== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26296== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26296== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26296== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26296== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26296== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26296== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26296== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26296== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26296== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26296== by 0x40BB675: trace_state (lj_trace.c:690) ==26296== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26296== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26296== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26296== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26296== by 0x407FA29: lua_resume (lj_api.c:1296) ==26296== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26296== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26296== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26296== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26296== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26296== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26296== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26296== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26296== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26296== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26296== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26296== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26296== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26296== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26296== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26296== by 0x8065F8B: main (nginx.c:385) ==26296== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a:b:c:d len: 4 ' |
stream/re-split.t | TEST 31: behavior with /^/m |
==26310== Invalid read of size 4 ==26310== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26310== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26310== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26310== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26310== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26310== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26310== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26310== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26310== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26310== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26310== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26310== by 0x8065F8B: main (nginx.c:385) ==26310== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 31: behavior with /^/m |
==26310== ==26310== Process terminating with default action of signal 11 (SIGSEGV) ==26310== Access not within mapped region at address 0x0 ==26310== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26310== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26310== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26310== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26310== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26310== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26310== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26310== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26310== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26310== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26310== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26310== by 0x8065F8B: main (nginx.c:385) ==26310== If you believe this happened as a result of a stack ==26310== overflow in your program's main thread (unlikely but ==26310== possible), you can try to increase the size of the ==26310== main thread stack using the --main-stacksize= flag. ==26310== The main thread stack size used in this run was 8388608. |
stream/re-split.t | TEST 31: behavior with /^/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 31: behavior with /^/m - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cd :ef len: 3 ' |
stream/re-split.t | TEST 31: behavior with /^/m |
==26332== Invalid read of size 4 ==26332== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26332== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26332== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26332== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26332== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26332== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26332== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26332== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26332== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26332== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26332== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26332== by 0x8065F8B: main (nginx.c:385) ==26332== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26332== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 31: behavior with /^/m |
==26332== ==26332== Process terminating with default action of signal 11 (SIGSEGV) ==26332== Access not within mapped region at address 0x0 ==26332== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26332== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26332== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26332== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26332== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26332== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26332== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26332== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26332== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26332== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26332== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26332== by 0x8065F8B: main (nginx.c:385) ==26332== If you believe this happened as a result of a stack ==26332== overflow in your program's main thread (unlikely but ==26332== possible), you can try to increase the size of the ==26332== main thread stack using the --main-stacksize= flag. ==26332== The main thread stack size used in this run was 8388608. ==26332== 1,024 bytes in 1 blocks are definitely lost in loss record 2,990 of 3,086 ==26332== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26332== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26332== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26332== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26332== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26332== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26332== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26332== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26332== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26332== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26332== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26332== by 0x40BB675: trace_state (lj_trace.c:690) ==26332== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26332== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26332== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26332== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26332== by 0x407FA29: lua_resume (lj_api.c:1296) ==26332== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26332== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26332== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26332== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26332== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26332== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26332== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26332== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26332== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26332== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26332== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26332== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26332== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26332== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26332== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26332== by 0x8065F8B: main (nginx.c:385) ==26332== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 31: behavior with /^/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 31: behavior with /^/m - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cd :ef len: 3 ' |
stream/re-split.t | TEST 4: split matches + submatch (matching) |
==26344== Invalid read of size 4 ==26344== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26344== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26344== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26344== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26344== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26344== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26344== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26344== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26344== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26344== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26344== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26344== by 0x8065F8B: main (nginx.c:385) ==26344== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26344== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 4: split matches + submatch (matching) |
==26344== ==26344== Process terminating with default action of signal 11 (SIGSEGV) ==26344== Access not within mapped region at address 0x0 ==26344== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26344== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26344== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26344== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26344== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26344== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26344== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26344== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26344== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26344== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26344== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26344== by 0x8065F8B: main (nginx.c:385) ==26344== If you believe this happened as a result of a stack ==26344== overflow in your program's main thread (unlikely but ==26344== possible), you can try to increase the size of the ==26344== main thread stack using the --main-stacksize= flag. ==26344== The main thread stack size used in this run was 8388608. ==26344== 1,024 bytes in 1 blocks are definitely lost in loss record 3,081 of 3,202 ==26344== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26344== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26344== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26344== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26344== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26344== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26344== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26344== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26344== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26344== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26344== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26344== by 0x40BB675: trace_state (lj_trace.c:690) ==26344== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26344== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26344== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26344== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26344== by 0x407FA29: lua_resume (lj_api.c:1296) ==26344== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26344== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26344== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26344== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26344== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26344== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26344== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26344== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26344== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26344== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26344== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26344== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26344== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26344== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26344== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26344== by 0x8065F8B: main (nginx.c:385) ==26344== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 4: split matches + submatch (matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a ; b ; c ; d,e ' |
stream/re-split.t | TEST 4: split matches + submatch (matching) |
==26366== Invalid read of size 4 ==26366== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26366== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26366== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26366== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26366== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26366== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26366== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26366== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26366== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26366== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26366== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26366== by 0x8065F8B: main (nginx.c:385) ==26366== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26366== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 4: split matches + submatch (matching) |
==26366== ==26366== Process terminating with default action of signal 11 (SIGSEGV) ==26366== Access not within mapped region at address 0x0 ==26366== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26366== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26366== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26366== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26366== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26366== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26366== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26366== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26366== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26366== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26366== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26366== by 0x8065F8B: main (nginx.c:385) ==26366== If you believe this happened as a result of a stack ==26366== overflow in your program's main thread (unlikely but ==26366== possible), you can try to increase the size of the ==26366== main thread stack using the --main-stacksize= flag. ==26366== The main thread stack size used in this run was 8388608. ==26366== 1,024 bytes in 1 blocks are definitely lost in loss record 3,081 of 3,202 ==26366== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26366== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26366== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26366== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26366== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26366== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26366== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26366== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26366== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26366== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26366== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26366== by 0x40BB675: trace_state (lj_trace.c:690) ==26366== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26366== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26366== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26366== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26366== by 0x407FA29: lua_resume (lj_api.c:1296) ==26366== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26366== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26366== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26366== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26366== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26366== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26366== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26366== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26366== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26366== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26366== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26366== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26366== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26366== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26366== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26366== by 0x8065F8B: main (nginx.c:385) ==26366== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 4: split matches + submatch (matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a ; b ; c ; d,e ' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 |
==26378== Invalid read of size 4 ==26378== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26378== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26378== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26378== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26378== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26378== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26378== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26378== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26378== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26378== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26378== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26378== by 0x8065F8B: main (nginx.c:385) ==26378== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26378== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 |
==26378== ==26378== Process terminating with default action of signal 11 (SIGSEGV) ==26378== Access not within mapped region at address 0x0 ==26378== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26378== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26378== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26378== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26378== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26378== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26378== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26378== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26378== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26378== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26378== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26378== by 0x8065F8B: main (nginx.c:385) ==26378== If you believe this happened as a result of a stack ==26378== overflow in your program's main thread (unlikely but ==26378== possible), you can try to increase the size of the ==26378== main thread stack using the --main-stacksize= flag. ==26378== The main thread stack size used in this run was 8388608. ==26378== 1,024 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,220 ==26378== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26378== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26378== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26378== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26378== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26378== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26378== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26378== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26378== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26378== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26378== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26378== by 0x40BB675: trace_state (lj_trace.c:690) ==26378== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26378== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26378== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26378== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26378== by 0x407FA29: lua_resume (lj_api.c:1296) ==26378== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26378== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26378== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26378== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26378== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26378== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26378== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26378== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26378== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26378== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26378== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26378== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26378== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26378== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26378== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26378== by 0x8065F8B: main (nginx.c:385) ==26378== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 |
==26400== Invalid read of size 4 ==26400== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26400== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26400== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26400== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26400== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26400== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26400== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26400== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26400== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26400== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26400== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26400== by 0x8065F8B: main (nginx.c:385) ==26400== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 |
==26400== ==26400== Process terminating with default action of signal 11 (SIGSEGV) ==26400== Access not within mapped region at address 0x0 ==26400== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26400== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26400== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26400== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26400== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26400== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26400== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26400== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26400== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26400== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26400== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26400== by 0x8065F8B: main (nginx.c:385) ==26400== If you believe this happened as a result of a stack ==26400== overflow in your program's main thread (unlikely but ==26400== possible), you can try to increase the size of the ==26400== main thread stack using the --main-stacksize= flag. ==26400== The main thread stack size used in this run was 8388608. ==26400== 1,024 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,220 ==26400== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26400== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26400== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26400== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26400== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26400== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26400== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26400== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26400== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26400== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26400== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26400== by 0x40BB675: trace_state (lj_trace.c:690) ==26400== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26400== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26400== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26400== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26400== by 0x407FA29: lua_resume (lj_api.c:1296) ==26400== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26400== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26400== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26400== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26400== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26400== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26400== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26400== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26400== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26400== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26400== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26400== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26400== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26400== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26400== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26400== by 0x8065F8B: main (nginx.c:385) ==26400== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 18: split matches, real use-case |
==26413== Invalid read of size 4 ==26413== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26413== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26413== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26413== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26413== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26413== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26413== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26413== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26413== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26413== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26413== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26413== by 0x8065F8B: main (nginx.c:385) ==26413== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26413== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 18: split matches, real use-case |
==26413== ==26413== Process terminating with default action of signal 11 (SIGSEGV) ==26413== Access not within mapped region at address 0x0 ==26413== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26413== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26413== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26413== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26413== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26413== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26413== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26413== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26413== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26413== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26413== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26413== by 0x8065F8B: main (nginx.c:385) ==26413== If you believe this happened as a result of a stack ==26413== overflow in your program's main thread (unlikely but ==26413== possible), you can try to increase the size of the ==26413== main thread stack using the --main-stacksize= flag. ==26413== The main thread stack size used in this run was 8388608. ==26413== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,203 ==26413== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26413== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26413== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26413== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26413== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26413== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26413== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26413== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26413== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26413== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26413== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26413== by 0x40BB675: trace_state (lj_trace.c:690) ==26413== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26413== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26413== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26413== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26413== by 0x407FA29: lua_resume (lj_api.c:1296) ==26413== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26413== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26413== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26413== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26413== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26413== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26413== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26413== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26413== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26413== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26413== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26413== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26413== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26413== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26413== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26413== by 0x8065F8B: main (nginx.c:385) ==26413== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 18: split matches, real use-case - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 18: split matches, real use-case - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'abcd erfg ghij hello world aaa ' |
stream/re-split.t | TEST 18: split matches, real use-case |
==26434== Invalid read of size 4 ==26434== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26434== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26434== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26434== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26434== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26434== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26434== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26434== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26434== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26434== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26434== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26434== by 0x8065F8B: main (nginx.c:385) ==26434== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26434== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 18: split matches, real use-case |
==26434== ==26434== Process terminating with default action of signal 11 (SIGSEGV) ==26434== Access not within mapped region at address 0x0 ==26434== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26434== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26434== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26434== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26434== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26434== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26434== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26434== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26434== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26434== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26434== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26434== by 0x8065F8B: main (nginx.c:385) ==26434== If you believe this happened as a result of a stack ==26434== overflow in your program's main thread (unlikely but ==26434== possible), you can try to increase the size of the ==26434== main thread stack using the --main-stacksize= flag. ==26434== The main thread stack size used in this run was 8388608. ==26434== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,203 ==26434== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26434== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26434== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26434== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26434== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26434== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26434== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26434== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26434== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26434== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26434== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26434== by 0x40BB675: trace_state (lj_trace.c:690) ==26434== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26434== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26434== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26434== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26434== by 0x407FA29: lua_resume (lj_api.c:1296) ==26434== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26434== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26434== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26434== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26434== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26434== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26434== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26434== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26434== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26434== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26434== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26434== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26434== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26434== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26434== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26434== by 0x8065F8B: main (nginx.c:385) ==26434== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 18: split matches, real use-case - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 18: split matches, real use-case - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'abcd erfg ghij hello world aaa ' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) |
==26447== Invalid read of size 4 ==26447== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26447== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26447== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26447== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26447== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26447== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26447== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26447== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26447== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26447== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26447== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26447== by 0x8065F8B: main (nginx.c:385) ==26447== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26447== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) |
==26447== ==26447== Process terminating with default action of signal 11 (SIGSEGV) ==26447== Access not within mapped region at address 0x0 ==26447== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26447== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26447== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26447== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26447== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26447== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26447== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26447== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26447== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26447== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26447== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26447== by 0x8065F8B: main (nginx.c:385) ==26447== If you believe this happened as a result of a stack ==26447== overflow in your program's main thread (unlikely but ==26447== possible), you can try to increase the size of the ==26447== main thread stack using the --main-stacksize= flag. ==26447== The main thread stack size used in this run was 8388608. ==26447== 1,024 bytes in 1 blocks are definitely lost in loss record 3,081 of 3,199 ==26447== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26447== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26447== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26447== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26447== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26447== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26447== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26447== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26447== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26447== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26447== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26447== by 0x40BB675: trace_state (lj_trace.c:690) ==26447== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26447== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26447== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26447== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26447== by 0x407FA29: lua_resume (lj_api.c:1296) ==26447== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26447== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26447== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26447== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26447== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26447== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26447== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26447== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26447== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26447== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26447== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26447== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26447== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26447== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26447== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26447== by 0x8065F8B: main (nginx.c:385) ==26447== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :1:cdefg :2:hij len: 5 ' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) |
==26468== Invalid read of size 4 ==26468== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26468== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26468== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26468== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26468== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26468== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26468== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26468== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26468== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26468== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26468== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26468== by 0x8065F8B: main (nginx.c:385) ==26468== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26468== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) |
==26468== ==26468== Process terminating with default action of signal 11 (SIGSEGV) ==26468== Access not within mapped region at address 0x0 ==26468== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26468== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26468== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26468== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26468== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26468== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26468== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26468== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26468== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26468== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26468== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26468== by 0x8065F8B: main (nginx.c:385) ==26468== If you believe this happened as a result of a stack ==26468== overflow in your program's main thread (unlikely but ==26468== possible), you can try to increase the size of the ==26468== main thread stack using the --main-stacksize= flag. ==26468== The main thread stack size used in this run was 8388608. ==26468== 1,024 bytes in 1 blocks are definitely lost in loss record 3,081 of 3,199 ==26468== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26468== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26468== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26468== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26468== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26468== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26468== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26468== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26468== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26468== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26468== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26468== by 0x40BB675: trace_state (lj_trace.c:690) ==26468== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26468== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26468== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26468== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26468== by 0x407FA29: lua_resume (lj_api.c:1296) ==26468== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26468== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26468== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26468== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26468== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26468== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26468== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26468== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26468== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26468== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26468== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26468== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26468== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26468== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26468== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26468== by 0x8065F8B: main (nginx.c:385) ==26468== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :1:cdefg :2:hij len: 5 ' |
stream/re-split.t | TEST 33: behavior with /^/m & max |
==26481== Invalid read of size 4 ==26481== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26481== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26481== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26481== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26481== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26481== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26481== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26481== by 0x8065F8B: main (nginx.c:385) ==26481== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26481== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 33: behavior with /^/m & max |
==26481== ==26481== Process terminating with default action of signal 11 (SIGSEGV) ==26481== Access not within mapped region at address 0x0 ==26481== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26481== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26481== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26481== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26481== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26481== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26481== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26481== by 0x8065F8B: main (nginx.c:385) ==26481== If you believe this happened as a result of a stack ==26481== overflow in your program's main thread (unlikely but ==26481== possible), you can try to increase the size of the ==26481== main thread stack using the --main-stacksize= flag. ==26481== The main thread stack size used in this run was 8388608. ==26481== 1,024 bytes in 1 blocks are definitely lost in loss record 3,088 of 3,208 ==26481== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26481== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26481== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26481== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26481== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26481== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26481== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26481== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26481== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26481== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26481== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26481== by 0x40BB675: trace_state (lj_trace.c:690) ==26481== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26481== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26481== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26481== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26481== by 0x407FA29: lua_resume (lj_api.c:1296) ==26481== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26481== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26481== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26481== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26481== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26481== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26481== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26481== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26481== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26481== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26481== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26481== by 0x8065F8B: main (nginx.c:385) ==26481== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 33: behavior with /^/m & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cd ef len: 2 ' |
stream/re-split.t | TEST 33: behavior with /^/m & max |
==26504== Invalid read of size 4 ==26504== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26504== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26504== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26504== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26504== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26504== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26504== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26504== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26504== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26504== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26504== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26504== by 0x8065F8B: main (nginx.c:385) ==26504== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26504== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 33: behavior with /^/m & max |
==26504== ==26504== Process terminating with default action of signal 11 (SIGSEGV) ==26504== Access not within mapped region at address 0x0 ==26504== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26504== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26504== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26504== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26504== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26504== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26504== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26504== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26504== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26504== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26504== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26504== by 0x8065F8B: main (nginx.c:385) ==26504== If you believe this happened as a result of a stack ==26504== overflow in your program's main thread (unlikely but ==26504== possible), you can try to increase the size of the ==26504== main thread stack using the --main-stacksize= flag. ==26504== The main thread stack size used in this run was 8388608. ==26504== 1,024 bytes in 1 blocks are definitely lost in loss record 3,088 of 3,208 ==26504== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26504== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26504== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26504== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26504== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26504== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26504== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26504== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26504== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26504== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26504== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26504== by 0x40BB675: trace_state (lj_trace.c:690) ==26504== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26504== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26504== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26504== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26504== by 0x407FA29: lua_resume (lj_api.c:1296) ==26504== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26504== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26504== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26504== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26504== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26504== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26504== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26504== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26504== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26504== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26504== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26504== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26504== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26504== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26504== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26504== by 0x8065F8B: main (nginx.c:385) ==26504== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 33: behavior with /^/m & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cd ef len: 2 ' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) |
==26517== Invalid read of size 4 ==26517== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26517== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26517== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26517== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26517== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26517== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26517== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26517== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26517== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26517== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26517== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26517== by 0x8065F8B: main (nginx.c:385) ==26517== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26517== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 5: split matches + submatch (not matching) |
==26517== ==26517== Process terminating with default action of signal 11 (SIGSEGV) ==26517== Access not within mapped region at address 0x0 ==26517== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26517== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26517== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26517== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26517== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26517== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26517== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26517== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26517== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26517== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26517== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26517== by 0x8065F8B: main (nginx.c:385) ==26517== If you believe this happened as a result of a stack ==26517== overflow in your program's main thread (unlikely but ==26517== possible), you can try to increase the size of the ==26517== main thread stack using the --main-stacksize= flag. ==26517== The main thread stack size used in this run was 8388608. ==26517== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,203 ==26517== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26517== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26517== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26517== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26517== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26517== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26517== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26517== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26517== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26517== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26517== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26517== by 0x40BB675: trace_state (lj_trace.c:690) ==26517== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26517== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26517== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26517== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26517== by 0x407FA29: lua_resume (lj_api.c:1296) ==26517== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26517== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26517== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26517== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26517== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26517== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26517== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26517== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26517== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26517== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26517== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26517== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26517== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26517== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26517== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26517== by 0x8065F8B: main (nginx.c:385) ==26517== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) |
==26538== Invalid read of size 4 ==26538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26538== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26538== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26538== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26538== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26538== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26538== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26538== by 0x8065F8B: main (nginx.c:385) ==26538== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26538== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 5: split matches + submatch (not matching) |
==26538== ==26538== Process terminating with default action of signal 11 (SIGSEGV) ==26538== Access not within mapped region at address 0x0 ==26538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26538== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26538== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26538== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26538== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26538== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26538== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26538== by 0x8065F8B: main (nginx.c:385) ==26538== If you believe this happened as a result of a stack ==26538== overflow in your program's main thread (unlikely but ==26538== possible), you can try to increase the size of the ==26538== main thread stack using the --main-stacksize= flag. ==26538== The main thread stack size used in this run was 8388608. ==26538== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,203 ==26538== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26538== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26538== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26538== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26538== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26538== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26538== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26538== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26538== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26538== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26538== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26538== by 0x40BB675: trace_state (lj_trace.c:690) ==26538== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26538== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26538== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26538== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26538== by 0x407FA29: lua_resume (lj_api.c:1296) ==26538== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26538== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26538== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26538== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26538== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26538== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26538== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26538== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26538== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26538== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26538== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26538== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26538== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26538== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26538== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26538== by 0x8065F8B: main (nginx.c:385) ==26538== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 26: regex is "" with pos & max |
==26551== Invalid read of size 4 ==26551== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26551== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26551== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26551== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26551== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26551== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26551== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26551== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26551== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26551== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26551== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26551== by 0x8065F8B: main (nginx.c:385) ==26551== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26551== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 26: regex is "" with pos & max |
==26551== ==26551== Process terminating with default action of signal 11 (SIGSEGV) ==26551== Access not within mapped region at address 0x0 ==26551== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26551== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26551== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26551== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26551== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26551== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26551== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26551== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26551== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26551== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26551== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26551== by 0x8065F8B: main (nginx.c:385) ==26551== If you believe this happened as a result of a stack ==26551== overflow in your program's main thread (unlikely but ==26551== possible), you can try to increase the size of the ==26551== main thread stack using the --main-stacksize= flag. ==26551== The main thread stack size used in this run was 8388608. ==26551== 1,024 bytes in 1 blocks are definitely lost in loss record 3,101 of 3,222 ==26551== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26551== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26551== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26551== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26551== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26551== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26551== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26551== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26551== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26551== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26551== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26551== by 0x40BB675: trace_state (lj_trace.c:690) ==26551== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26551== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26551== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26551== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26551== by 0x407FA29: lua_resume (lj_api.c:1296) ==26551== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26551== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26551== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26551== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26551== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26551== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26551== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26551== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26551== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26551== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26551== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26551== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26551== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26551== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26551== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26551== by 0x8065F8B: main (nginx.c:385) ==26551== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 26: regex is "" with pos & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '2 345 len: 2 ' |
stream/re-split.t | TEST 26: regex is "" with pos & max |
==26572== Invalid read of size 4 ==26572== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26572== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26572== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26572== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26572== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26572== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26572== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26572== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26572== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26572== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26572== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26572== by 0x8065F8B: main (nginx.c:385) ==26572== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26572== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 26: regex is "" with pos & max |
==26572== ==26572== Process terminating with default action of signal 11 (SIGSEGV) ==26572== Access not within mapped region at address 0x0 ==26572== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26572== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26572== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26572== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26572== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26572== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26572== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26572== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26572== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26572== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26572== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26572== by 0x8065F8B: main (nginx.c:385) ==26572== If you believe this happened as a result of a stack ==26572== overflow in your program's main thread (unlikely but ==26572== possible), you can try to increase the size of the ==26572== main thread stack using the --main-stacksize= flag. ==26572== The main thread stack size used in this run was 8388608. ==26572== 1,024 bytes in 1 blocks are definitely lost in loss record 3,101 of 3,222 ==26572== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26572== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26572== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26572== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26572== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26572== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26572== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26572== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26572== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26572== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26572== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26572== by 0x40BB675: trace_state (lj_trace.c:690) ==26572== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26572== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26572== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26572== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26572== by 0x407FA29: lua_resume (lj_api.c:1296) ==26572== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26572== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26572== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26572== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26572== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26572== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26572== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26572== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26572== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26572== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26572== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26572== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26572== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26572== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26572== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26572== by 0x8065F8B: main (nginx.c:385) ==26572== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 26: regex is "" with pos & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '2 345 len: 2 ' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length |
==26585== Invalid read of size 4 ==26585== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26585== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26585== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26585== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26585== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26585== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26585== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26585== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26585== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26585== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26585== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26585== by 0x8065F8B: main (nginx.c:385) ==26585== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26585== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length |
==26585== ==26585== Process terminating with default action of signal 11 (SIGSEGV) ==26585== Access not within mapped region at address 0x0 ==26585== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26585== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26585== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26585== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26585== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26585== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26585== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26585== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26585== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26585== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26585== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26585== by 0x8065F8B: main (nginx.c:385) ==26585== If you believe this happened as a result of a stack ==26585== overflow in your program's main thread (unlikely but ==26585== possible), you can try to increase the size of the ==26585== main thread stack using the --main-stacksize= flag. ==26585== The main thread stack size used in this run was 8388608. |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length |
==26606== Invalid read of size 4 ==26606== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26606== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26606== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26606== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26606== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26606== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26606== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26606== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26606== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26606== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26606== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26606== by 0x8065F8B: main (nginx.c:385) ==26606== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26606== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length |
==26606== ==26606== Process terminating with default action of signal 11 (SIGSEGV) ==26606== Access not within mapped region at address 0x0 ==26606== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26606== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26606== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26606== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26606== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26606== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26606== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26606== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26606== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26606== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26606== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26606== by 0x8065F8B: main (nginx.c:385) ==26606== If you believe this happened as a result of a stack ==26606== overflow in your program's main thread (unlikely but ==26606== possible), you can try to increase the size of the ==26606== main thread stack using the --main-stacksize= flag. ==26606== The main thread stack size used in this run was 8388608. |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache |
==26619== Invalid read of size 4 ==26619== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26619== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26619== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26619== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26619== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26619== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26619== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26619== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26619== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26619== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26619== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26619== by 0x8065F8B: main (nginx.c:385) ==26619== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26619== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache |
==26619== ==26619== Process terminating with default action of signal 11 (SIGSEGV) ==26619== Access not within mapped region at address 0x0 ==26619== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26619== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26619== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26619== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26619== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26619== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26619== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26619== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26619== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26619== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26619== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26619== by 0x8065F8B: main (nginx.c:385) ==26619== If you believe this happened as a result of a stack ==26619== overflow in your program's main thread (unlikely but ==26619== possible), you can try to increase the size of the ==26619== main thread stack using the --main-stacksize= flag. ==26619== The main thread stack size used in this run was 8388608. ==26619== 1,024 bytes in 1 blocks are definitely lost in loss record 3,096 of 3,217 ==26619== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26619== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26619== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26619== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26619== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26619== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26619== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26619== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26619== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26619== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26619== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26619== by 0x40BB675: trace_state (lj_trace.c:690) ==26619== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26619== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26619== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26619== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26619== by 0x407FA29: lua_resume (lj_api.c:1296) ==26619== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26619== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26619== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26619== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26619== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26619== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26619== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26619== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26619== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26619== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26619== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26619== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26619== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26619== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26619== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26619== by 0x8065F8B: main (nginx.c:385) ==26619== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache |
==26640== Invalid read of size 4 ==26640== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26640== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26640== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26640== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26640== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26640== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26640== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26640== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26640== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26640== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26640== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26640== by 0x8065F8B: main (nginx.c:385) ==26640== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26640== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache |
==26640== ==26640== Process terminating with default action of signal 11 (SIGSEGV) ==26640== Access not within mapped region at address 0x0 ==26640== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26640== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26640== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26640== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26640== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26640== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26640== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26640== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26640== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26640== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26640== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26640== by 0x8065F8B: main (nginx.c:385) ==26640== If you believe this happened as a result of a stack ==26640== overflow in your program's main thread (unlikely but ==26640== possible), you can try to increase the size of the ==26640== main thread stack using the --main-stacksize= flag. ==26640== The main thread stack size used in this run was 8388608. ==26640== 1,024 bytes in 1 blocks are definitely lost in loss record 3,096 of 3,217 ==26640== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26640== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26640== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26640== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26640== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26640== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26640== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26640== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26640== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26640== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26640== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26640== by 0x40BB675: trace_state (lj_trace.c:690) ==26640== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26640== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26640== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26640== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26640== by 0x407FA29: lua_resume (lj_api.c:1296) ==26640== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26640== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26640== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26640== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26640== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26640== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26640== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26640== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26640== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26640== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26640== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26640== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26640== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26640== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26640== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26640== by 0x8065F8B: main (nginx.c:385) ==26640== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) |
==26653== Invalid read of size 4 ==26653== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26653== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26653== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26653== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26653== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26653== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26653== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26653== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26653== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26653== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26653== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26653== by 0x8065F8B: main (nginx.c:385) ==26653== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26653== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) |
==26653== ==26653== Process terminating with default action of signal 11 (SIGSEGV) ==26653== Access not within mapped region at address 0x0 ==26653== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26653== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26653== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26653== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26653== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26653== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26653== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26653== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26653== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26653== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26653== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26653== by 0x8065F8B: main (nginx.c:385) ==26653== If you believe this happened as a result of a stack ==26653== overflow in your program's main thread (unlikely but ==26653== possible), you can try to increase the size of the ==26653== main thread stack using the --main-stacksize= flag. ==26653== The main thread stack size used in this run was 8388608. ==26653== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,215 ==26653== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26653== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26653== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26653== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26653== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26653== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26653== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26653== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26653== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26653== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26653== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26653== by 0x40BB675: trace_state (lj_trace.c:690) ==26653== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26653== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26653== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26653== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26653== by 0x407FA29: lua_resume (lj_api.c:1296) ==26653== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26653== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26653== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26653== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26653== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26653== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26653== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26653== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26653== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26653== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26653== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26653== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26653== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26653== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26653== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26653== by 0x8065F8B: main (nginx.c:385) ==26653== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 a,b,cd,,, 2 a|b,cd,,, 3 a|b|cd,,, 4 a|b|cd|,, 5 a|b|cd||, 6 a|b|cd||| 6 a|b|cd||| ' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) |
==26675== Invalid read of size 4 ==26675== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26675== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26675== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26675== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26675== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26675== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26675== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26675== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26675== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26675== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26675== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26675== by 0x8065F8B: main (nginx.c:385) ==26675== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26675== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) |
==26675== ==26675== Process terminating with default action of signal 11 (SIGSEGV) ==26675== Access not within mapped region at address 0x0 ==26675== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26675== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26675== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26675== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26675== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26675== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26675== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26675== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26675== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26675== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26675== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26675== by 0x8065F8B: main (nginx.c:385) ==26675== If you believe this happened as a result of a stack ==26675== overflow in your program's main thread (unlikely but ==26675== possible), you can try to increase the size of the ==26675== main thread stack using the --main-stacksize= flag. ==26675== The main thread stack size used in this run was 8388608. ==26675== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,215 ==26675== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26675== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26675== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26675== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26675== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26675== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26675== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26675== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26675== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26675== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26675== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26675== by 0x40BB675: trace_state (lj_trace.c:690) ==26675== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26675== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26675== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26675== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26675== by 0x407FA29: lua_resume (lj_api.c:1296) ==26675== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26675== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26675== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26675== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26675== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26675== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26675== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26675== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26675== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26675== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26675== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26675== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26675== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26675== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26675== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26675== by 0x8065F8B: main (nginx.c:385) ==26675== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 a,b,cd,,, 2 a|b,cd,,, 3 a|b|cd,,, 4 a|b|cd|,, 5 a|b|cd||, 6 a|b|cd||| 6 a|b|cd||| ' |
stream/re-split.t | TEST 16: split matches, ctx arg |
==26689== Invalid read of size 4 ==26689== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26689== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26689== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26689== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26689== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26689== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26689== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26689== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26689== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26689== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26689== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26689== by 0x8065F8B: main (nginx.c:385) ==26689== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 16: split matches, ctx arg |
==26689== ==26689== Process terminating with default action of signal 11 (SIGSEGV) ==26689== Access not within mapped region at address 0x0 ==26689== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26689== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26689== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26689== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26689== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26689== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26689== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26689== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26689== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26689== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26689== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26689== by 0x8065F8B: main (nginx.c:385) ==26689== If you believe this happened as a result of a stack ==26689== overflow in your program's main thread (unlikely but ==26689== possible), you can try to increase the size of the ==26689== main thread stack using the --main-stacksize= flag. ==26689== The main thread stack size used in this run was 8388608. ==26689== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,206 ==26689== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26689== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26689== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26689== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26689== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26689== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26689== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26689== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26689== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26689== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26689== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26689== by 0x40BB675: trace_state (lj_trace.c:690) ==26689== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26689== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26689== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26689== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26689== by 0x407FA29: lua_resume (lj_api.c:1296) ==26689== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26689== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26689== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26689== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26689== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26689== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26689== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26689== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26689== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26689== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26689== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26689== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26689== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26689== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26689== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26689== by 0x8065F8B: main (nginx.c:385) ==26689== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 16: split matches, ctx arg - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'c d e ' |
stream/re-split.t | TEST 16: split matches, ctx arg |
==26710== Invalid read of size 4 ==26710== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26710== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26710== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26710== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26710== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26710== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26710== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26710== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26710== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26710== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26710== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26710== by 0x8065F8B: main (nginx.c:385) ==26710== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26710== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 16: split matches, ctx arg |
==26710== ==26710== Process terminating with default action of signal 11 (SIGSEGV) ==26710== Access not within mapped region at address 0x0 ==26710== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26710== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26710== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26710== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26710== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26710== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26710== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26710== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26710== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26710== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26710== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26710== by 0x8065F8B: main (nginx.c:385) ==26710== If you believe this happened as a result of a stack ==26710== overflow in your program's main thread (unlikely but ==26710== possible), you can try to increase the size of the ==26710== main thread stack using the --main-stacksize= flag. ==26710== The main thread stack size used in this run was 8388608. ==26710== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,206 ==26710== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26710== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26710== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26710== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26710== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26710== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26710== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26710== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26710== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26710== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26710== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26710== by 0x40BB675: trace_state (lj_trace.c:690) ==26710== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26710== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26710== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26710== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26710== by 0x407FA29: lua_resume (lj_api.c:1296) ==26710== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26710== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26710== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26710== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26710== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26710== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26710== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26710== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26710== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26710== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26710== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26710== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26710== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26710== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26710== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26710== by 0x8065F8B: main (nginx.c:385) ==26710== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 16: split matches, ctx arg - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'c d e ' |
stream/re-split.t | TEST 11: split matches, provided res table |
==26723== Invalid read of size 4 ==26723== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26723== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26723== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26723== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26723== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26723== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26723== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26723== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26723== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26723== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26723== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26723== by 0x8065F8B: main (nginx.c:385) ==26723== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26723== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 11: split matches, provided res table |
==26723== ==26723== Process terminating with default action of signal 11 (SIGSEGV) ==26723== Access not within mapped region at address 0x0 ==26723== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26723== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26723== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26723== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26723== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26723== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26723== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26723== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26723== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26723== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26723== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26723== by 0x8065F8B: main (nginx.c:385) ==26723== If you believe this happened as a result of a stack ==26723== overflow in your program's main thread (unlikely but ==26723== possible), you can try to increase the size of the ==26723== main thread stack using the --main-stacksize= flag. ==26723== The main thread stack size used in this run was 8388608. ==26723== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,197 ==26723== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26723== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26723== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26723== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26723== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26723== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26723== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26723== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26723== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26723== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26723== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26723== by 0x40BB675: trace_state (lj_trace.c:690) ==26723== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26723== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26723== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26723== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26723== by 0x407FA29: lua_resume (lj_api.c:1296) ==26723== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26723== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26723== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26723== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26723== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26723== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26723== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26723== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26723== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26723== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26723== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26723== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26723== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26723== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26723== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26723== by 0x8065F8B: main (nginx.c:385) ==26723== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 11: split matches, provided res table - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 11: split matches, provided res table - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 11: split matches, provided res table |
==26744== Invalid read of size 4 ==26744== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26744== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26744== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26744== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26744== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26744== by 0x8065F8B: main (nginx.c:385) ==26744== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26744== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 11: split matches, provided res table |
==26744== ==26744== Process terminating with default action of signal 11 (SIGSEGV) ==26744== Access not within mapped region at address 0x0 ==26744== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26744== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26744== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26744== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26744== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26744== by 0x8065F8B: main (nginx.c:385) ==26744== If you believe this happened as a result of a stack ==26744== overflow in your program's main thread (unlikely but ==26744== possible), you can try to increase the size of the ==26744== main thread stack using the --main-stacksize= flag. ==26744== The main thread stack size used in this run was 8388608. ==26744== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,197 ==26744== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26744== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26744== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26744== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26744== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26744== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26744== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26744== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26744== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26744== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26744== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26744== by 0x40BB675: trace_state (lj_trace.c:690) ==26744== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26744== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26744== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26744== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26744== by 0x407FA29: lua_resume (lj_api.c:1296) ==26744== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26744== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26744== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26744== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26744== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26744== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26744== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26744== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26744== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26744== by 0x8065F8B: main (nginx.c:385) ==26744== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 11: split matches, provided res table - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 11: split matches, provided res table - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter |
==26757== Invalid read of size 4 ==26757== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26757== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26757== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26757== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26757== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26757== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26757== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26757== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26757== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26757== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26757== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26757== by 0x8065F8B: main (nginx.c:385) ==26757== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter |
==26757== ==26757== Process terminating with default action of signal 11 (SIGSEGV) ==26757== Access not within mapped region at address 0x0 ==26757== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26757== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26757== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26757== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26757== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26757== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26757== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26757== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26757== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26757== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26757== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26757== by 0x8065F8B: main (nginx.c:385) ==26757== If you believe this happened as a result of a stack ==26757== overflow in your program's main thread (unlikely but ==26757== possible), you can try to increase the size of the ==26757== main thread stack using the --main-stacksize= flag. ==26757== The main thread stack size used in this run was 8388608. ==26757== 1,024 bytes in 1 blocks are definitely lost in loss record 3,087 of 3,206 ==26757== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26757== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26757== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26757== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26757== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26757== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26757== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26757== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26757== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26757== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26757== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26757== by 0x40BB675: trace_state (lj_trace.c:690) ==26757== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26757== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26757== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26757== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26757== by 0x407FA29: lua_resume (lj_api.c:1296) ==26757== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26757== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26757== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26757== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26757== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26757== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26757== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26757== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26757== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26757== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26757== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26757== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26757== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26757== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26757== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26757== by 0x8065F8B: main (nginx.c:385) ==26757== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter |
==26778== Invalid read of size 4 ==26778== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26778== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26778== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26778== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26778== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26778== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26778== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26778== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26778== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26778== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26778== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26778== by 0x8065F8B: main (nginx.c:385) ==26778== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26778== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter |
==26778== ==26778== Process terminating with default action of signal 11 (SIGSEGV) ==26778== Access not within mapped region at address 0x0 ==26778== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26778== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26778== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26778== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26778== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26778== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26778== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26778== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26778== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26778== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26778== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26778== by 0x8065F8B: main (nginx.c:385) ==26778== If you believe this happened as a result of a stack ==26778== overflow in your program's main thread (unlikely but ==26778== possible), you can try to increase the size of the ==26778== main thread stack using the --main-stacksize= flag. ==26778== The main thread stack size used in this run was 8388608. ==26778== 1,024 bytes in 1 blocks are definitely lost in loss record 3,087 of 3,206 ==26778== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26778== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26778== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26778== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26778== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26778== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26778== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26778== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26778== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26778== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26778== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26778== by 0x40BB675: trace_state (lj_trace.c:690) ==26778== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26778== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26778== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26778== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26778== by 0x407FA29: lua_resume (lj_api.c:1296) ==26778== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26778== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26778== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26778== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26778== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26778== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26778== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26778== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26778== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26778== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26778== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26778== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26778== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26778== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26778== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26778== by 0x8065F8B: main (nginx.c:385) ==26778== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 17: split matches, trailing subjects |
==26791== Invalid read of size 4 ==26791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26791== by 0x8065F8B: main (nginx.c:385) ==26791== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26791== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 17: split matches, trailing subjects |
==26791== ==26791== Process terminating with default action of signal 11 (SIGSEGV) ==26791== Access not within mapped region at address 0x0 ==26791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26791== by 0x8065F8B: main (nginx.c:385) ==26791== If you believe this happened as a result of a stack ==26791== overflow in your program's main thread (unlikely but ==26791== possible), you can try to increase the size of the ==26791== main thread stack using the --main-stacksize= flag. ==26791== The main thread stack size used in this run was 8388608. ==26791== 1,024 bytes in 1 blocks are definitely lost in loss record 3,083 of 3,204 ==26791== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26791== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26791== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26791== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26791== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26791== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26791== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26791== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26791== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26791== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26791== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26791== by 0x40BB675: trace_state (lj_trace.c:690) ==26791== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26791== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26791== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26791== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26791== by 0x407FA29: lua_resume (lj_api.c:1296) ==26791== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26791== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26791== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26791== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26791== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26791== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26791== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26791== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26791== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26791== by 0x8065F8B: main (nginx.c:385) ==26791== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 17: split matches, trailing subjects - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '_blank_ a b c d ' |
stream/re-split.t | TEST 17: split matches, trailing subjects |
==26812== Invalid read of size 4 ==26812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26812== by 0x8065F8B: main (nginx.c:385) ==26812== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26812== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 17: split matches, trailing subjects |
==26812== ==26812== Process terminating with default action of signal 11 (SIGSEGV) ==26812== Access not within mapped region at address 0x0 ==26812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26812== by 0x8065F8B: main (nginx.c:385) ==26812== If you believe this happened as a result of a stack ==26812== overflow in your program's main thread (unlikely but ==26812== possible), you can try to increase the size of the ==26812== main thread stack using the --main-stacksize= flag. ==26812== The main thread stack size used in this run was 8388608. ==26812== 1,024 bytes in 1 blocks are definitely lost in loss record 3,083 of 3,204 ==26812== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26812== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26812== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26812== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26812== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26812== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26812== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26812== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26812== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26812== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26812== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26812== by 0x40BB675: trace_state (lj_trace.c:690) ==26812== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26812== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26812== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26812== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26812== by 0x407FA29: lua_resume (lj_api.c:1296) ==26812== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26812== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26812== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26812== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26812== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26812== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26812== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26812== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26812== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26812== by 0x8065F8B: main (nginx.c:385) ==26812== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 17: split matches, trailing subjects - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '_blank_ a b c d ' |
stream/re-split.t | TEST 24: regex is "" with pos |
==26825== Invalid read of size 4 ==26825== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26825== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26825== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26825== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26825== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26825== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26825== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26825== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26825== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26825== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26825== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26825== by 0x8065F8B: main (nginx.c:385) ==26825== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26825== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 24: regex is "" with pos |
==26825== ==26825== Process terminating with default action of signal 11 (SIGSEGV) ==26825== Access not within mapped region at address 0x0 ==26825== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26825== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26825== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26825== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26825== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26825== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26825== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26825== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26825== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26825== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26825== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26825== by 0x8065F8B: main (nginx.c:385) ==26825== If you believe this happened as a result of a stack ==26825== overflow in your program's main thread (unlikely but ==26825== possible), you can try to increase the size of the ==26825== main thread stack using the --main-stacksize= flag. ==26825== The main thread stack size used in this run was 8388608. ==26825== 1,024 bytes in 1 blocks are definitely lost in loss record 3,101 of 3,222 ==26825== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26825== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26825== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26825== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26825== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26825== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26825== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26825== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26825== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26825== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26825== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26825== by 0x40BB675: trace_state (lj_trace.c:690) ==26825== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26825== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26825== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26825== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26825== by 0x407FA29: lua_resume (lj_api.c:1296) ==26825== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26825== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26825== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26825== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26825== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26825== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26825== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26825== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26825== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26825== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26825== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26825== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26825== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26825== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26825== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26825== by 0x8065F8B: main (nginx.c:385) ==26825== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 24: regex is "" with pos - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 24: regex is "" with pos - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '2 3 4 5 len: 4 ' |
stream/re-split.t | TEST 24: regex is "" with pos |
==26846== Invalid read of size 4 ==26846== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26846== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26846== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26846== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26846== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26846== by 0x8065F8B: main (nginx.c:385) ==26846== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 24: regex is "" with pos |
==26846== ==26846== Process terminating with default action of signal 11 (SIGSEGV) ==26846== Access not within mapped region at address 0x0 ==26846== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26846== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26846== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26846== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26846== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26846== by 0x8065F8B: main (nginx.c:385) ==26846== If you believe this happened as a result of a stack ==26846== overflow in your program's main thread (unlikely but ==26846== possible), you can try to increase the size of the ==26846== main thread stack using the --main-stacksize= flag. ==26846== The main thread stack size used in this run was 8388608. ==26846== 1,024 bytes in 1 blocks are definitely lost in loss record 3,101 of 3,222 ==26846== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26846== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26846== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26846== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26846== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26846== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26846== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26846== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26846== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26846== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26846== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26846== by 0x40BB675: trace_state (lj_trace.c:690) ==26846== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26846== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26846== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26846== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26846== by 0x407FA29: lua_resume (lj_api.c:1296) ==26846== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26846== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26846== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26846== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26846== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26846== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26846== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26846== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26846== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26846== by 0x8065F8B: main (nginx.c:385) ==26846== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 24: regex is "" with pos - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 24: regex is "" with pos - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '2 3 4 5 len: 4 ' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value |
==26861== Invalid read of size 4 ==26861== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26861== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26861== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26861== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26861== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26861== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26861== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26861== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26861== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26861== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26861== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26861== by 0x8065F8B: main (nginx.c:385) ==26861== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26861== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value |
==26861== ==26861== Process terminating with default action of signal 11 (SIGSEGV) ==26861== Access not within mapped region at address 0x0 ==26861== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26861== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26861== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26861== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26861== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26861== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26861== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26861== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26861== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26861== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26861== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26861== by 0x8065F8B: main (nginx.c:385) ==26861== If you believe this happened as a result of a stack ==26861== overflow in your program's main thread (unlikely but ==26861== possible), you can try to increase the size of the ==26861== main thread stack using the --main-stacksize= flag. ==26861== The main thread stack size used in this run was 8388608. ==26861== 1,024 bytes in 1 blocks are definitely lost in loss record 3,074 of 3,193 ==26861== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26861== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26861== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26861== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26861== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26861== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26861== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26861== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26861== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26861== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26861== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26861== by 0x40BB675: trace_state (lj_trace.c:690) ==26861== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26861== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26861== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26861== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26861== by 0x407FA29: lua_resume (lj_api.c:1296) ==26861== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26861== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26861== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26861== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26861== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26861== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26861== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26861== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26861== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26861== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26861== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26861== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26861== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26861== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26861== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26861== by 0x8065F8B: main (nginx.c:385) ==26861== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value |
==26882== Invalid read of size 4 ==26882== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26882== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26882== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26882== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26882== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26882== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26882== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26882== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26882== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26882== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26882== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26882== by 0x8065F8B: main (nginx.c:385) ==26882== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26882== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value |
==26882== ==26882== Process terminating with default action of signal 11 (SIGSEGV) ==26882== Access not within mapped region at address 0x0 ==26882== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26882== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26882== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26882== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26882== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26882== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26882== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26882== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26882== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26882== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26882== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26882== by 0x8065F8B: main (nginx.c:385) ==26882== If you believe this happened as a result of a stack ==26882== overflow in your program's main thread (unlikely but ==26882== possible), you can try to increase the size of the ==26882== main thread stack using the --main-stacksize= flag. ==26882== The main thread stack size used in this run was 8388608. ==26882== 1,024 bytes in 1 blocks are definitely lost in loss record 3,074 of 3,193 ==26882== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26882== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26882== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26882== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26882== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26882== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26882== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26882== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26882== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26882== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26882== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26882== by 0x40BB675: trace_state (lj_trace.c:690) ==26882== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26882== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26882== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26882== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26882== by 0x407FA29: lua_resume (lj_api.c:1296) ==26882== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26882== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26882== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26882== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26882== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26882== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26882== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26882== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26882== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26882== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26882== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26882== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26882== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26882== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26882== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26882== by 0x8065F8B: main (nginx.c:385) ==26882== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length |
==26895== Invalid read of size 4 ==26895== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26895== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26895== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26895== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26895== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26895== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26895== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26895== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26895== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26895== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26895== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26895== by 0x8065F8B: main (nginx.c:385) ==26895== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26895== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length |
==26895== ==26895== Process terminating with default action of signal 11 (SIGSEGV) ==26895== Access not within mapped region at address 0x0 ==26895== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26895== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26895== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26895== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26895== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26895== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26895== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26895== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26895== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26895== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26895== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26895== by 0x8065F8B: main (nginx.c:385) ==26895== If you believe this happened as a result of a stack ==26895== overflow in your program's main thread (unlikely but ==26895== possible), you can try to increase the size of the ==26895== main thread stack using the --main-stacksize= flag. ==26895== The main thread stack size used in this run was 8388608. |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length |
==26916== Invalid read of size 4 ==26916== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26916== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26916== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26916== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26916== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26916== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26916== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26916== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26916== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26916== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26916== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26916== by 0x8065F8B: main (nginx.c:385) ==26916== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26916== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length |
==26916== ==26916== Process terminating with default action of signal 11 (SIGSEGV) ==26916== Access not within mapped region at address 0x0 ==26916== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26916== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26916== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26916== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26916== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26916== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26916== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26916== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26916== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26916== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26916== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26916== by 0x8065F8B: main (nginx.c:385) ==26916== If you believe this happened as a result of a stack ==26916== overflow in your program's main thread (unlikely but ==26916== possible), you can try to increase the size of the ==26916== main thread stack using the --main-stacksize= flag. ==26916== The main thread stack size used in this run was 8388608. |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 6: split matches + max limiter |
==26929== Invalid read of size 4 ==26929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26929== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26929== by 0x8065F8B: main (nginx.c:385) ==26929== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26929== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 6: split matches + max limiter |
==26929== ==26929== Process terminating with default action of signal 11 (SIGSEGV) ==26929== Access not within mapped region at address 0x0 ==26929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26929== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26929== by 0x8065F8B: main (nginx.c:385) ==26929== If you believe this happened as a result of a stack ==26929== overflow in your program's main thread (unlikely but ==26929== possible), you can try to increase the size of the ==26929== main thread stack using the --main-stacksize= flag. ==26929== The main thread stack size used in this run was 8388608. ==26929== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,213 ==26929== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26929== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26929== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26929== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26929== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26929== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26929== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26929== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26929== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26929== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26929== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26929== by 0x40BB675: trace_state (lj_trace.c:690) ==26929== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26929== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26929== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26929== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26929== by 0x407FA29: lua_resume (lj_api.c:1296) ==26929== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26929== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26929== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26929== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26929== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26929== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26929== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26929== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26929== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26929== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26929== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26929== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26929== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26929== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26929== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26929== by 0x8065F8B: main (nginx.c:385) ==26929== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 6: split matches + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 6: split matches + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 6: split matches + max limiter |
==26950== Invalid read of size 4 ==26950== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26950== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26950== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26950== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26950== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26950== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26950== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26950== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26950== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26950== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26950== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26950== by 0x8065F8B: main (nginx.c:385) ==26950== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 6: split matches + max limiter |
==26950== ==26950== Process terminating with default action of signal 11 (SIGSEGV) ==26950== Access not within mapped region at address 0x0 ==26950== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26950== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26950== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26950== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26950== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26950== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26950== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26950== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26950== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26950== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26950== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26950== by 0x8065F8B: main (nginx.c:385) ==26950== If you believe this happened as a result of a stack ==26950== overflow in your program's main thread (unlikely but ==26950== possible), you can try to increase the size of the ==26950== main thread stack using the --main-stacksize= flag. ==26950== The main thread stack size used in this run was 8388608. ==26950== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,213 ==26950== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26950== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26950== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26950== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26950== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26950== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26950== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26950== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26950== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26950== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26950== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26950== by 0x40BB675: trace_state (lj_trace.c:690) ==26950== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26950== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26950== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26950== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26950== by 0x407FA29: lua_resume (lj_api.c:1296) ==26950== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26950== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26950== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26950== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26950== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26950== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26950== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26950== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26950== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26950== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26950== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26950== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26950== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26950== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26950== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26950== by 0x8065F8B: main (nginx.c:385) ==26950== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 6: split matches + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 6: split matches + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) |
==26963== Invalid read of size 4 ==26963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26963== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26963== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26963== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26963== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26963== by 0x8065F8B: main (nginx.c:385) ==26963== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26963== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) |
==26963== ==26963== Process terminating with default action of signal 11 (SIGSEGV) ==26963== Access not within mapped region at address 0x0 ==26963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26963== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26963== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26963== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26963== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26963== by 0x8065F8B: main (nginx.c:385) ==26963== If you believe this happened as a result of a stack ==26963== overflow in your program's main thread (unlikely but ==26963== possible), you can try to increase the size of the ==26963== main thread stack using the --main-stacksize= flag. ==26963== The main thread stack size used in this run was 8388608. ==26963== 1,024 bytes in 1 blocks are definitely lost in loss record 3,087 of 3,208 ==26963== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26963== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26963== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26963== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26963== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26963== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26963== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26963== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26963== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26963== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26963== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26963== by 0x40BB675: trace_state (lj_trace.c:690) ==26963== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26963== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26963== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26963== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26963== by 0x407FA29: lua_resume (lj_api.c:1296) ==26963== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26963== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26963== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26963== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26963== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26963== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26963== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26963== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26963== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26963== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26963== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26963== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26963== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26963== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26963== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26963== by 0x8065F8B: main (nginx.c:385) ==26963== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab ::cd ::ef len: 5 ' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) |
==26985== Invalid read of size 4 ==26985== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26985== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26985== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26985== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26985== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26985== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26985== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26985== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26985== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26985== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26985== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26985== by 0x8065F8B: main (nginx.c:385) ==26985== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26985== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) |
==26985== ==26985== Process terminating with default action of signal 11 (SIGSEGV) ==26985== Access not within mapped region at address 0x0 ==26985== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26985== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26985== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26985== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26985== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26985== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26985== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26985== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26985== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26985== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26985== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26985== by 0x8065F8B: main (nginx.c:385) ==26985== If you believe this happened as a result of a stack ==26985== overflow in your program's main thread (unlikely but ==26985== possible), you can try to increase the size of the ==26985== main thread stack using the --main-stacksize= flag. ==26985== The main thread stack size used in this run was 8388608. ==26985== 1,024 bytes in 1 blocks are definitely lost in loss record 3,087 of 3,208 ==26985== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26985== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26985== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26985== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26985== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26985== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26985== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26985== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26985== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26985== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26985== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26985== by 0x40BB675: trace_state (lj_trace.c:690) ==26985== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26985== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26985== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26985== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26985== by 0x407FA29: lua_resume (lj_api.c:1296) ==26985== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26985== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26985== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26985== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26985== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26985== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26985== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26985== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26985== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26985== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26985== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26985== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26985== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26985== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==26985== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==26985== by 0x8065F8B: main (nginx.c:385) ==26985== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab ::cd ::ef len: 5 ' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) |
==26998== Invalid read of size 4 ==26998== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26998== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26998== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26998== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26998== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26998== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26998== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26998== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26998== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26998== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26998== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26998== by 0x8065F8B: main (nginx.c:385) ==26998== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==26998== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) |
==26998== ==26998== Process terminating with default action of signal 11 (SIGSEGV) ==26998== Access not within mapped region at address 0x0 ==26998== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==26998== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==26998== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==26998== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==26998== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==26998== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26998== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26998== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26998== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26998== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26998== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26998== by 0x8065F8B: main (nginx.c:385) ==26998== If you believe this happened as a result of a stack ==26998== overflow in your program's main thread (unlikely but ==26998== possible), you can try to increase the size of the ==26998== main thread stack using the --main-stacksize= flag. ==26998== The main thread stack size used in this run was 8388608. ==26998== 1,024 bytes in 1 blocks are definitely lost in loss record 3,088 of 3,209 ==26998== at 0x402C768: realloc (vg_replace_malloc.c:834) ==26998== by 0x40CC146: mem_alloc (lib_aux.c:335) ==26998== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==26998== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==26998== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==26998== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==26998== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==26998== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==26998== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==26998== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26998== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==26998== by 0x40BB675: trace_state (lj_trace.c:690) ==26998== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26998== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==26998== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==26998== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26998== by 0x407FA29: lua_resume (lj_api.c:1296) ==26998== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==26998== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==26998== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==26998== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==26998== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==26998== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==26998== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==26998== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==26998== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==26998== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==26998== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==26998== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==26998== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==26998== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==26998== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==26998== by 0x8065F8B: main (nginx.c:385) ==26998== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) |
==27019== Invalid read of size 4 ==27019== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27019== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27019== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27019== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27019== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27019== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27019== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27019== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27019== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27019== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27019== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27019== by 0x8065F8B: main (nginx.c:385) ==27019== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27019== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) |
==27019== ==27019== Process terminating with default action of signal 11 (SIGSEGV) ==27019== Access not within mapped region at address 0x0 ==27019== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27019== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27019== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27019== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27019== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27019== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27019== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27019== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27019== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27019== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27019== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27019== by 0x8065F8B: main (nginx.c:385) ==27019== If you believe this happened as a result of a stack ==27019== overflow in your program's main thread (unlikely but ==27019== possible), you can try to increase the size of the ==27019== main thread stack using the --main-stacksize= flag. ==27019== The main thread stack size used in this run was 8388608. ==27019== 1,024 bytes in 1 blocks are definitely lost in loss record 3,088 of 3,209 ==27019== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27019== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27019== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27019== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27019== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27019== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27019== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27019== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27019== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27019== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27019== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27019== by 0x40BB675: trace_state (lj_trace.c:690) ==27019== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27019== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27019== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27019== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27019== by 0x407FA29: lua_resume (lj_api.c:1296) ==27019== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27019== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27019== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27019== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27019== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27019== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27019== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27019== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27019== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27019== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27019== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27019== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27019== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27019== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27019== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27019== by 0x8065F8B: main (nginx.c:385) ==27019== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) |
==27032== Invalid read of size 4 ==27032== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27032== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27032== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27032== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27032== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27032== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27032== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27032== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27032== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27032== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27032== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27032== by 0x8065F8B: main (nginx.c:385) ==27032== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27032== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) |
==27032== ==27032== Process terminating with default action of signal 11 (SIGSEGV) ==27032== Access not within mapped region at address 0x0 ==27032== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27032== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27032== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27032== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27032== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27032== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27032== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27032== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27032== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27032== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27032== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27032== by 0x8065F8B: main (nginx.c:385) ==27032== If you believe this happened as a result of a stack ==27032== overflow in your program's main thread (unlikely but ==27032== possible), you can try to increase the size of the ==27032== main thread stack using the --main-stacksize= flag. ==27032== The main thread stack size used in this run was 8388608. ==27032== 2,048 bytes in 1 blocks are definitely lost in loss record 3,152 of 3,216 ==27032== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27032== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27032== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27032== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27032== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==27032== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==27032== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27032== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27032== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27032== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27032== by 0x40BB675: trace_state (lj_trace.c:690) ==27032== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27032== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27032== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27032== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27032== by 0x407FA29: lua_resume (lj_api.c:1296) ==27032== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27032== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27032== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27032== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27032== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27032== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27032== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27032== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27032== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27032== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27032== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27032== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27032== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27032== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27032== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27032== by 0x8065F8B: main (nginx.c:385) ==27032== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '12 |||||||||||15 13 ||||||||||||15 13 |T|||||||||||15 ' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) |
==27055== Invalid read of size 4 ==27055== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27055== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27055== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27055== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27055== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27055== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27055== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27055== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27055== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27055== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27055== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27055== by 0x8065F8B: main (nginx.c:385) ==27055== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27055== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) |
==27055== ==27055== Process terminating with default action of signal 11 (SIGSEGV) ==27055== Access not within mapped region at address 0x0 ==27055== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27055== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27055== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27055== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27055== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27055== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27055== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27055== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27055== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27055== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27055== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27055== by 0x8065F8B: main (nginx.c:385) ==27055== If you believe this happened as a result of a stack ==27055== overflow in your program's main thread (unlikely but ==27055== possible), you can try to increase the size of the ==27055== main thread stack using the --main-stacksize= flag. ==27055== The main thread stack size used in this run was 8388608. ==27055== 2,048 bytes in 1 blocks are definitely lost in loss record 3,152 of 3,216 ==27055== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27055== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27055== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27055== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27055== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==27055== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==27055== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27055== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27055== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27055== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27055== by 0x40BB675: trace_state (lj_trace.c:690) ==27055== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27055== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27055== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27055== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27055== by 0x407FA29: lua_resume (lj_api.c:1296) ==27055== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27055== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27055== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27055== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27055== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27055== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27055== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27055== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27055== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27055== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27055== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27055== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27055== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27055== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27055== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27055== by 0x8065F8B: main (nginx.c:385) ==27055== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '12 |||||||||||15 13 ||||||||||||15 13 |T|||||||||||15 ' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter |
==27068== Invalid read of size 4 ==27068== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27068== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27068== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27068== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27068== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27068== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27068== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27068== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27068== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27068== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27068== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27068== by 0x8065F8B: main (nginx.c:385) ==27068== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27068== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter |
==27068== ==27068== Process terminating with default action of signal 11 (SIGSEGV) ==27068== Access not within mapped region at address 0x0 ==27068== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27068== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27068== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27068== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27068== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27068== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27068== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27068== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27068== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27068== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27068== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27068== by 0x8065F8B: main (nginx.c:385) ==27068== If you believe this happened as a result of a stack ==27068== overflow in your program's main thread (unlikely but ==27068== possible), you can try to increase the size of the ==27068== main thread stack using the --main-stacksize= flag. ==27068== The main thread stack size used in this run was 8388608. ==27068== 1,024 bytes in 1 blocks are definitely lost in loss record 3,083 of 3,204 ==27068== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27068== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27068== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27068== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27068== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27068== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27068== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27068== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27068== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27068== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27068== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27068== by 0x40BB675: trace_state (lj_trace.c:690) ==27068== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27068== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27068== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27068== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27068== by 0x407FA29: lua_resume (lj_api.c:1296) ==27068== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27068== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27068== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27068== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27068== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27068== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27068== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27068== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27068== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27068== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27068== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27068== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27068== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27068== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27068== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27068== by 0x8065F8B: main (nginx.c:385) ==27068== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter |
==27089== Invalid read of size 4 ==27089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27089== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27089== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27089== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27089== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27089== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27089== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27089== by 0x8065F8B: main (nginx.c:385) ==27089== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27089== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter |
==27089== ==27089== Process terminating with default action of signal 11 (SIGSEGV) ==27089== Access not within mapped region at address 0x0 ==27089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27089== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27089== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27089== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27089== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27089== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27089== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27089== by 0x8065F8B: main (nginx.c:385) ==27089== If you believe this happened as a result of a stack ==27089== overflow in your program's main thread (unlikely but ==27089== possible), you can try to increase the size of the ==27089== main thread stack using the --main-stacksize= flag. ==27089== The main thread stack size used in this run was 8388608. ==27089== 1,024 bytes in 1 blocks are definitely lost in loss record 3,083 of 3,204 ==27089== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27089== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27089== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27089== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27089== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27089== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27089== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27089== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27089== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27089== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27089== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27089== by 0x40BB675: trace_state (lj_trace.c:690) ==27089== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27089== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27089== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27089== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27089== by 0x407FA29: lua_resume (lj_api.c:1296) ==27089== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27089== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27089== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27089== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27089== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27089== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27089== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27089== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27089== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27089== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27089== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27089== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27089== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27089== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27089== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27089== by 0x8065F8B: main (nginx.c:385) ==27089== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter |
==27102== Invalid read of size 4 ==27102== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27102== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27102== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27102== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27102== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27102== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27102== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27102== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27102== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27102== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27102== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27102== by 0x8065F8B: main (nginx.c:385) ==27102== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27102== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 7: split matches + submatch + max limiter |
==27102== ==27102== Process terminating with default action of signal 11 (SIGSEGV) ==27102== Access not within mapped region at address 0x0 ==27102== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27102== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27102== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27102== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27102== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27102== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27102== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27102== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27102== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27102== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27102== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27102== by 0x8065F8B: main (nginx.c:385) ==27102== If you believe this happened as a result of a stack ==27102== overflow in your program's main thread (unlikely but ==27102== possible), you can try to increase the size of the ==27102== main thread stack using the --main-stacksize= flag. ==27102== The main thread stack size used in this run was 8388608. ==27102== 1,024 bytes in 1 blocks are definitely lost in loss record 3,071 of 3,190 ==27102== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27102== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27102== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27102== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27102== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27102== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27102== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27102== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27102== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27102== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27102== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27102== by 0x40BB675: trace_state (lj_trace.c:690) ==27102== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27102== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27102== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27102== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27102== by 0x407FA29: lua_resume (lj_api.c:1296) ==27102== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27102== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27102== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27102== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27102== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27102== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27102== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27102== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27102== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27102== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27102== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27102== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27102== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27102== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27102== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27102== by 0x8065F8B: main (nginx.c:385) ==27102== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter |
==27123== Invalid read of size 4 ==27123== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27123== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27123== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27123== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27123== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27123== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27123== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27123== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27123== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27123== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27123== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27123== by 0x8065F8B: main (nginx.c:385) ==27123== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27123== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 7: split matches + submatch + max limiter |
==27123== ==27123== Process terminating with default action of signal 11 (SIGSEGV) ==27123== Access not within mapped region at address 0x0 ==27123== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27123== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27123== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27123== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27123== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27123== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27123== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27123== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27123== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27123== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27123== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27123== by 0x8065F8B: main (nginx.c:385) ==27123== If you believe this happened as a result of a stack ==27123== overflow in your program's main thread (unlikely but ==27123== possible), you can try to increase the size of the ==27123== main thread stack using the --main-stacksize= flag. ==27123== The main thread stack size used in this run was 8388608. ==27123== 1,024 bytes in 1 blocks are definitely lost in loss record 3,071 of 3,190 ==27123== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27123== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27123== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27123== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27123== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27123== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27123== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27123== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27123== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27123== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27123== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27123== by 0x40BB675: trace_state (lj_trace.c:690) ==27123== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27123== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27123== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27123== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27123== by 0x407FA29: lua_resume (lj_api.c:1296) ==27123== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27123== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27123== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27123== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27123== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27123== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27123== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27123== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27123== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27123== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27123== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27123== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27123== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27123== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27123== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27123== by 0x8065F8B: main (nginx.c:385) ==27123== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-split.t | TEST 23: regex is "" with max |
==27136== Invalid read of size 4 ==27136== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27136== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27136== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27136== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27136== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27136== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27136== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27136== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27136== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27136== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27136== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27136== by 0x8065F8B: main (nginx.c:385) ==27136== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27136== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 23: regex is "" with max |
==27136== ==27136== Process terminating with default action of signal 11 (SIGSEGV) ==27136== Access not within mapped region at address 0x0 ==27136== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27136== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27136== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27136== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27136== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27136== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27136== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27136== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27136== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27136== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27136== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27136== by 0x8065F8B: main (nginx.c:385) ==27136== If you believe this happened as a result of a stack ==27136== overflow in your program's main thread (unlikely but ==27136== possible), you can try to increase the size of the ==27136== main thread stack using the --main-stacksize= flag. ==27136== The main thread stack size used in this run was 8388608. ==27136== 1,024 bytes in 1 blocks are definitely lost in loss record 3,098 of 3,219 ==27136== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27136== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27136== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27136== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27136== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27136== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27136== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27136== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27136== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27136== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27136== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27136== by 0x40BB675: trace_state (lj_trace.c:690) ==27136== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27136== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27136== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27136== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27136== by 0x407FA29: lua_resume (lj_api.c:1296) ==27136== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27136== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27136== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27136== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27136== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27136== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27136== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27136== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27136== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27136== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27136== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27136== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27136== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27136== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27136== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27136== by 0x8065F8B: main (nginx.c:385) ==27136== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 23: regex is "" with max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 23: regex is "" with max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 2 345 len: 3 ' |
stream/re-split.t | TEST 23: regex is "" with max |
==27157== Invalid read of size 4 ==27157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27157== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27157== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27157== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27157== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27157== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27157== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27157== by 0x8065F8B: main (nginx.c:385) ==27157== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27157== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 23: regex is "" with max |
==27157== ==27157== Process terminating with default action of signal 11 (SIGSEGV) ==27157== Access not within mapped region at address 0x0 ==27157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27157== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27157== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27157== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27157== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27157== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27157== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27157== by 0x8065F8B: main (nginx.c:385) ==27157== If you believe this happened as a result of a stack ==27157== overflow in your program's main thread (unlikely but ==27157== possible), you can try to increase the size of the ==27157== main thread stack using the --main-stacksize= flag. ==27157== The main thread stack size used in this run was 8388608. ==27157== 1,024 bytes in 1 blocks are definitely lost in loss record 3,098 of 3,219 ==27157== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27157== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27157== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27157== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27157== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27157== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27157== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27157== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27157== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27157== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27157== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27157== by 0x40BB675: trace_state (lj_trace.c:690) ==27157== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27157== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27157== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27157== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27157== by 0x407FA29: lua_resume (lj_api.c:1296) ==27157== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27157== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27157== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27157== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27157== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27157== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27157== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27157== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27157== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27157== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27157== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27157== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27157== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27157== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27157== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27157== by 0x8065F8B: main (nginx.c:385) ==27157== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 23: regex is "" with max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 23: regex is "" with max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 2 345 len: 3 ' |
stream/re-split.t | TEST 28: no match separator (github issue #104) & max |
==27170== Invalid read of size 4 ==27170== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27170== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27170== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27170== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27170== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27170== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27170== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27170== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27170== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27170== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27170== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27170== by 0x8065F8B: main (nginx.c:385) ==27170== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27170== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 28: no match separator (github issue #104) & max |
==27170== ==27170== Process terminating with default action of signal 11 (SIGSEGV) ==27170== Access not within mapped region at address 0x0 ==27170== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27170== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27170== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27170== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27170== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27170== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27170== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27170== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27170== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27170== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27170== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27170== by 0x8065F8B: main (nginx.c:385) ==27170== If you believe this happened as a result of a stack ==27170== overflow in your program's main thread (unlikely but ==27170== possible), you can try to increase the size of the ==27170== main thread stack using the --main-stacksize= flag. ==27170== The main thread stack size used in this run was 8388608. ==27170== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==27170== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27170== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27170== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27170== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27170== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27170== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27170== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27170== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27170== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27170== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27170== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27170== by 0x40BB675: trace_state (lj_trace.c:690) ==27170== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27170== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27170== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27170== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27170== by 0x407FA29: lua_resume (lj_api.c:1296) ==27170== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27170== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27170== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27170== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27170== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27170== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27170== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27170== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27170== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27170== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27170== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27170== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27170== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27170== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27170== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27170== by 0x8065F8B: main (nginx.c:385) ==27170== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a:bcd len: 2 ' |
stream/re-split.t | TEST 28: no match separator (github issue #104) & max |
==27191== Invalid read of size 4 ==27191== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27191== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27191== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27191== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27191== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27191== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27191== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27191== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27191== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27191== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27191== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27191== by 0x8065F8B: main (nginx.c:385) ==27191== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27191== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 28: no match separator (github issue #104) & max |
==27191== ==27191== Process terminating with default action of signal 11 (SIGSEGV) ==27191== Access not within mapped region at address 0x0 ==27191== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27191== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27191== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27191== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27191== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27191== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27191== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27191== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27191== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27191== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27191== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27191== by 0x8065F8B: main (nginx.c:385) ==27191== If you believe this happened as a result of a stack ==27191== overflow in your program's main thread (unlikely but ==27191== possible), you can try to increase the size of the ==27191== main thread stack using the --main-stacksize= flag. ==27191== The main thread stack size used in this run was 8388608. ==27191== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,207 ==27191== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27191== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27191== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27191== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27191== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27191== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27191== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27191== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27191== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27191== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27191== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27191== by 0x40BB675: trace_state (lj_trace.c:690) ==27191== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27191== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27191== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27191== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27191== by 0x407FA29: lua_resume (lj_api.c:1296) ==27191== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27191== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27191== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27191== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27191== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27191== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27191== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27191== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27191== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27191== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27191== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27191== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27191== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27191== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27191== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27191== by 0x8065F8B: main (nginx.c:385) ==27191== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a:bcd len: 2 ' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group |
==27204== Invalid read of size 4 ==27204== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27204== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27204== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27204== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27204== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27204== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27204== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27204== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27204== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27204== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27204== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27204== by 0x8065F8B: main (nginx.c:385) ==27204== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27204== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group |
==27204== ==27204== Process terminating with default action of signal 11 (SIGSEGV) ==27204== Access not within mapped region at address 0x0 ==27204== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27204== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27204== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27204== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27204== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27204== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27204== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27204== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27204== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27204== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27204== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27204== by 0x8065F8B: main (nginx.c:385) ==27204== If you believe this happened as a result of a stack ==27204== overflow in your program's main thread (unlikely but ==27204== possible), you can try to increase the size of the ==27204== main thread stack using the --main-stacksize= flag. ==27204== The main thread stack size used in this run was 8388608. ==27204== 1,024 bytes in 1 blocks are definitely lost in loss record 3,080 of 3,198 ==27204== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27204== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27204== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27204== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27204== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27204== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27204== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27204== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27204== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27204== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27204== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27204== by 0x40BB675: trace_state (lj_trace.c:690) ==27204== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27204== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27204== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27204== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27204== by 0x407FA29: lua_resume (lj_api.c:1296) ==27204== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27204== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27204== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27204== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27204== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27204== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27204== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27204== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27204== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27204== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27204== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27204== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27204== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27204== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27204== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27204== by 0x8065F8B: main (nginx.c:385) ==27204== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group |
==27238== Invalid read of size 4 ==27238== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27238== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27238== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27238== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27238== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27238== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27238== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27238== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27238== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27238== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27238== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27238== by 0x8065F8B: main (nginx.c:385) ==27238== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27238== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group |
==27238== ==27238== Process terminating with default action of signal 11 (SIGSEGV) ==27238== Access not within mapped region at address 0x0 ==27238== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27238== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27238== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27238== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27238== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27238== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27238== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27238== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27238== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27238== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27238== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27238== by 0x8065F8B: main (nginx.c:385) ==27238== If you believe this happened as a result of a stack ==27238== overflow in your program's main thread (unlikely but ==27238== possible), you can try to increase the size of the ==27238== main thread stack using the --main-stacksize= flag. ==27238== The main thread stack size used in this run was 8388608. ==27238== 1,024 bytes in 1 blocks are definitely lost in loss record 3,080 of 3,198 ==27238== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27238== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27238== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27238== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27238== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27238== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27238== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==27238== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27238== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27238== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27238== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27238== by 0x40BB675: trace_state (lj_trace.c:690) ==27238== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27238== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27238== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27238== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27238== by 0x407FA29: lua_resume (lj_api.c:1296) ==27238== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27238== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27238== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27238== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27238== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27238== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27238== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27238== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27238== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27238== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27238== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27238== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27238== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27238== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27238== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27238== by 0x8065F8B: main (nginx.c:385) ==27238== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==27253== Invalid read of size 4 ==27253== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27253== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27253== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27253== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27253== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27253== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27253== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27253== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27253== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27253== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27253== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==27253== by 0x8065F8B: main (nginx.c:385) ==27253== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27253== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==27253== ==27253== Process terminating with default action of signal 11 (SIGSEGV) ==27253== Access not within mapped region at address 0x0 ==27253== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27253== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27253== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27253== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27253== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27253== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27253== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27253== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27253== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27253== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27253== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==27253== by 0x8065F8B: main (nginx.c:385) ==27253== If you believe this happened as a result of a stack ==27253== overflow in your program's main thread (unlikely but ==27253== possible), you can try to increase the size of the ==27253== main thread stack using the --main-stacksize= flag. ==27253== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 8: string replace subj is not a string type - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '534 ' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==27254== Invalid read of size 4 ==27254== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27254== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27254== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27254== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27254== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27254== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27254== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27254== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27254== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27254== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27254== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27254== by 0x8065F8B: main (nginx.c:385) ==27254== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27254== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==27254== ==27254== Process terminating with default action of signal 11 (SIGSEGV) ==27254== Access not within mapped region at address 0x0 ==27254== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27254== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27254== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27254== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27254== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27254== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27254== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27254== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27254== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27254== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27254== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27254== by 0x8065F8B: main (nginx.c:385) ==27254== If you believe this happened as a result of a stack ==27254== overflow in your program's main thread (unlikely but ==27254== possible), you can try to increase the size of the ==27254== main thread stack using the --main-stacksize= flag. ==27254== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 8: string replace subj is not a string type - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '534 ' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) |
==27266== Invalid read of size 4 ==27266== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27266== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27266== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27266== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27266== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27266== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27266== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27266== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27266== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27266== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27266== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27266== by 0x8065F8B: main (nginx.c:385) ==27266== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27266== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) |
==27266== ==27266== Process terminating with default action of signal 11 (SIGSEGV) ==27266== Access not within mapped region at address 0x0 ==27266== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27266== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27266== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27266== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27266== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27266== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27266== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27266== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27266== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27266== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27266== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27266== by 0x8065F8B: main (nginx.c:385) ==27266== If you believe this happened as a result of a stack ==27266== overflow in your program's main thread (unlikely but ==27266== possible), you can try to increase the size of the ==27266== main thread stack using the --main-stacksize= flag. ==27266== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello, 55 ' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) |
==27287== Invalid read of size 4 ==27287== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27287== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27287== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27287== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27287== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27287== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27287== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27287== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27287== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27287== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27287== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27287== by 0x8065F8B: main (nginx.c:385) ==27287== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27287== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) |
==27287== ==27287== Process terminating with default action of signal 11 (SIGSEGV) ==27287== Access not within mapped region at address 0x0 ==27287== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27287== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27287== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27287== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27287== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27287== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27287== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27287== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27287== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27287== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27287== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27287== by 0x8065F8B: main (nginx.c:385) ==27287== If you believe this happened as a result of a stack ==27287== overflow in your program's main thread (unlikely but ==27287== possible), you can try to increase the size of the ==27287== main thread stack using the --main-stacksize= flag. ==27287== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello, 55 ' |
stream/re-sub.t | TEST 4: replace template + submatches |
==27299== Invalid read of size 4 ==27299== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27299== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27299== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27299== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27299== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27299== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27299== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27299== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27299== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27299== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27299== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27299== by 0x8065F8B: main (nginx.c:385) ==27299== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 4: replace template + submatches |
==27299== ==27299== Process terminating with default action of signal 11 (SIGSEGV) ==27299== Access not within mapped region at address 0x0 ==27299== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27299== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27299== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27299== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27299== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27299== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27299== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27299== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27299== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27299== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27299== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27299== by 0x8065F8B: main (nginx.c:385) ==27299== If you believe this happened as a result of a stack ==27299== overflow in your program's main thread (unlikely but ==27299== possible), you can try to increase the size of the ==27299== main thread stack using the --main-stacksize= flag. ==27299== The main thread stack size used in this run was 8388608. ==27299== 4,096 bytes in 1 blocks are definitely lost in loss record 3,156 of 3,185 ==27299== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==27299== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==27299== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27299== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27299== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==27299== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==27299== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==27299== by 0x409AAFA: lj_record_constify (lj_record.c:251) ==27299== by 0x409AE30: rec_upvalue (lj_record.c:1620) ==27299== by 0x40A054C: lj_record_ins (lj_record.c:2314) ==27299== by 0x40BB16A: trace_state (lj_trace.c:680) ==27299== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27299== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27299== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27299== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27299== by 0x407FA29: lua_resume (lj_api.c:1296) ==27299== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27299== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27299== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27299== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27299== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27299== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27299== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27299== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27299== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27299== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27299== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27299== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27299== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27299== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27299== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27299== by 0x8065F8B: main (nginx.c:385) ==27299== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_constify fun:rec_upvalue fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 4: replace template + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 4: replace template + submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 4: replace template + submatches |
==27320== Invalid read of size 4 ==27320== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27320== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27320== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27320== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27320== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27320== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27320== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27320== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27320== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27320== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27320== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27320== by 0x8065F8B: main (nginx.c:385) ==27320== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 4: replace template + submatches |
==27320== ==27320== Process terminating with default action of signal 11 (SIGSEGV) ==27320== Access not within mapped region at address 0x0 ==27320== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27320== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27320== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27320== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27320== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27320== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27320== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27320== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27320== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27320== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27320== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27320== by 0x8065F8B: main (nginx.c:385) ==27320== If you believe this happened as a result of a stack ==27320== overflow in your program's main thread (unlikely but ==27320== possible), you can try to increase the size of the ==27320== main thread stack using the --main-stacksize= flag. ==27320== The main thread stack size used in this run was 8388608. ==27320== 4,096 bytes in 1 blocks are definitely lost in loss record 3,156 of 3,185 ==27320== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==27320== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==27320== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27320== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27320== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==27320== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==27320== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==27320== by 0x409AAFA: lj_record_constify (lj_record.c:251) ==27320== by 0x409AE30: rec_upvalue (lj_record.c:1620) ==27320== by 0x40A054C: lj_record_ins (lj_record.c:2314) ==27320== by 0x40BB16A: trace_state (lj_trace.c:680) ==27320== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27320== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27320== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27320== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27320== by 0x407FA29: lua_resume (lj_api.c:1296) ==27320== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27320== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27320== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27320== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27320== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27320== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27320== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27320== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27320== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27320== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27320== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27320== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27320== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27320== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27320== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27320== by 0x8065F8B: main (nginx.c:385) ==27320== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_constify fun:rec_upvalue fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 4: replace template + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 4: replace template + submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) |
==27332== Invalid read of size 4 ==27332== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27332== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27332== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27332== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27332== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27332== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27332== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27332== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27332== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27332== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27332== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27332== by 0x8065F8B: main (nginx.c:385) ==27332== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27332== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) |
==27332== ==27332== Process terminating with default action of signal 11 (SIGSEGV) ==27332== Access not within mapped region at address 0x0 ==27332== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27332== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27332== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27332== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27332== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27332== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27332== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27332== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27332== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27332== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27332== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27332== by 0x8065F8B: main (nginx.c:385) ==27332== If you believe this happened as a result of a stack ==27332== overflow in your program's main thread (unlikely but ==27332== possible), you can try to increase the size of the ==27332== main thread stack using the --main-stacksize= flag. ==27332== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello, 534 ' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) |
==27353== Invalid read of size 4 ==27353== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27353== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27353== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27353== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27353== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27353== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27353== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27353== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27353== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27353== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27353== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27353== by 0x8065F8B: main (nginx.c:385) ==27353== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27353== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) |
==27353== ==27353== Process terminating with default action of signal 11 (SIGSEGV) ==27353== Access not within mapped region at address 0x0 ==27353== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27353== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27353== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27353== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27353== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27353== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27353== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27353== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27353== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27353== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27353== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27353== by 0x8065F8B: main (nginx.c:385) ==27353== If you believe this happened as a result of a stack ==27353== overflow in your program's main thread (unlikely but ==27353== possible), you can try to increase the size of the ==27353== main thread stack using the --main-stacksize= flag. ==27353== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello, 534 ' |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback |
==27365== Invalid read of size 4 ==27365== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27365== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27365== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27365== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27365== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27365== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27365== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27365== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27365== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27365== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27365== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27365== by 0x8065F8B: main (nginx.c:385) ==27365== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27365== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback |
==27365== ==27365== Process terminating with default action of signal 11 (SIGSEGV) ==27365== Access not within mapped region at address 0x0 ==27365== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27365== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27365== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27365== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27365== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27365== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27365== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27365== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27365== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27365== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27365== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27365== by 0x8065F8B: main (nginx.c:385) ==27365== If you believe this happened as a result of a stack ==27365== overflow in your program's main thread (unlikely but ==27365== possible), you can try to increase the size of the ==27365== main thread stack using the --main-stacksize= flag. ==27365== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ - INNER_REPLACED - INNER_REPLACED ' |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback |
==27386== Invalid read of size 4 ==27386== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27386== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27386== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27386== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27386== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27386== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27386== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27386== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27386== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27386== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27386== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27386== by 0x8065F8B: main (nginx.c:385) ==27386== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27386== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback |
==27386== ==27386== Process terminating with default action of signal 11 (SIGSEGV) ==27386== Access not within mapped region at address 0x0 ==27386== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27386== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27386== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27386== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27386== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27386== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27386== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27386== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27386== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27386== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27386== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27386== by 0x8065F8B: main (nginx.c:385) ==27386== If you believe this happened as a result of a stack ==27386== overflow in your program's main thread (unlikely but ==27386== possible), you can try to increase the size of the ==27386== main thread stack using the --main-stacksize= flag. ==27386== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ - INNER_REPLACED - INNER_REPLACED ' |
stream/re-sub.t | ERROR: client socket timed out - TEST 5: replace template + submatches (exceeding buffers) |
' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
stream/re-sub.t | ERROR: client socket timed out - TEST 5: replace template + submatches (exceeding buffers) |
' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) |
==27427== Invalid read of size 4 ==27427== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27427== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27427== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27427== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27427== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27427== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27427== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27427== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27427== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27427== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27427== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27427== by 0x8065F8B: main (nginx.c:385) ==27427== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27427== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) |
==27427== ==27427== Process terminating with default action of signal 11 (SIGSEGV) ==27427== Access not within mapped region at address 0x0 ==27427== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27427== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27427== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27427== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27427== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27427== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27427== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27427== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27427== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27427== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27427== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27427== by 0x8065F8B: main (nginx.c:385) ==27427== If you believe this happened as a result of a stack ==27427== overflow in your program's main thread (unlikely but ==27427== possible), you can try to increase the size of the ==27427== main thread stack using the --main-stacksize= flag. ==27427== The main thread stack size used in this run was 8388608. ==27428== Invalid read of size 4 ==27428== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27428== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27428== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27428== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27428== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27428== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27428== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27428== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27428== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27428== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27428== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27428== by 0x8065F8B: main (nginx.c:385) ==27428== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27428== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) |
==27428== ==27428== Process terminating with default action of signal 11 (SIGSEGV) ==27428== Access not within mapped region at address 0x0 ==27428== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27428== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27428== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27428== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27428== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27428== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27428== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27428== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27428== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27428== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27428== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27428== by 0x8065F8B: main (nginx.c:385) ==27428== If you believe this happened as a result of a stack ==27428== overflow in your program's main thread (unlikely but ==27428== possible), you can try to increase the size of the ==27428== main thread stack using the --main-stacksize= flag. ==27428== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ - OUTER {FIRST} - OUTER REPLACED ' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) |
==27448== Invalid read of size 4 ==27448== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27448== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27448== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27448== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27448== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27448== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27448== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27448== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27448== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27448== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27448== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27448== by 0x8065F8B: main (nginx.c:385) ==27448== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27448== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) |
==27448== ==27448== Process terminating with default action of signal 11 (SIGSEGV) ==27448== Access not within mapped region at address 0x0 ==27448== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27448== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27448== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27448== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27448== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27448== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27448== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27448== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27448== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27448== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27448== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27448== by 0x8065F8B: main (nginx.c:385) ==27448== If you believe this happened as a result of a stack ==27448== overflow in your program's main thread (unlikely but ==27448== possible), you can try to increase the size of the ==27448== main thread stack using the --main-stacksize= flag. ==27448== The main thread stack size used in this run was 8388608. |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ - OUTER {FIRST} - OUTER REPLACED ' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache |
==27398== Invalid read of size 4 ==27398== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27398== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27398== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27398== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27398== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27398== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27398== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27398== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27398== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27398== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27398== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27398== by 0x8065F8B: main (nginx.c:385) ==27398== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27398== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache |
==27398== ==27398== Process terminating with default action of signal 11 (SIGSEGV) ==27398== Access not within mapped region at address 0x0 ==27398== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27398== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27398== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27398== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27398== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27398== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27398== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27398== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27398== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27398== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27398== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27398== by 0x8065F8B: main (nginx.c:385) ==27398== If you believe this happened as a result of a stack ==27398== overflow in your program's main thread (unlikely but ==27398== possible), you can try to increase the size of the ==27398== main thread stack using the --main-stacksize= flag. ==27398== The main thread stack size used in this run was 8388608. ==27398== 2,048 bytes in 1 blocks are definitely lost in loss record 3,122 of 3,191 ==27398== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27398== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27398== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27398== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27398== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==27398== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==27398== by 0x40A1074: lj_record_ins (lj_record.c:2162) ==27398== by 0x40BB16A: trace_state (lj_trace.c:680) ==27398== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27398== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27398== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27398== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27398== by 0x407FA29: lua_resume (lj_api.c:1296) ==27398== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27398== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27398== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27398== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27398== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27398== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27398== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27398== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27398== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27398== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27398== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27398== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27398== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27398== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27398== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27398== by 0x8065F8B: main (nginx.c:385) ==27398== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache |
==27460== Invalid read of size 4 ==27460== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27460== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27460== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27460== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27460== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27460== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27460== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27460== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27460== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27460== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27460== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27460== by 0x8065F8B: main (nginx.c:385) ==27460== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache |
==27460== ==27460== Process terminating with default action of signal 11 (SIGSEGV) ==27460== Access not within mapped region at address 0x0 ==27460== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27460== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27460== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27460== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27460== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27460== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27460== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27460== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27460== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27460== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27460== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27460== by 0x8065F8B: main (nginx.c:385) ==27460== If you believe this happened as a result of a stack ==27460== overflow in your program's main thread (unlikely but ==27460== possible), you can try to increase the size of the ==27460== main thread stack using the --main-stacksize= flag. ==27460== The main thread stack size used in this run was 8388608. ==27460== 4,096 bytes in 1 blocks are definitely lost in loss record 3,162 of 3,190 ==27460== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==27460== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==27460== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27460== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27460== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==27460== by 0x408A511: ir_nextk (lj_ir.c:175) ==27460== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==27460== by 0x40A3A4C: argv2cdata (lj_crecord.c:55) ==27460== by 0x40A5179: argv2ctype (lj_crecord.c:91) ==27460== by 0x40A8AE9: recff_ffi_new (lj_crecord.c:1608) ==27460== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==27460== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==27460== by 0x40BB16A: trace_state (lj_trace.c:680) ==27460== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27460== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27460== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==27460== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27460== by 0x407FA29: lua_resume (lj_api.c:1296) ==27460== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27460== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27460== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27460== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27460== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27460== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27460== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27460== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27460== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27460== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27460== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27460== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27460== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27460== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27460== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27460== by 0x8065F8B: main (nginx.c:385) ==27460== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:argv2cdata fun:argv2ctype fun:recff_ffi_new fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache |
==27481== Invalid read of size 4 ==27481== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27481== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27481== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27481== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27481== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27481== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27481== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27481== by 0x8065F8B: main (nginx.c:385) ==27481== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27481== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache |
==27481== ==27481== Process terminating with default action of signal 11 (SIGSEGV) ==27481== Access not within mapped region at address 0x0 ==27481== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27481== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27481== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27481== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27481== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27481== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27481== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27481== by 0x8065F8B: main (nginx.c:385) ==27481== If you believe this happened as a result of a stack ==27481== overflow in your program's main thread (unlikely but ==27481== possible), you can try to increase the size of the ==27481== main thread stack using the --main-stacksize= flag. ==27481== The main thread stack size used in this run was 8388608. ==27481== 4,096 bytes in 1 blocks are definitely lost in loss record 3,162 of 3,190 ==27481== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==27481== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==27481== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27481== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27481== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==27481== by 0x408A511: ir_nextk (lj_ir.c:175) ==27481== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==27481== by 0x40A3A4C: argv2cdata (lj_crecord.c:55) ==27481== by 0x40A5179: argv2ctype (lj_crecord.c:91) ==27481== by 0x40A8AE9: recff_ffi_new (lj_crecord.c:1608) ==27481== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==27481== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==27481== by 0x40BB16A: trace_state (lj_trace.c:680) ==27481== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27481== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27481== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==27481== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27481== by 0x407FA29: lua_resume (lj_api.c:1296) ==27481== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27481== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27481== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27481== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27481== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27481== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27481== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27481== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27481== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27481== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27481== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27481== by 0x8065F8B: main (nginx.c:385) ==27481== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:argv2cdata fun:argv2ctype fun:recff_ffi_new fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/re-sub.t | TEST 3: func + submatches |
==27493== Invalid read of size 4 ==27493== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27493== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27493== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27493== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27493== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27493== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27493== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27493== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27493== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27493== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27493== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27493== by 0x8065F8B: main (nginx.c:385) ==27493== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27493== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 3: func + submatches |
==27493== ==27493== Process terminating with default action of signal 11 (SIGSEGV) ==27493== Access not within mapped region at address 0x0 ==27493== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27493== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27493== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27493== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27493== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27493== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27493== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27493== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27493== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27493== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27493== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27493== by 0x8065F8B: main (nginx.c:385) ==27493== If you believe this happened as a result of a stack ==27493== overflow in your program's main thread (unlikely but ==27493== possible), you can try to increase the size of the ==27493== main thread stack using the --main-stacksize= flag. ==27493== The main thread stack size used in this run was 8388608. ==27493== 4,096 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,149 ==27493== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==27493== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==27493== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27493== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27493== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==27493== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==27493== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==27493== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==27493== by 0x409CF20: rec_mm_callcomp (lj_record.c:1098) ==27493== by 0x40A0BF3: lj_record_ins (lj_record.c:2173) ==27493== by 0x40BB16A: trace_state (lj_trace.c:680) ==27493== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27493== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27493== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27493== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27493== by 0x407FA29: lua_resume (lj_api.c:1296) ==27493== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27493== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27493== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27493== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27493== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27493== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27493== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27493== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27493== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27493== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27493== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27493== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27493== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27493== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27493== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27493== by 0x8065F8B: main (nginx.c:385) ==27493== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:rec_mm_callcomp fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 3: func + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 3: func + submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 3: func + submatches |
==27514== Invalid read of size 4 ==27514== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27514== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27514== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27514== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27514== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27514== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27514== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27514== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27514== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27514== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27514== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27514== by 0x8065F8B: main (nginx.c:385) ==27514== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27514== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 3: func + submatches |
==27514== ==27514== Process terminating with default action of signal 11 (SIGSEGV) ==27514== Access not within mapped region at address 0x0 ==27514== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27514== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27514== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27514== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27514== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27514== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27514== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27514== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27514== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27514== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27514== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27514== by 0x8065F8B: main (nginx.c:385) ==27514== If you believe this happened as a result of a stack ==27514== overflow in your program's main thread (unlikely but ==27514== possible), you can try to increase the size of the ==27514== main thread stack using the --main-stacksize= flag. ==27514== The main thread stack size used in this run was 8388608. ==27514== 4,096 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,149 ==27514== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==27514== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==27514== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27514== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27514== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==27514== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==27514== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==27514== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==27514== by 0x409CF20: rec_mm_callcomp (lj_record.c:1098) ==27514== by 0x40A0BF3: lj_record_ins (lj_record.c:2173) ==27514== by 0x40BB16A: trace_state (lj_trace.c:680) ==27514== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27514== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27514== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27514== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27514== by 0x407FA29: lua_resume (lj_api.c:1296) ==27514== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27514== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27514== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27514== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27514== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27514== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27514== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27514== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27514== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27514== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27514== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27514== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27514== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27514== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27514== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27514== by 0x8065F8B: main (nginx.c:385) ==27514== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:rec_mm_callcomp fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 3: func + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 3: func + submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache |
==27528== Invalid read of size 4 ==27528== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27528== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27528== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27528== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27528== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27528== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27528== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27528== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27528== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27528== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27528== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27528== by 0x8065F8B: main (nginx.c:385) ==27528== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27528== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache |
==27528== ==27528== Process terminating with default action of signal 11 (SIGSEGV) ==27528== Access not within mapped region at address 0x0 ==27528== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27528== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27528== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27528== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27528== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27528== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27528== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27528== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27528== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27528== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27528== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27528== by 0x8065F8B: main (nginx.c:385) ==27528== If you believe this happened as a result of a stack ==27528== overflow in your program's main thread (unlikely but ==27528== possible), you can try to increase the size of the ==27528== main thread stack using the --main-stacksize= flag. ==27528== The main thread stack size used in this run was 8388608. ==27528== 4,096 bytes in 1 blocks are definitely lost in loss record 3,133 of 3,163 ==27528== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27528== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27528== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27528== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27528== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==27528== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==27528== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27528== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27528== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27528== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27528== by 0x40BB675: trace_state (lj_trace.c:690) ==27528== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27528== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27528== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27528== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27528== by 0x407FA29: lua_resume (lj_api.c:1296) ==27528== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27528== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27528== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27528== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27528== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27528== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27528== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27528== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27528== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27528== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27528== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27528== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27528== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27528== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27528== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27528== by 0x8065F8B: main (nginx.c:385) ==27528== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache |
==27549== Invalid read of size 4 ==27549== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27549== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27549== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27549== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27549== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27549== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27549== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27549== by 0x8065F8B: main (nginx.c:385) ==27549== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27549== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache |
==27549== ==27549== Process terminating with default action of signal 11 (SIGSEGV) ==27549== Access not within mapped region at address 0x0 ==27549== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27549== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27549== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27549== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27549== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27549== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27549== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27549== by 0x8065F8B: main (nginx.c:385) ==27549== If you believe this happened as a result of a stack ==27549== overflow in your program's main thread (unlikely but ==27549== possible), you can try to increase the size of the ==27549== main thread stack using the --main-stacksize= flag. ==27549== The main thread stack size used in this run was 8388608. ==27549== 4,096 bytes in 1 blocks are definitely lost in loss record 3,133 of 3,163 ==27549== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27549== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27549== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27549== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27549== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==27549== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==27549== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==27549== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==27549== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27549== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27549== by 0x40BB675: trace_state (lj_trace.c:690) ==27549== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27549== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27549== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27549== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27549== by 0x407FA29: lua_resume (lj_api.c:1296) ==27549== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27549== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27549== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27549== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27549== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27549== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27549== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27549== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27549== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27549== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27549== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27549== by 0x8065F8B: main (nginx.c:385) ==27549== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==27559== Invalid read of size 4 ==27559== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27559== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27559== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27559== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27559== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27559== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27559== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27559== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27559== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27559== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27559== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==27559== by 0x8065F8B: main (nginx.c:385) ==27559== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27559== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==27559== ==27559== Process terminating with default action of signal 11 (SIGSEGV) ==27559== Access not within mapped region at address 0x0 ==27559== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27559== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27559== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27559== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27559== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27559== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27559== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27559== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27559== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27559== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27559== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==27559== by 0x8065F8B: main (nginx.c:385) ==27559== If you believe this happened as a result of a stack ==27559== overflow in your program's main thread (unlikely but ==27559== possible), you can try to increase the size of the ==27559== main thread stack using the --main-stacksize= flag. ==27559== The main thread stack size used in this run was 8388608. ==27559== 1,024 bytes in 1 blocks are definitely lost in loss record 3,020 of 3,136 ==27559== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27559== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27559== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27559== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27559== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27559== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27559== by 0x40945CF: loop_emit_phi (lj_opt_loop.c:197) ==27559== by 0x40945CF: loop_unroll (lj_opt_loop.c:379) ==27559== by 0x40945CF: cploop_opt (lj_opt_loop.c:409) ==27559== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27559== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27559== by 0x40BB675: trace_state (lj_trace.c:690) ==27559== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27559== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27559== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27559== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27559== by 0x407FA29: lua_resume (lj_api.c:1296) ==27559== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27559== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27559== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27559== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27559== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27559== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27559== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27559== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27559== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27559== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27559== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27559== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27559== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27559== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27559== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==27559== by 0x8065F8B: main (nginx.c:385) ==27559== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:loop_emit_phi fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/request.t | TEST 1: ngx.req.start_time() - status code ok |
got: '' expected: '200' |
stream/request.t | TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==27560== Invalid read of size 4 ==27560== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27560== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27560== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27560== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27560== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27560== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27560== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27560== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27560== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27560== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27560== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27560== by 0x8065F8B: main (nginx.c:385) ==27560== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27560== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==27560== ==27560== Process terminating with default action of signal 11 (SIGSEGV) ==27560== Access not within mapped region at address 0x0 ==27560== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27560== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27560== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27560== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27560== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27560== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27560== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27560== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27560== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27560== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27560== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27560== by 0x8065F8B: main (nginx.c:385) ==27560== If you believe this happened as a result of a stack ==27560== overflow in your program's main thread (unlikely but ==27560== possible), you can try to increase the size of the ==27560== main thread stack using the --main-stacksize= flag. ==27560== The main thread stack size used in this run was 8388608. ==27560== 1,024 bytes in 1 blocks are definitely lost in loss record 3,020 of 3,136 ==27560== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27560== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27560== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27560== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27560== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==27560== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==27560== by 0x40945CF: loop_emit_phi (lj_opt_loop.c:197) ==27560== by 0x40945CF: loop_unroll (lj_opt_loop.c:379) ==27560== by 0x40945CF: cploop_opt (lj_opt_loop.c:409) ==27560== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27560== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==27560== by 0x40BB675: trace_state (lj_trace.c:690) ==27560== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27560== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27560== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27560== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27560== by 0x407FA29: lua_resume (lj_api.c:1296) ==27560== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27560== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27560== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27560== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27560== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27560== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27560== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27560== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27560== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27560== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27560== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27560== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27560== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27560== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27560== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27560== by 0x8065F8B: main (nginx.c:385) ==27560== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:loop_emit_phi fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/request.t | TEST 1: ngx.req.start_time() - status code ok |
got: '' expected: '200' |
stream/request.t | TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - Can't connect to 127.0.0.1:1984: Connection refused |
==27570== Invalid read of size 4 ==27570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27570== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27570== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==27570== by 0x8065F8B: main (nginx.c:385) ==27570== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - Can't connect to 127.0.0.1:1984: Connection refused |
==27570== ==27570== Process terminating with default action of signal 11 (SIGSEGV) ==27570== Access not within mapped region at address 0x0 ==27570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27570== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27570== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==27570== by 0x8065F8B: main (nginx.c:385) ==27570== If you believe this happened as a result of a stack ==27570== overflow in your program's main thread (unlikely but ==27570== possible), you can try to increase the size of the ==27570== main thread stack using the --main-stacksize= flag. ==27570== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'true, nil ' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - Can't connect to 127.0.0.1:1984: Connection refused |
==27571== Invalid read of size 4 ==27571== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27571== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27571== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27571== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27571== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27571== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27571== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27571== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27571== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27571== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27571== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27571== by 0x8065F8B: main (nginx.c:385) ==27571== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27571== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - Can't connect to 127.0.0.1:1984: Connection refused |
==27571== ==27571== Process terminating with default action of signal 11 (SIGSEGV) ==27571== Access not within mapped region at address 0x0 ==27571== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27571== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27571== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27571== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27571== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27571== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27571== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27571== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27571== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27571== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27571== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27571== by 0x8065F8B: main (nginx.c:385) ==27571== If you believe this happened as a result of a stack ==27571== overflow in your program's main thread (unlikely but ==27571== possible), you can try to increase the size of the ==27571== main thread stack using the --main-stacksize= flag. ==27571== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'true, nil ' |
stream/semaphore.t | TEST 15: two thread wait for each other |
==27583== Invalid read of size 4 ==27583== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27583== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27583== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27583== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27583== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27583== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27583== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27583== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27583== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27583== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27583== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27583== by 0x8065F8B: main (nginx.c:385) ==27583== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27583== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 15: two thread wait for each other |
==27583== ==27583== Process terminating with default action of signal 11 (SIGSEGV) ==27583== Access not within mapped region at address 0x0 ==27583== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27583== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27583== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27583== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27583== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27583== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27583== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27583== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27583== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27583== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27583== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27583== by 0x8065F8B: main (nginx.c:385) ==27583== If you believe this happened as a result of a stack ==27583== overflow in your program's main thread (unlikely but ==27583== possible), you can try to increase the size of the ==27583== main thread stack using the --main-stacksize= flag. ==27583== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 15: two thread wait for each other - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 15: two thread wait for each other - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -count in B: 0 -count in A: 0 ' |
stream/semaphore.t | TEST 15: two thread wait for each other |
==27604== Invalid read of size 4 ==27604== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27604== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27604== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27604== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27604== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27604== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27604== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27604== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27604== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27604== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27604== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27604== by 0x8065F8B: main (nginx.c:385) ==27604== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27604== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 15: two thread wait for each other |
==27604== ==27604== Process terminating with default action of signal 11 (SIGSEGV) ==27604== Access not within mapped region at address 0x0 ==27604== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27604== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27604== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27604== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27604== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27604== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27604== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27604== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27604== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27604== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27604== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27604== by 0x8065F8B: main (nginx.c:385) ==27604== If you believe this happened as a result of a stack ==27604== overflow in your program's main thread (unlikely but ==27604== possible), you can try to increase the size of the ==27604== main thread stack using the --main-stacksize= flag. ==27604== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 15: two thread wait for each other - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 15: two thread wait for each other - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -count in B: 0 -count in A: 0 ' |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) |
==27616== Invalid read of size 4 ==27616== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27616== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27616== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27616== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27616== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27616== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27616== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27616== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27616== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27616== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27616== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27616== by 0x8065F8B: main (nginx.c:385) ==27616== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27616== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) |
==27616== ==27616== Process terminating with default action of signal 11 (SIGSEGV) ==27616== Access not within mapped region at address 0x0 ==27616== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27616== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27616== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27616== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27616== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27616== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27616== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27616== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27616== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27616== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27616== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27616== by 0x8065F8B: main (nginx.c:385) ==27616== If you believe this happened as a result of a stack ==27616== overflow in your program's main thread (unlikely but ==27616== possible), you can try to increase the size of the ==27616== main thread stack using the --main-stacksize= flag. ==27616== The main thread stack size used in this run was 8388608. ==27616== 2,048 bytes in 1 blocks are definitely lost in loss record 3,022 of 3,088 ==27616== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27616== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27616== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27616== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27616== by 0x40B9CC1: lj_ir_nextins (lj_iropt.h:34) ==27616== by 0x40B9CC1: lj_asm_trace (lj_asm.c:2346) ==27616== by 0x40BAF25: trace_state (lj_trace.c:707) ==27616== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27616== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27616== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27616== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27616== by 0x407FA29: lua_resume (lj_api.c:1296) ==27616== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27616== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27616== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27616== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27616== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27616== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27616== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27616== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27616== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27616== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27616== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27616== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27616== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27616== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27616== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27616== by 0x8065F8B: main (nginx.c:385) ==27616== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_asm_trace fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) |
==27639== Invalid read of size 4 ==27639== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27639== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27639== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27639== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27639== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27639== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27639== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27639== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27639== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27639== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27639== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27639== by 0x8065F8B: main (nginx.c:385) ==27639== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27639== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) |
==27639== ==27639== Process terminating with default action of signal 11 (SIGSEGV) ==27639== Access not within mapped region at address 0x0 ==27639== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27639== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27639== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27639== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27639== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27639== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27639== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27639== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27639== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27639== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27639== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27639== by 0x8065F8B: main (nginx.c:385) ==27639== If you believe this happened as a result of a stack ==27639== overflow in your program's main thread (unlikely but ==27639== possible), you can try to increase the size of the ==27639== main thread stack using the --main-stacksize= flag. ==27639== The main thread stack size used in this run was 8388608. ==27639== 2,048 bytes in 1 blocks are definitely lost in loss record 3,022 of 3,088 ==27639== at 0x402C768: realloc (vg_replace_malloc.c:834) ==27639== by 0x40CC146: mem_alloc (lib_aux.c:335) ==27639== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==27639== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==27639== by 0x40B9CC1: lj_ir_nextins (lj_iropt.h:34) ==27639== by 0x40B9CC1: lj_asm_trace (lj_asm.c:2346) ==27639== by 0x40BAF25: trace_state (lj_trace.c:707) ==27639== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27639== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==27639== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==27639== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==27639== by 0x407FA29: lua_resume (lj_api.c:1296) ==27639== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==27639== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==27639== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==27639== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==27639== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==27639== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==27639== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==27639== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==27639== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==27639== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27639== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27639== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27639== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27639== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27639== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27639== by 0x8065F8B: main (nginx.c:385) ==27639== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_asm_trace fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) |
==27651== Invalid read of size 4 ==27651== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27651== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27651== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27651== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27651== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27651== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27651== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27651== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27651== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27651== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27651== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27651== by 0x8065F8B: main (nginx.c:385) ==27651== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27651== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) |
==27651== ==27651== Process terminating with default action of signal 11 (SIGSEGV) ==27651== Access not within mapped region at address 0x0 ==27651== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27651== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27651== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27651== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27651== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27651== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27651== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27651== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27651== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27651== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27651== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27651== by 0x8065F8B: main (nginx.c:385) ==27651== If you believe this happened as a result of a stack ==27651== overflow in your program's main thread (unlikely but ==27651== possible), you can try to increase the size of the ==27651== main thread stack using the --main-stacksize= flag. ==27651== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -ok -count: 1 ' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) |
==27672== Invalid read of size 4 ==27672== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27672== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27672== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27672== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27672== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27672== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27672== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27672== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27672== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27672== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27672== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27672== by 0x8065F8B: main (nginx.c:385) ==27672== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27672== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) |
==27672== ==27672== Process terminating with default action of signal 11 (SIGSEGV) ==27672== Access not within mapped region at address 0x0 ==27672== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27672== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27672== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27672== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27672== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27672== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27672== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27672== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27672== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27672== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27672== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27672== by 0x8065F8B: main (nginx.c:385) ==27672== If you believe this happened as a result of a stack ==27672== overflow in your program's main thread (unlikely but ==27672== possible), you can try to increase the size of the ==27672== main thread stack using the --main-stacksize= flag. ==27672== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -ok -count: 1 ' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore |
==27684== Invalid read of size 4 ==27684== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27684== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27684== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27684== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27684== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27684== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27684== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27684== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27684== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27684== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27684== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27684== by 0x8065F8B: main (nginx.c:385) ==27684== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27684== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore |
==27684== ==27684== Process terminating with default action of signal 11 (SIGSEGV) ==27684== Access not within mapped region at address 0x0 ==27684== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27684== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27684== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27684== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27684== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27684== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27684== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27684== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27684== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27684== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27684== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27684== by 0x8065F8B: main (nginx.c:385) ==27684== If you believe this happened as a result of a stack ==27684== overflow in your program's main thread (unlikely but ==27684== possible), you can try to increase the size of the ==27684== main thread stack using the --main-stacksize= flag. ==27684== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'err: timeout ' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore |
==27705== Invalid read of size 4 ==27705== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27705== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27705== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27705== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27705== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27705== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27705== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27705== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27705== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27705== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27705== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27705== by 0x8065F8B: main (nginx.c:385) ==27705== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27705== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore |
==27705== ==27705== Process terminating with default action of signal 11 (SIGSEGV) ==27705== Access not within mapped region at address 0x0 ==27705== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27705== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27705== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27705== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27705== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27705== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27705== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27705== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27705== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27705== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27705== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27705== by 0x8065F8B: main (nginx.c:385) ==27705== If you believe this happened as a result of a stack ==27705== overflow in your program's main thread (unlikely but ==27705== possible), you can try to increase the size of the ==27705== main thread stack using the --main-stacksize= flag. ==27705== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'err: timeout ' |
stream/semaphore.t | TEST 22: semaphore wait time is zero |
==27717== Invalid read of size 4 ==27717== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27717== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27717== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27717== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27717== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27717== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27717== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27717== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27717== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27717== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27717== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27717== by 0x8065F8B: main (nginx.c:385) ==27717== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27717== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 22: semaphore wait time is zero |
==27717== ==27717== Process terminating with default action of signal 11 (SIGSEGV) ==27717== Access not within mapped region at address 0x0 ==27717== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27717== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27717== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27717== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27717== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27717== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27717== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27717== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27717== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27717== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27717== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27717== by 0x8065F8B: main (nginx.c:385) ==27717== If you believe this happened as a result of a stack ==27717== overflow in your program's main thread (unlikely but ==27717== possible), you can try to increase the size of the ==27717== main thread stack using the --main-stacksize= flag. ==27717== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 22: semaphore wait time is zero - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 22: semaphore wait time is zero - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
stream/semaphore.t | TEST 22: semaphore wait time is zero |
==27738== Invalid read of size 4 ==27738== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27738== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27738== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27738== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27738== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27738== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27738== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27738== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27738== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27738== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27738== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27738== by 0x8065F8B: main (nginx.c:385) ==27738== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27738== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 22: semaphore wait time is zero |
==27738== ==27738== Process terminating with default action of signal 11 (SIGSEGV) ==27738== Access not within mapped region at address 0x0 ==27738== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27738== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27738== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27738== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27738== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27738== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27738== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27738== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27738== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27738== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27738== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27738== by 0x8065F8B: main (nginx.c:385) ==27738== If you believe this happened as a result of a stack ==27738== overflow in your program's main thread (unlikely but ==27738== possible), you can try to increase the size of the ==27738== main thread stack using the --main-stacksize= flag. ==27738== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 22: semaphore wait time is zero - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 22: semaphore wait time is zero - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) |
==27750== Invalid read of size 4 ==27750== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27750== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27750== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27750== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27750== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27750== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27750== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27750== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27750== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27750== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27750== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27750== by 0x8065F8B: main (nginx.c:385) ==27750== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27750== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) |
==27750== ==27750== Process terminating with default action of signal 11 (SIGSEGV) ==27750== Access not within mapped region at address 0x0 ==27750== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27750== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27750== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27750== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27750== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27750== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27750== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27750== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27750== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27750== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27750== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27750== by 0x8065F8B: main (nginx.c:385) ==27750== If you believe this happened as a result of a stack ==27750== overflow in your program's main thread (unlikely but ==27750== possible), you can try to increase the size of the ==27750== main thread stack using the --main-stacksize= flag. ==27750== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) |
==27771== Invalid read of size 4 ==27771== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27771== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27771== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27771== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27771== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27771== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27771== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27771== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27771== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27771== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27771== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27771== by 0x8065F8B: main (nginx.c:385) ==27771== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) |
==27771== ==27771== Process terminating with default action of signal 11 (SIGSEGV) ==27771== Access not within mapped region at address 0x0 ==27771== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27771== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27771== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27771== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27771== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27771== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27771== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27771== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27771== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27771== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27771== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27771== by 0x8065F8B: main (nginx.c:385) ==27771== If you believe this happened as a result of a stack ==27771== overflow in your program's main thread (unlikely but ==27771== possible), you can try to increase the size of the ==27771== main thread stack using the --main-stacksize= flag. ==27771== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) |
==27783== Invalid read of size 4 ==27783== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27783== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27783== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27783== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27783== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27783== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27783== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27783== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27783== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27783== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27783== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27783== by 0x8065F8B: main (nginx.c:385) ==27783== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27783== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) |
==27783== ==27783== Process terminating with default action of signal 11 (SIGSEGV) ==27783== Access not within mapped region at address 0x0 ==27783== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27783== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27783== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27783== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27783== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27783== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27783== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27783== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27783== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27783== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27783== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27783== by 0x8065F8B: main (nginx.c:385) ==27783== If you believe this happened as a result of a stack ==27783== overflow in your program's main thread (unlikely but ==27783== possible), you can try to increase the size of the ==27783== main thread stack using the --main-stacksize= flag. ==27783== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) |
==27806== Invalid read of size 4 ==27806== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27806== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27806== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27806== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27806== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27806== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27806== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27806== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27806== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27806== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27806== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27806== by 0x8065F8B: main (nginx.c:385) ==27806== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27806== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) |
==27806== ==27806== Process terminating with default action of signal 11 (SIGSEGV) ==27806== Access not within mapped region at address 0x0 ==27806== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27806== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27806== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27806== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27806== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27806== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27806== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27806== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27806== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27806== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27806== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27806== by 0x8065F8B: main (nginx.c:385) ==27806== If you believe this happened as a result of a stack ==27806== overflow in your program's main thread (unlikely but ==27806== possible), you can try to increase the size of the ==27806== main thread stack using the --main-stacksize= flag. ==27806== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) |
==27818== Invalid read of size 4 ==27818== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27818== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27818== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27818== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27818== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27818== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27818== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27818== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27818== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27818== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27818== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27818== by 0x8065F8B: main (nginx.c:385) ==27818== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27818== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) |
==27818== ==27818== Process terminating with default action of signal 11 (SIGSEGV) ==27818== Access not within mapped region at address 0x0 ==27818== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27818== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27818== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27818== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27818== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27818== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27818== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27818== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27818== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27818== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27818== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27818== by 0x8065F8B: main (nginx.c:385) ==27818== If you believe this happened as a result of a stack ==27818== overflow in your program's main thread (unlikely but ==27818== possible), you can try to increase the size of the ==27818== main thread stack using the --main-stacksize= flag. ==27818== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) |
==27839== Invalid read of size 4 ==27839== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27839== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27839== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27839== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27839== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27839== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27839== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27839== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27839== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27839== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27839== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27839== by 0x8065F8B: main (nginx.c:385) ==27839== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27839== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) |
==27839== ==27839== Process terminating with default action of signal 11 (SIGSEGV) ==27839== Access not within mapped region at address 0x0 ==27839== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27839== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27839== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27839== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27839== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27839== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27839== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27839== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27839== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27839== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27839== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27839== by 0x8065F8B: main (nginx.c:385) ==27839== If you believe this happened as a result of a stack ==27839== overflow in your program's main thread (unlikely but ==27839== possible), you can try to increase the size of the ==27839== main thread stack using the --main-stacksize= flag. ==27839== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) |
==27851== Invalid read of size 4 ==27851== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27851== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27851== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27851== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27851== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27851== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27851== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27851== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27851== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27851== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27851== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27851== by 0x8065F8B: main (nginx.c:385) ==27851== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27851== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) |
==27851== ==27851== Process terminating with default action of signal 11 (SIGSEGV) ==27851== Access not within mapped region at address 0x0 ==27851== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27851== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27851== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27851== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27851== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27851== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27851== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27851== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27851== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27851== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27851== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27851== by 0x8065F8B: main (nginx.c:385) ==27851== If you believe this happened as a result of a stack ==27851== overflow in your program's main thread (unlikely but ==27851== possible), you can try to increase the size of the ==27851== main thread stack using the --main-stacksize= flag. ==27851== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) |
==27872== Invalid read of size 4 ==27872== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27872== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27872== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27872== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27872== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27872== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27872== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27872== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27872== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27872== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27872== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27872== by 0x8065F8B: main (nginx.c:385) ==27872== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27872== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) |
==27872== ==27872== Process terminating with default action of signal 11 (SIGSEGV) ==27872== Access not within mapped region at address 0x0 ==27872== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27872== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27872== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27872== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27872== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27872== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27872== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27872== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27872== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27872== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27872== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27872== by 0x8065F8B: main (nginx.c:385) ==27872== If you believe this happened as a result of a stack ==27872== overflow in your program's main thread (unlikely but ==27872== possible), you can try to increase the size of the ==27872== main thread stack using the --main-stacksize= flag. ==27872== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 2: semaphore wait order |
==27884== Invalid read of size 4 ==27884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27884== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27884== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27884== by 0x8065F8B: main (nginx.c:385) ==27884== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27884== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 2: semaphore wait order |
==27884== ==27884== Process terminating with default action of signal 11 (SIGSEGV) ==27884== Access not within mapped region at address 0x0 ==27884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27884== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27884== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27884== by 0x8065F8B: main (nginx.c:385) ==27884== If you believe this happened as a result of a stack ==27884== overflow in your program's main thread (unlikely but ==27884== possible), you can try to increase the size of the ==27884== main thread stack using the --main-stacksize= flag. ==27884== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 2: semaphore wait order - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 2: semaphore wait order - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +0,0 @@ -enter waiting, id: 1 -enter waiting, id: 2 -back in main thread -wait failed in main thread: timeout -still in main thread -wait success, id: 1 -wait success, id: 2 -wait failed in main thread: timeout -main thread end ' |
stream/semaphore.t | TEST 2: semaphore wait order |
==27905== Invalid read of size 4 ==27905== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27905== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27905== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27905== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27905== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27905== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27905== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27905== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27905== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27905== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27905== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27905== by 0x8065F8B: main (nginx.c:385) ==27905== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27905== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 2: semaphore wait order |
==27905== ==27905== Process terminating with default action of signal 11 (SIGSEGV) ==27905== Access not within mapped region at address 0x0 ==27905== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27905== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27905== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27905== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27905== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27905== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27905== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27905== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27905== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27905== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27905== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27905== by 0x8065F8B: main (nginx.c:385) ==27905== If you believe this happened as a result of a stack ==27905== overflow in your program's main thread (unlikely but ==27905== possible), you can try to increase the size of the ==27905== main thread stack using the --main-stacksize= flag. ==27905== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 2: semaphore wait order - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 2: semaphore wait order - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +0,0 @@ -enter waiting, id: 1 -enter waiting, id: 2 -back in main thread -wait failed in main thread: timeout -still in main thread -wait success, id: 1 -wait success, id: 2 -wait failed in main thread: timeout -main thread end ' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore |
==27917== Invalid read of size 4 ==27917== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27917== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27917== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27917== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27917== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27917== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27917== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27917== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27917== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27917== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27917== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27917== by 0x8065F8B: main (nginx.c:385) ==27917== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27917== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore |
==27917== ==27917== Process terminating with default action of signal 11 (SIGSEGV) ==27917== Access not within mapped region at address 0x0 ==27917== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27917== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27917== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27917== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27917== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27917== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27917== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27917== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27917== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27917== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27917== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27917== by 0x8065F8B: main (nginx.c:385) ==27917== If you believe this happened as a result of a stack ==27917== overflow in your program's main thread (unlikely but ==27917== possible), you can try to increase the size of the ==27917== main thread stack using the --main-stacksize= flag. ==27917== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -sem waiting start -thread waiting start -thread kill success -sem wait err: timeout -sem waiting done ' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore |
==27938== Invalid read of size 4 ==27938== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27938== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27938== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27938== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27938== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27938== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27938== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27938== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27938== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27938== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27938== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27938== by 0x8065F8B: main (nginx.c:385) ==27938== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27938== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore |
==27938== ==27938== Process terminating with default action of signal 11 (SIGSEGV) ==27938== Access not within mapped region at address 0x0 ==27938== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27938== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27938== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27938== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27938== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27938== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27938== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27938== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27938== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27938== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27938== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27938== by 0x8065F8B: main (nginx.c:385) ==27938== If you believe this happened as a result of a stack ==27938== overflow in your program's main thread (unlikely but ==27938== possible), you can try to increase the size of the ==27938== main thread stack using the --main-stacksize= flag. ==27938== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -sem waiting start -thread waiting start -thread kill success -sem wait err: timeout -sem waiting done ' |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore |
==27950== Invalid read of size 4 ==27950== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27950== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27950== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27950== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27950== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27950== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27950== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27950== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27950== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27950== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27950== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27950== by 0x8065F8B: main (nginx.c:385) ==27950== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore |
==27950== ==27950== Process terminating with default action of signal 11 (SIGSEGV) ==27950== Access not within mapped region at address 0x0 ==27950== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27950== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27950== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27950== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27950== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27950== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27950== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27950== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27950== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27950== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27950== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27950== by 0x8065F8B: main (nginx.c:385) ==27950== If you believe this happened as a result of a stack ==27950== overflow in your program's main thread (unlikely but ==27950== possible), you can try to increase the size of the ==27950== main thread stack using the --main-stacksize= flag. ==27950== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -sem waiting -ok ' |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore |
==27971== Invalid read of size 4 ==27971== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27971== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27971== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27971== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27971== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27971== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27971== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27971== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27971== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27971== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27971== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27971== by 0x8065F8B: main (nginx.c:385) ==27971== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27971== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore |
==27971== ==27971== Process terminating with default action of signal 11 (SIGSEGV) ==27971== Access not within mapped region at address 0x0 ==27971== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27971== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27971== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27971== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27971== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27971== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27971== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27971== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27971== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27971== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==27971== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==27971== by 0x8065F8B: main (nginx.c:385) ==27971== If you believe this happened as a result of a stack ==27971== overflow in your program's main thread (unlikely but ==27971== possible), you can try to increase the size of the ==27971== main thread stack using the --main-stacksize= flag. ==27971== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -sem waiting -ok ' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) |
==27983== Invalid read of size 4 ==27983== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27983== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27983== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27983== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27983== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27983== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27983== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27983== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27983== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27983== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27983== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27983== by 0x8065F8B: main (nginx.c:385) ==27983== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==27983== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) |
==27983== ==27983== Process terminating with default action of signal 11 (SIGSEGV) ==27983== Access not within mapped region at address 0x0 ==27983== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==27983== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==27983== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==27983== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==27983== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==27983== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==27983== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==27983== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==27983== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==27983== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==27983== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==27983== by 0x8065F8B: main (nginx.c:385) ==27983== If you believe this happened as a result of a stack ==27983== overflow in your program's main thread (unlikely but ==27983== possible), you can try to increase the size of the ==27983== main thread stack using the --main-stacksize= flag. ==27983== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) |
==28006== Invalid read of size 4 ==28006== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28006== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28006== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28006== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28006== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28006== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28006== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28006== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28006== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28006== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28006== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28006== by 0x8065F8B: main (nginx.c:385) ==28006== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28006== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) |
==28006== ==28006== Process terminating with default action of signal 11 (SIGSEGV) ==28006== Access not within mapped region at address 0x0 ==28006== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28006== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28006== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28006== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28006== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28006== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28006== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28006== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28006== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28006== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28006== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28006== by 0x8065F8B: main (nginx.c:385) ==28006== If you believe this happened as a result of a stack ==28006== overflow in your program's main thread (unlikely but ==28006== possible), you can try to increase the size of the ==28006== main thread stack using the --main-stacksize= flag. ==28006== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) |
==28018== Invalid read of size 4 ==28018== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28018== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28018== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28018== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28018== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28018== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28018== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28018== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28018== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28018== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28018== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28018== by 0x8065F8B: main (nginx.c:385) ==28018== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28018== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) |
==28018== ==28018== Process terminating with default action of signal 11 (SIGSEGV) ==28018== Access not within mapped region at address 0x0 ==28018== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28018== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28018== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28018== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28018== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28018== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28018== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28018== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28018== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28018== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28018== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28018== by 0x8065F8B: main (nginx.c:385) ==28018== If you believe this happened as a result of a stack ==28018== overflow in your program's main thread (unlikely but ==28018== possible), you can try to increase the size of the ==28018== main thread stack using the --main-stacksize= flag. ==28018== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -0 --1 ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) |
==28039== Invalid read of size 4 ==28039== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28039== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28039== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28039== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28039== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28039== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28039== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28039== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28039== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28039== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28039== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28039== by 0x8065F8B: main (nginx.c:385) ==28039== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28039== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) |
==28039== ==28039== Process terminating with default action of signal 11 (SIGSEGV) ==28039== Access not within mapped region at address 0x0 ==28039== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28039== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28039== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28039== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28039== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28039== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28039== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28039== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28039== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28039== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28039== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28039== by 0x8065F8B: main (nginx.c:385) ==28039== If you believe this happened as a result of a stack ==28039== overflow in your program's main thread (unlikely but ==28039== possible), you can try to increase the size of the ==28039== main thread stack using the --main-stacksize= flag. ==28039== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -0 --1 ' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at |
==28051== Invalid read of size 4 ==28051== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28051== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28051== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28051== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28051== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28051== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28051== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28051== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28051== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28051== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28051== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28051== by 0x8065F8B: main (nginx.c:385) ==28051== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28051== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 14: semaphore wait in timer.at |
==28051== ==28051== Process terminating with default action of signal 11 (SIGSEGV) ==28051== Access not within mapped region at address 0x0 ==28051== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28051== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28051== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28051== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28051== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28051== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28051== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28051== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28051== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28051== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28051== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28051== by 0x8065F8B: main (nginx.c:385) ==28051== If you believe this happened as a result of a stack ==28051== overflow in your program's main thread (unlikely but ==28051== possible), you can try to increase the size of the ==28051== main thread stack using the --main-stacksize= flag. ==28051== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at |
==28072== Invalid read of size 4 ==28072== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28072== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28072== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28072== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28072== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28072== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28072== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28072== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28072== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28072== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28072== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28072== by 0x8065F8B: main (nginx.c:385) ==28072== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28072== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 14: semaphore wait in timer.at |
==28072== ==28072== Process terminating with default action of signal 11 (SIGSEGV) ==28072== Access not within mapped region at address 0x0 ==28072== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28072== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28072== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28072== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28072== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28072== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28072== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28072== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28072== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28072== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28072== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28072== by 0x8065F8B: main (nginx.c:385) ==28072== If you believe this happened as a result of a stack ==28072== overflow in your program's main thread (unlikely but ==28072== possible), you can try to increase the size of the ==28072== main thread stack using the --main-stacksize= flag. ==28072== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore |
==28084== Invalid read of size 4 ==28084== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28084== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28084== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28084== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28084== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28084== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28084== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28084== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28084== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28084== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28084== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28084== by 0x8065F8B: main (nginx.c:385) ==28084== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28084== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore |
==28084== ==28084== Process terminating with default action of signal 11 (SIGSEGV) ==28084== Access not within mapped region at address 0x0 ==28084== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28084== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28084== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28084== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28084== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28084== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28084== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28084== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28084== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28084== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28084== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28084== by 0x8065F8B: main (nginx.c:385) ==28084== If you believe this happened as a result of a stack ==28084== overflow in your program's main thread (unlikely but ==28084== possible), you can try to increase the size of the ==28084== main thread stack using the --main-stacksize= flag. ==28084== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +0,0 @@ -wait: 1 -wait: 2 -wait: 3 -post: 1 -post: 2 -post: 3 -wait success: 1 -wait success: 2 -wait success: 3 ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore |
==28105== Invalid read of size 4 ==28105== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28105== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28105== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28105== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28105== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28105== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28105== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28105== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28105== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28105== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28105== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28105== by 0x8065F8B: main (nginx.c:385) ==28105== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28105== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore |
==28105== ==28105== Process terminating with default action of signal 11 (SIGSEGV) ==28105== Access not within mapped region at address 0x0 ==28105== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28105== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28105== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28105== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28105== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28105== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28105== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28105== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28105== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28105== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28105== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28105== by 0x8065F8B: main (nginx.c:385) ==28105== If you believe this happened as a result of a stack ==28105== overflow in your program's main thread (unlikely but ==28105== possible), you can try to increase the size of the ==28105== main thread stack using the --main-stacksize= flag. ==28105== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +0,0 @@ -wait: 1 -wait: 2 -wait: 3 -post: 1 -post: 2 -post: 3 -wait success: 1 -wait success: 2 -wait success: 3 ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) |
==28117== Invalid read of size 4 ==28117== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28117== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28117== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28117== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28117== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28117== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28117== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28117== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28117== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28117== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28117== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28117== by 0x8065F8B: main (nginx.c:385) ==28117== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28117== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) |
==28117== ==28117== Process terminating with default action of signal 11 (SIGSEGV) ==28117== Access not within mapped region at address 0x0 ==28117== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28117== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28117== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28117== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28117== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28117== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28117== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28117== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28117== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28117== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28117== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28117== by 0x8065F8B: main (nginx.c:385) ==28117== If you believe this happened as a result of a stack ==28117== overflow in your program's main thread (unlikely but ==28117== possible), you can try to increase the size of the ==28117== main thread stack using the --main-stacksize= flag. ==28117== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) |
==28138== Invalid read of size 4 ==28138== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28138== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28138== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28138== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28138== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28138== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28138== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28138== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28138== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28138== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28138== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28138== by 0x8065F8B: main (nginx.c:385) ==28138== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28138== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) |
==28138== ==28138== Process terminating with default action of signal 11 (SIGSEGV) ==28138== Access not within mapped region at address 0x0 ==28138== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28138== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28138== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28138== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28138== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28138== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28138== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28138== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28138== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28138== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28138== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28138== by 0x8065F8B: main (nginx.c:385) ==28138== If you believe this happened as a result of a stack ==28138== overflow in your program's main thread (unlikely but ==28138== possible), you can try to increase the size of the ==28138== main thread stack using the --main-stacksize= flag. ==28138== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | ERROR: client socket timed out - TEST 26: basic semaphore_mm free insert head |
' |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 0) | |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head |
==28150== Invalid read of size 4 ==28150== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28150== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28150== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28150== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28150== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28150== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28150== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28150== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28150== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28150== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28150== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28150== by 0x8065F8B: main (nginx.c:385) ==28150== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28150== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head |
==28150== ==28150== Process terminating with default action of signal 11 (SIGSEGV) ==28150== Access not within mapped region at address 0x0 ==28150== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28150== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28150== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28150== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28150== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28150== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28150== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28150== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28150== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28150== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28150== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28150== by 0x8065F8B: main (nginx.c:385) ==28150== If you believe this happened as a result of a stack ==28150== overflow in your program's main thread (unlikely but ==28150== possible), you can try to increase the size of the ==28150== main thread stack using the --main-stacksize= flag. ==28150== The main thread stack size used in this run was 8388608. ==28150== 2,048 bytes in 1 blocks are definitely lost in loss record 3,022 of 3,088 ==28150== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28150== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28150== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28150== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28150== by 0x40B9CC1: lj_ir_nextins (lj_iropt.h:34) ==28150== by 0x40B9CC1: lj_asm_trace (lj_asm.c:2346) ==28150== by 0x40BAF25: trace_state (lj_trace.c:707) ==28150== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28150== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28150== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==28150== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28150== by 0x407FA29: lua_resume (lj_api.c:1296) ==28150== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28150== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28150== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28150== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28150== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28150== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28150== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28150== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28150== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28150== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28150== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28150== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28150== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28150== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28150== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28150== by 0x8065F8B: main (nginx.c:385) ==28150== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_asm_trace fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 23: test semaphore gc |
==28182== Invalid read of size 4 ==28182== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28182== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28182== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28182== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28182== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28182== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28182== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28182== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28182== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28182== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28182== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28182== by 0x8065F8B: main (nginx.c:385) ==28182== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28182== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 23: test semaphore gc |
==28182== ==28182== Process terminating with default action of signal 11 (SIGSEGV) ==28182== Access not within mapped region at address 0x0 ==28182== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28182== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28182== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28182== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28182== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28182== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28182== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28182== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28182== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28182== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28182== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28182== by 0x8065F8B: main (nginx.c:385) ==28182== If you believe this happened as a result of a stack ==28182== overflow in your program's main thread (unlikely but ==28182== possible), you can try to increase the size of the ==28182== main thread stack using the --main-stacksize= flag. ==28182== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 23: test semaphore gc - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 23: test semaphore gc - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'success ' |
stream/semaphore.t | TEST 23: test semaphore gc |
==28206== Invalid read of size 4 ==28206== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28206== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28206== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28206== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28206== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28206== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28206== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28206== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28206== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28206== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28206== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28206== by 0x8065F8B: main (nginx.c:385) ==28206== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28206== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 23: test semaphore gc |
==28206== ==28206== Process terminating with default action of signal 11 (SIGSEGV) ==28206== Access not within mapped region at address 0x0 ==28206== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28206== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28206== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28206== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28206== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28206== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28206== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28206== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28206== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28206== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28206== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28206== by 0x8065F8B: main (nginx.c:385) ==28206== If you believe this happened as a result of a stack ==28206== overflow in your program's main thread (unlikely but ==28206== possible), you can try to increase the size of the ==28206== main thread stack using the --main-stacksize= flag. ==28206== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 23: test semaphore gc - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 23: test semaphore gc - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'success ' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc |
==28218== Invalid read of size 4 ==28218== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28218== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28218== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28218== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28218== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28218== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28218== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28218== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28218== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28218== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28218== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28218== by 0x8065F8B: main (nginx.c:385) ==28218== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28218== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc |
==28218== ==28218== Process terminating with default action of signal 11 (SIGSEGV) ==28218== Access not within mapped region at address 0x0 ==28218== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28218== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28218== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28218== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28218== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28218== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28218== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28218== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28218== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28218== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28218== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28218== by 0x8065F8B: main (nginx.c:385) ==28218== If you believe this happened as a result of a stack ==28218== overflow in your program's main thread (unlikely but ==28218== possible), you can try to increase the size of the ==28218== main thread stack using the --main-stacksize= flag. ==28218== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc |
==28240== Invalid read of size 4 ==28240== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28240== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28240== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28240== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28240== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28240== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28240== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28240== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28240== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28240== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28240== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28240== by 0x8065F8B: main (nginx.c:385) ==28240== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc |
==28240== ==28240== Process terminating with default action of signal 11 (SIGSEGV) ==28240== Access not within mapped region at address 0x0 ==28240== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28240== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28240== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28240== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28240== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28240== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28240== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28240== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28240== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28240== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28240== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28240== by 0x8065F8B: main (nginx.c:385) ==28240== If you believe this happened as a result of a stack ==28240== overflow in your program's main thread (unlikely but ==28240== possible), you can try to increase the size of the ==28240== main thread stack using the --main-stacksize= flag. ==28240== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) |
==28252== Invalid read of size 4 ==28252== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28252== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28252== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28252== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28252== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28252== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28252== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28252== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28252== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28252== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28252== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28252== by 0x8065F8B: main (nginx.c:385) ==28252== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28252== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) |
==28252== ==28252== Process terminating with default action of signal 11 (SIGSEGV) ==28252== Access not within mapped region at address 0x0 ==28252== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28252== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28252== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28252== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28252== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28252== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28252== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28252== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28252== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28252== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28252== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28252== by 0x8065F8B: main (nginx.c:385) ==28252== If you believe this happened as a result of a stack ==28252== overflow in your program's main thread (unlikely but ==28252== possible), you can try to increase the size of the ==28252== main thread stack using the --main-stacksize= flag. ==28252== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) |
==28273== Invalid read of size 4 ==28273== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28273== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28273== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28273== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28273== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28273== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28273== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28273== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28273== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28273== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28273== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28273== by 0x8065F8B: main (nginx.c:385) ==28273== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28273== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) |
==28273== ==28273== Process terminating with default action of signal 11 (SIGSEGV) ==28273== Access not within mapped region at address 0x0 ==28273== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28273== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28273== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28273== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28273== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28273== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28273== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28273== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28273== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28273== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28273== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28273== by 0x8065F8B: main (nginx.c:385) ==28273== If you believe this happened as a result of a stack ==28273== overflow in your program's main thread (unlikely but ==28273== possible), you can try to increase the size of the ==28273== main thread stack using the --main-stacksize= flag. ==28273== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) |
==28285== Invalid read of size 4 ==28285== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28285== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28285== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28285== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28285== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28285== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28285== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28285== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28285== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28285== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28285== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28285== by 0x8065F8B: main (nginx.c:385) ==28285== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28285== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) |
==28285== ==28285== Process terminating with default action of signal 11 (SIGSEGV) ==28285== Access not within mapped region at address 0x0 ==28285== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28285== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28285== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28285== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28285== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28285== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28285== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28285== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28285== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28285== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28285== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28285== by 0x8065F8B: main (nginx.c:385) ==28285== If you believe this happened as a result of a stack ==28285== overflow in your program's main thread (unlikely but ==28285== possible), you can try to increase the size of the ==28285== main thread stack using the --main-stacksize= flag. ==28285== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) |
==28306== Invalid read of size 4 ==28306== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28306== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28306== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28306== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28306== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28306== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28306== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28306== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28306== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28306== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28306== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28306== by 0x8065F8B: main (nginx.c:385) ==28306== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28306== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) |
==28306== ==28306== Process terminating with default action of signal 11 (SIGSEGV) ==28306== Access not within mapped region at address 0x0 ==28306== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28306== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28306== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28306== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28306== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28306== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28306== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28306== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28306== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28306== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28306== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28306== by 0x8065F8B: main (nginx.c:385) ==28306== If you believe this happened as a result of a stack ==28306== overflow in your program's main thread (unlikely but ==28306== possible), you can try to increase the size of the ==28306== main thread stack using the --main-stacksize= flag. ==28306== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) |
==28318== Invalid read of size 4 ==28318== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28318== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28318== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28318== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28318== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28318== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28318== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28318== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28318== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28318== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28318== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28318== by 0x8065F8B: main (nginx.c:385) ==28318== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28318== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) |
==28318== ==28318== Process terminating with default action of signal 11 (SIGSEGV) ==28318== Access not within mapped region at address 0x0 ==28318== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28318== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28318== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28318== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28318== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28318== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28318== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28318== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28318== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28318== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28318== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28318== by 0x8065F8B: main (nginx.c:385) ==28318== If you believe this happened as a result of a stack ==28318== overflow in your program's main thread (unlikely but ==28318== possible), you can try to increase the size of the ==28318== main thread stack using the --main-stacksize= flag. ==28318== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'sem wait successfully. ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) |
==28339== Invalid read of size 4 ==28339== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28339== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28339== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28339== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28339== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28339== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28339== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28339== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28339== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28339== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28339== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28339== by 0x8065F8B: main (nginx.c:385) ==28339== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28339== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) |
==28339== ==28339== Process terminating with default action of signal 11 (SIGSEGV) ==28339== Access not within mapped region at address 0x0 ==28339== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28339== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28339== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28339== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28339== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28339== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28339== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28339== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28339== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28339== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28339== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28339== by 0x8065F8B: main (nginx.c:385) ==28339== If you believe this happened as a result of a stack ==28339== overflow in your program's main thread (unlikely but ==28339== possible), you can try to increase the size of the ==28339== main thread stack using the --main-stacksize= flag. ==28339== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'sem wait successfully. ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua |
==28351== Invalid read of size 4 ==28351== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28351== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28351== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28351== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28351== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28351== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28351== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28351== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28351== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28351== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28351== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28351== by 0x8065F8B: main (nginx.c:385) ==28351== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28351== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua |
==28351== ==28351== Process terminating with default action of signal 11 (SIGSEGV) ==28351== Access not within mapped region at address 0x0 ==28351== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28351== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28351== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28351== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28351== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28351== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28351== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28351== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28351== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28351== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28351== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28351== by 0x8065F8B: main (nginx.c:385) ==28351== If you believe this happened as a result of a stack ==28351== overflow in your program's main thread (unlikely but ==28351== possible), you can try to increase the size of the ==28351== main thread stack using the --main-stacksize= flag. ==28351== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -enter wait -enter post -post success -wait success -done' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua |
==28372== Invalid read of size 4 ==28372== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28372== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28372== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28372== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28372== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28372== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28372== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28372== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28372== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28372== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28372== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28372== by 0x8065F8B: main (nginx.c:385) ==28372== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28372== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua |
==28372== ==28372== Process terminating with default action of signal 11 (SIGSEGV) ==28372== Access not within mapped region at address 0x0 ==28372== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28372== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28372== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28372== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28372== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28372== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28372== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28372== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28372== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28372== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28372== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28372== by 0x8065F8B: main (nginx.c:385) ==28372== If you believe this happened as a result of a stack ==28372== overflow in your program's main thread (unlikely but ==28372== possible), you can try to increase the size of the ==28372== main thread stack using the --main-stacksize= flag. ==28372== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -enter wait -enter post -post success -wait success -done' |
stream/semaphore.t | TEST 28: basic semaphore count |
==28384== Invalid read of size 4 ==28384== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28384== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28384== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28384== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28384== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28384== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28384== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28384== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28384== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28384== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28384== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28384== by 0x8065F8B: main (nginx.c:385) ==28384== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28384== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 28: basic semaphore count |
==28384== ==28384== Process terminating with default action of signal 11 (SIGSEGV) ==28384== Access not within mapped region at address 0x0 ==28384== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28384== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28384== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28384== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28384== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28384== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28384== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28384== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28384== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28384== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28384== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28384== by 0x8065F8B: main (nginx.c:385) ==28384== If you believe this happened as a result of a stack ==28384== overflow in your program's main thread (unlikely but ==28384== possible), you can try to increase the size of the ==28384== main thread stack using the --main-stacksize= flag. ==28384== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 28: basic semaphore count - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 28: basic semaphore count - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -10 -9 -12 ' |
stream/semaphore.t | TEST 28: basic semaphore count |
==28407== Invalid read of size 4 ==28407== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28407== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28407== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28407== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28407== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28407== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28407== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28407== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28407== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28407== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28407== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28407== by 0x8065F8B: main (nginx.c:385) ==28407== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28407== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 28: basic semaphore count |
==28407== ==28407== Process terminating with default action of signal 11 (SIGSEGV) ==28407== Access not within mapped region at address 0x0 ==28407== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28407== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28407== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28407== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28407== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28407== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28407== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28407== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28407== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28407== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28407== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28407== by 0x8065F8B: main (nginx.c:385) ==28407== If you believe this happened as a result of a stack ==28407== overflow in your program's main thread (unlikely but ==28407== possible), you can try to increase the size of the ==28407== main thread stack using the --main-stacksize= flag. ==28407== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 28: basic semaphore count - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 28: basic semaphore count - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -10 -9 -12 ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread |
==28419== Invalid read of size 4 ==28419== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28419== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28419== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28419== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28419== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28419== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28419== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28419== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28419== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28419== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28419== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28419== by 0x8065F8B: main (nginx.c:385) ==28419== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28419== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 1: basic semaphore in uthread |
==28419== ==28419== Process terminating with default action of signal 11 (SIGSEGV) ==28419== Access not within mapped region at address 0x0 ==28419== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28419== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28419== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28419== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28419== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28419== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28419== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28419== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28419== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28419== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28419== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28419== by 0x8065F8B: main (nginx.c:385) ==28419== If you believe this happened as a result of a stack ==28419== overflow in your program's main thread (unlikely but ==28419== possible), you can try to increase the size of the ==28419== main thread stack using the --main-stacksize= flag. ==28419== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 1: basic semaphore in uthread - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -enter waiting -back in main thread -still in main thread -wait success -main thread end ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread |
==28440== Invalid read of size 4 ==28440== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28440== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28440== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28440== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28440== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28440== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28440== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28440== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28440== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28440== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28440== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28440== by 0x8065F8B: main (nginx.c:385) ==28440== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 1: basic semaphore in uthread |
==28440== ==28440== Process terminating with default action of signal 11 (SIGSEGV) ==28440== Access not within mapped region at address 0x0 ==28440== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28440== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28440== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28440== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28440== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28440== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28440== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28440== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28440== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28440== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28440== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28440== by 0x8065F8B: main (nginx.c:385) ==28440== If you believe this happened as a result of a stack ==28440== overflow in your program's main thread (unlikely but ==28440== possible), you can try to increase the size of the ==28440== main thread stack using the --main-stacksize= flag. ==28440== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 1: basic semaphore in uthread - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -enter waiting -back in main thread -still in main thread -wait success -main thread end ' |
stream/semaphore.t | ERROR: client socket timed out - TEST 25: basic semaphore_mm free insert tail |
' |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 0) | |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail |
==28452== Invalid read of size 4 ==28452== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28452== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28452== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28452== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28452== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28452== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28452== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28452== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28452== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28452== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28452== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28452== by 0x8065F8B: main (nginx.c:385) ==28452== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28452== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail |
==28452== ==28452== Process terminating with default action of signal 11 (SIGSEGV) ==28452== Access not within mapped region at address 0x0 ==28452== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28452== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28452== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28452== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28452== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28452== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28452== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28452== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28452== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28452== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28452== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28452== by 0x8065F8B: main (nginx.c:385) ==28452== If you believe this happened as a result of a stack ==28452== overflow in your program's main thread (unlikely but ==28452== possible), you can try to increase the size of the ==28452== main thread stack using the --main-stacksize= flag. ==28452== The main thread stack size used in this run was 8388608. ==28452== 2,048 bytes in 1 blocks are definitely lost in loss record 3,023 of 3,089 ==28452== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28452== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28452== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28452== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28452== by 0x40B9CC1: lj_ir_nextins (lj_iropt.h:34) ==28452== by 0x40B9CC1: lj_asm_trace (lj_asm.c:2346) ==28452== by 0x40BAF25: trace_state (lj_trace.c:707) ==28452== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28452== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28452== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==28452== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28452== by 0x407FA29: lua_resume (lj_api.c:1296) ==28452== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28452== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28452== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28452== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28452== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28452== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28452== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28452== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28452== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28452== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28452== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28452== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28452== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28452== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28452== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28452== by 0x8065F8B: main (nginx.c:385) ==28452== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_asm_trace fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) |
==28484== Invalid read of size 4 ==28484== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28484== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28484== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28484== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28484== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28484== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28484== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28484== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28484== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28484== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28484== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28484== by 0x8065F8B: main (nginx.c:385) ==28484== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28484== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) |
==28484== ==28484== Process terminating with default action of signal 11 (SIGSEGV) ==28484== Access not within mapped region at address 0x0 ==28484== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28484== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28484== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28484== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28484== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28484== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28484== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28484== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28484== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28484== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28484== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28484== by 0x8065F8B: main (nginx.c:385) ==28484== If you believe this happened as a result of a stack ==28484== overflow in your program's main thread (unlikely but ==28484== possible), you can try to increase the size of the ==28484== main thread stack using the --main-stacksize= flag. ==28484== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) |
==28505== Invalid read of size 4 ==28505== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28505== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28505== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28505== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28505== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28505== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28505== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28505== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28505== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28505== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28505== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28505== by 0x8065F8B: main (nginx.c:385) ==28505== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28505== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) |
==28505== ==28505== Process terminating with default action of signal 11 (SIGSEGV) ==28505== Access not within mapped region at address 0x0 ==28505== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28505== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28505== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28505== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28505== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28505== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28505== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28505== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28505== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28505== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28505== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28505== by 0x8065F8B: main (nginx.c:385) ==28505== If you believe this happened as a result of a stack ==28505== overflow in your program's main thread (unlikely but ==28505== possible), you can try to increase the size of the ==28505== main thread stack using the --main-stacksize= flag. ==28505== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 |
==28517== Invalid read of size 4 ==28517== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28517== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28517== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28517== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28517== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28517== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28517== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28517== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28517== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28517== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28517== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28517== by 0x8065F8B: main (nginx.c:385) ==28517== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28517== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 3: semaphore wait time=0 |
==28517== ==28517== Process terminating with default action of signal 11 (SIGSEGV) ==28517== Access not within mapped region at address 0x0 ==28517== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28517== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28517== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28517== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28517== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28517== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28517== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28517== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28517== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28517== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28517== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28517== by 0x8065F8B: main (nginx.c:385) ==28517== If you believe this happened as a result of a stack ==28517== overflow in your program's main thread (unlikely but ==28517== possible), you can try to increase the size of the ==28517== main thread stack using the --main-stacksize= flag. ==28517== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 3: semaphore wait time=0 - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,10 +0,0 @@ -wait success -err: timeout -enter 1s wait -back in main thread -err: timeout -err: timeout -still in main thread -wait success in 1s wait -wait success -main thread end ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 |
==28538== Invalid read of size 4 ==28538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28538== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28538== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28538== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28538== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28538== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28538== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28538== by 0x8065F8B: main (nginx.c:385) ==28538== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28538== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/semaphore.t | TEST 3: semaphore wait time=0 |
==28538== ==28538== Process terminating with default action of signal 11 (SIGSEGV) ==28538== Access not within mapped region at address 0x0 ==28538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28538== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28538== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28538== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28538== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28538== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28538== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28538== by 0x8065F8B: main (nginx.c:385) ==28538== If you believe this happened as a result of a stack ==28538== overflow in your program's main thread (unlikely but ==28538== possible), you can try to increase the size of the ==28538== main thread stack using the --main-stacksize= flag. ==28538== The main thread stack size used in this run was 8388608. |
stream/semaphore.t | TEST 3: semaphore wait time=0 - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +0,0 @@ -wait success -err: timeout -enter 1s wait -back in main thread -err: timeout -err: timeout -still in main thread -wait success in 1s wait -wait success -main thread end ' |
stream/shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused |
==28550== Invalid read of size 4 ==28550== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28550== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28550== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28550== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28550== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28550== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28550== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28550== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28550== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28550== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28550== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==28550== by 0x8065F8B: main (nginx.c:385) ==28550== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28550== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused |
==28550== ==28550== Process terminating with default action of signal 11 (SIGSEGV) ==28550== Access not within mapped region at address 0x0 ==28550== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28550== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28550== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28550== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28550== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28550== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28550== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28550== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28550== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28550== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28550== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==28550== by 0x8065F8B: main (nginx.c:385) ==28550== If you believe this happened as a result of a stack ==28550== overflow in your program's main thread (unlikely but ==28550== possible), you can try to increase the size of the ==28550== main thread stack using the --main-stacksize= flag. ==28550== The main thread stack size used in this run was 8388608. ==28550== 2,048 bytes in 1 blocks are definitely lost in loss record 3,133 of 3,198 ==28550== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28550== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28550== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28550== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28550== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==28550== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==28550== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==28550== by 0x40A7386: crec_call (lj_crecord.c:1231) ==28550== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==28550== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28550== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28550== by 0x40BB16A: trace_state (lj_trace.c:680) ==28550== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28550== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28550== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28550== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28550== by 0x407FA29: lua_resume (lj_api.c:1296) ==28550== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28550== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28550== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28550== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28550== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28550== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28550== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28550== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28550== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28550== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28550== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28550== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28550== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28550== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28550== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==28550== by 0x8065F8B: main (nginx.c:385) ==28550== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 38: free_space, full (100k) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 38: free_space, full (100k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=736 )?free_page_bytes type: number free_page_bytes: (?:0|32768) \z)' |
stream/shdict.t | TEST 38: free_space, full (100k) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:43 [alert] 28549\#0: worker process 28550 exited on signal 11" (req 0) |
2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:43 [debug] 28549\#0: reap children 2020/10/27 06:18:43 [debug] 28549\#0: child: 0 28550 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:43 [debug] 28549\#0: channel 3:10 2020/10/27 06:18:43 [notice] 28549\#0: start worker process 28551 ' |
stream/shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused |
==28551== Invalid read of size 4 ==28551== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28551== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28551== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28551== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28551== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28551== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28551== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28551== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28551== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28551== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28551== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28551== by 0x8065F8B: main (nginx.c:385) ==28551== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28551== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused |
==28551== ==28551== Process terminating with default action of signal 11 (SIGSEGV) ==28551== Access not within mapped region at address 0x0 ==28551== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28551== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28551== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28551== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28551== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28551== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28551== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28551== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28551== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28551== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28551== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28551== by 0x8065F8B: main (nginx.c:385) ==28551== If you believe this happened as a result of a stack ==28551== overflow in your program's main thread (unlikely but ==28551== possible), you can try to increase the size of the ==28551== main thread stack using the --main-stacksize= flag. ==28551== The main thread stack size used in this run was 8388608. ==28551== 2,048 bytes in 1 blocks are definitely lost in loss record 3,133 of 3,198 ==28551== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28551== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28551== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28551== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28551== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==28551== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==28551== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==28551== by 0x40A7386: crec_call (lj_crecord.c:1231) ==28551== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==28551== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28551== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28551== by 0x40BB16A: trace_state (lj_trace.c:680) ==28551== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28551== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28551== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28551== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28551== by 0x407FA29: lua_resume (lj_api.c:1296) ==28551== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28551== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28551== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28551== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28551== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28551== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28551== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28551== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28551== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28551== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28551== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28551== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28551== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28551== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28551== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28551== by 0x8065F8B: main (nginx.c:385) ==28551== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 38: free_space, full (100k) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 38: free_space, full (100k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=736 )?free_page_bytes type: number free_page_bytes: (?:0|32768) \z)' |
stream/shdict.t | TEST 38: free_space, full (100k) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:43 [alert] 28549\#0: worker process 28550 exited on signal 11" (req 1) |
2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:43 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:43 [debug] 28549\#0: reap children 2020/10/27 06:18:43 [debug] 28549\#0: child: 0 28550 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:43 [debug] 28549\#0: channel 3:10 2020/10/27 06:18:43 [notice] 28549\#0: start worker process 28551 ' |
stream/shdict.t | TEST 38: free_space, full (100k) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:45 [alert] 28549\#0: worker process 28551 exited on signal 11" (req 1) |
2020/10/27 06:18:45 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:45 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:45 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:45 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:45 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:45 [debug] 28549\#0: reap children 2020/10/27 06:18:45 [debug] 28549\#0: child: 0 28551 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:45 [debug] 28549\#0: channel 3:10 2020/10/27 06:18:45 [notice] 28549\#0: start worker process 28552 ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) |
==28563== Invalid read of size 4 ==28563== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28563== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28563== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28563== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28563== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28563== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28563== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28563== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28563== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28563== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28563== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28563== by 0x8065F8B: main (nginx.c:385) ==28563== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28563== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) |
==28563== ==28563== Process terminating with default action of signal 11 (SIGSEGV) ==28563== Access not within mapped region at address 0x0 ==28563== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28563== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28563== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28563== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28563== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28563== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28563== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28563== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28563== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28563== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28563== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28563== by 0x8065F8B: main (nginx.c:385) ==28563== If you believe this happened as a result of a stack ==28563== overflow in your program's main thread (unlikely but ==28563== possible), you can try to increase the size of the ==28563== main thread stack using the --main-stacksize= flag. ==28563== The main thread stack size used in this run was 8388608. ==28563== 2,048 bytes in 1 blocks are definitely lost in loss record 3,128 of 3,193 ==28563== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28563== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28563== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28563== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28563== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==28563== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==28563== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==28563== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==28563== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28563== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==28563== by 0x40BB675: trace_state (lj_trace.c:690) ==28563== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28563== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28563== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==28563== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28563== by 0x407FA29: lua_resume (lj_api.c:1296) ==28563== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28563== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28563== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28563== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28563== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28563== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28563== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28563== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28563== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28563== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28563== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28563== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28563== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28563== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28563== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28563== by 0x8065F8B: main (nginx.c:385) ==28563== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -incr: 10502 nil false -incr: 10502 nil true -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:49 [alert] 28549\#0: worker process 28563 exited on signal 11" (req 0) |
2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:49 [debug] 28549\#0: reap children 2020/10/27 06:18:49 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:18:49 [debug] 28549\#0: child: 1 28563 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:49 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) |
==28584== Invalid read of size 4 ==28584== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28584== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28584== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28584== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28584== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28584== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28584== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28584== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28584== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28584== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28584== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28584== by 0x8065F8B: main (nginx.c:385) ==28584== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) |
==28584== ==28584== Process terminating with default action of signal 11 (SIGSEGV) ==28584== Access not within mapped region at address 0x0 ==28584== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28584== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28584== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28584== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28584== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28584== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28584== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28584== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28584== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28584== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28584== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28584== by 0x8065F8B: main (nginx.c:385) ==28584== If you believe this happened as a result of a stack ==28584== overflow in your program's main thread (unlikely but ==28584== possible), you can try to increase the size of the ==28584== main thread stack using the --main-stacksize= flag. ==28584== The main thread stack size used in this run was 8388608. ==28584== 2,048 bytes in 1 blocks are definitely lost in loss record 3,128 of 3,193 ==28584== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28584== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28584== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28584== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28584== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==28584== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==28584== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==28584== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==28584== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28584== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==28584== by 0x40BB675: trace_state (lj_trace.c:690) ==28584== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28584== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28584== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==28584== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28584== by 0x407FA29: lua_resume (lj_api.c:1296) ==28584== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28584== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28584== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28584== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28584== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28584== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28584== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28584== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28584== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28584== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28584== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28584== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28584== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28584== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28584== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28584== by 0x8065F8B: main (nginx.c:385) ==28584== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -incr: 10502 nil false -incr: 10502 nil true -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:49 [alert] 28549\#0: worker process 28563 exited on signal 11" (req 1) |
2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:49 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:49 [debug] 28549\#0: reap children 2020/10/27 06:18:49 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:18:49 [debug] 28549\#0: child: 1 28563 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:49 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:50 [alert] 28549\#0: worker process 28584 exited on signal 11" (req 1) |
2020/10/27 06:18:50 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:50 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:50 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:50 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:50 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:50 [debug] 28549\#0: reap children 2020/10/27 06:18:50 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:18:50 [debug] 28549\#0: child: 1 28584 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:50 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 23: set nil key |
==28596== Invalid read of size 4 ==28596== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28596== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28596== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28596== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28596== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28596== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28596== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28596== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28596== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28596== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28596== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28596== by 0x8065F8B: main (nginx.c:385) ==28596== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28596== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 23: set nil key |
==28596== ==28596== Process terminating with default action of signal 11 (SIGSEGV) ==28596== Access not within mapped region at address 0x0 ==28596== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28596== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28596== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28596== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28596== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28596== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28596== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28596== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28596== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28596== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28596== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28596== by 0x8065F8B: main (nginx.c:385) ==28596== If you believe this happened as a result of a stack ==28596== overflow in your program's main thread (unlikely but ==28596== possible), you can try to increase the size of the ==28596== main thread stack using the --main-stacksize= flag. ==28596== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 23: set nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 23: set nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to set: nil key ' |
stream/shdict.t | TEST 23: set nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:53 [alert] 28549\#0: worker process 28596 exited on signal 11" (req 0) |
2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:53 [debug] 28549\#0: reap children 2020/10/27 06:18:53 [debug] 28549\#0: child: 0 28596 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:53 [debug] 28549\#0: channel 3:4 2020/10/27 06:18:53 [notice] 28549\#0: start worker process 28617 ' |
stream/shdict.t | TEST 23: set nil key |
==28617== Invalid read of size 4 ==28617== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28617== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28617== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28617== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28617== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28617== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28617== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28617== by 0x8065F8B: main (nginx.c:385) ==28617== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28617== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 23: set nil key |
==28617== ==28617== Process terminating with default action of signal 11 (SIGSEGV) ==28617== Access not within mapped region at address 0x0 ==28617== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28617== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28617== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28617== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28617== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28617== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28617== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28617== by 0x8065F8B: main (nginx.c:385) ==28617== If you believe this happened as a result of a stack ==28617== overflow in your program's main thread (unlikely but ==28617== possible), you can try to increase the size of the ==28617== main thread stack using the --main-stacksize= flag. ==28617== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 23: set nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 23: set nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to set: nil key ' |
stream/shdict.t | TEST 23: set nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:53 [alert] 28549\#0: worker process 28596 exited on signal 11" (req 1) |
2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:53 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:53 [debug] 28549\#0: reap children 2020/10/27 06:18:53 [debug] 28549\#0: child: 0 28596 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:53 [debug] 28549\#0: channel 3:4 2020/10/27 06:18:53 [notice] 28549\#0: start worker process 28617 ' |
stream/shdict.t | TEST 23: set nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:54 [alert] 28549\#0: worker process 28617 exited on signal 11" (req 1) |
2020/10/27 06:18:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:54 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:54 [debug] 28549\#0: reap children 2020/10/27 06:18:54 [debug] 28549\#0: child: 0 28617 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:54 [debug] 28549\#0: channel 3:4 2020/10/27 06:18:54 [notice] 28549\#0: start worker process 28618 ' |
stream/shdict.t | TEST 36: free_space, full |
==28629== Invalid read of size 4 ==28629== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28629== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28629== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28629== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28629== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28629== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28629== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28629== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28629== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28629== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28629== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28629== by 0x8065F8B: main (nginx.c:385) ==28629== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28629== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 36: free_space, full |
==28629== ==28629== Process terminating with default action of signal 11 (SIGSEGV) ==28629== Access not within mapped region at address 0x0 ==28629== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28629== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28629== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28629== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28629== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28629== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28629== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28629== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28629== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28629== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28629== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28629== by 0x8065F8B: main (nginx.c:385) ==28629== If you believe this happened as a result of a stack ==28629== overflow in your program's main thread (unlikely but ==28629== possible), you can try to increase the size of the ==28629== main thread stack using the --main-stacksize= flag. ==28629== The main thread stack size used in this run was 8388608. ==28629== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==28629== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28629== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28629== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28629== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28629== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==28629== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==28629== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==28629== by 0x40A7386: crec_call (lj_crecord.c:1231) ==28629== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==28629== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28629== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28629== by 0x40BB16A: trace_state (lj_trace.c:680) ==28629== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28629== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28629== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28629== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28629== by 0x407FA29: lua_resume (lj_api.c:1296) ==28629== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28629== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28629== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28629== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28629== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28629== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28629== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28629== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28629== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28629== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28629== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28629== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28629== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28629== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28629== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28629== by 0x8065F8B: main (nginx.c:385) ==28629== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 36: free_space, full - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 36: free_space, full - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 0 ' |
stream/shdict.t | TEST 36: free_space, full - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:57 [alert] 28549\#0: worker process 28629 exited on signal 11" (req 0) |
2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:57 [debug] 28549\#0: reap children 2020/10/27 06:18:57 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:18:57 [debug] 28549\#0: child: 1 28629 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:57 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 36: free_space, full |
==28650== Invalid read of size 4 ==28650== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28650== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28650== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28650== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28650== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28650== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28650== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28650== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28650== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28650== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28650== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28650== by 0x8065F8B: main (nginx.c:385) ==28650== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28650== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 36: free_space, full |
==28650== ==28650== Process terminating with default action of signal 11 (SIGSEGV) ==28650== Access not within mapped region at address 0x0 ==28650== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28650== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28650== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28650== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28650== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28650== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28650== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28650== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28650== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28650== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28650== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28650== by 0x8065F8B: main (nginx.c:385) ==28650== If you believe this happened as a result of a stack ==28650== overflow in your program's main thread (unlikely but ==28650== possible), you can try to increase the size of the ==28650== main thread stack using the --main-stacksize= flag. ==28650== The main thread stack size used in this run was 8388608. ==28650== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==28650== at 0x402C768: realloc (vg_replace_malloc.c:834) ==28650== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28650== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28650== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==28650== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==28650== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==28650== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==28650== by 0x40A7386: crec_call (lj_crecord.c:1231) ==28650== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==28650== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28650== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28650== by 0x40BB16A: trace_state (lj_trace.c:680) ==28650== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28650== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28650== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28650== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28650== by 0x407FA29: lua_resume (lj_api.c:1296) ==28650== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28650== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28650== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28650== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28650== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28650== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28650== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28650== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28650== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28650== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28650== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28650== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28650== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28650== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28650== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28650== by 0x8065F8B: main (nginx.c:385) ==28650== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 36: free_space, full - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 36: free_space, full - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 0 ' |
stream/shdict.t | TEST 36: free_space, full - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:57 [alert] 28549\#0: worker process 28629 exited on signal 11" (req 1) |
2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:57 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:57 [debug] 28549\#0: reap children 2020/10/27 06:18:57 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:18:57 [debug] 28549\#0: child: 1 28629 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:57 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 36: free_space, full - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:18:58 [alert] 28549\#0: worker process 28650 exited on signal 11" (req 1) |
2020/10/27 06:18:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:18:58 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:18:58 [debug] 28549\#0: reap children 2020/10/27 06:18:58 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:18:58 [debug] 28549\#0: child: 1 28650 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:18:58 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) |
==28662== Invalid read of size 4 ==28662== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28662== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28662== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28662== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28662== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28662== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28662== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28662== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28662== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28662== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28662== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28662== by 0x8065F8B: main (nginx.c:385) ==28662== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28662== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) |
==28662== ==28662== Process terminating with default action of signal 11 (SIGSEGV) ==28662== Access not within mapped region at address 0x0 ==28662== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28662== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28662== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28662== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28662== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28662== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28662== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28662== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28662== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28662== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28662== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28662== by 0x8065F8B: main (nginx.c:385) ==28662== If you believe this happened as a result of a stack ==28662== overflow in your program's main thread (unlikely but ==28662== possible), you can try to increase the size of the ==28662== main thread stack using the --main-stacksize= flag. ==28662== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10534 nil -foo = 10534 -foo after incr init_ttl = 10534 ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:01 [alert] 28549\#0: worker process 28662 exited on signal 11" (req 0) |
2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:02 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:02 [debug] 28549\#0: reap children 2020/10/27 06:19:02 [debug] 28549\#0: child: 0 28662 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) |
==28685== Invalid read of size 4 ==28685== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28685== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28685== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28685== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28685== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28685== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28685== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28685== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28685== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28685== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28685== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28685== by 0x8065F8B: main (nginx.c:385) ==28685== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28685== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) |
==28685== ==28685== Process terminating with default action of signal 11 (SIGSEGV) ==28685== Access not within mapped region at address 0x0 ==28685== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28685== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28685== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28685== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28685== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28685== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28685== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28685== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28685== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28685== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28685== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28685== by 0x8065F8B: main (nginx.c:385) ==28685== If you believe this happened as a result of a stack ==28685== overflow in your program's main thread (unlikely but ==28685== possible), you can try to increase the size of the ==28685== main thread stack using the --main-stacksize= flag. ==28685== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10534 nil -foo = 10534 -foo after incr init_ttl = 10534 ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:01 [alert] 28549\#0: worker process 28662 exited on signal 11" (req 1) |
2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:01 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:02 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:02 [debug] 28549\#0: reap children 2020/10/27 06:19:02 [debug] 28549\#0: child: 0 28662 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:02 [debug] 28549\#0: channel 3:4 2020/10/27 06:19:02 [notice] 28549\#0: start worker process 28685 ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:02 [alert] 28549\#0: worker process 28685 exited on signal 11" (req 1) |
2020/10/27 06:19:02 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:02 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:02 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:02 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:02 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:02 [debug] 28549\#0: reap children 2020/10/27 06:19:02 [debug] 28549\#0: child: 0 28685 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 5: get a number value (int) |
==28697== Invalid read of size 4 ==28697== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28697== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28697== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28697== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28697== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28697== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28697== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28697== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28697== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28697== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28697== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28697== by 0x8065F8B: main (nginx.c:385) ==28697== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28697== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 5: get a number value (int) |
==28697== ==28697== Process terminating with default action of signal 11 (SIGSEGV) ==28697== Access not within mapped region at address 0x0 ==28697== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28697== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28697== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28697== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28697== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28697== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28697== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28697== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28697== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28697== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28697== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28697== by 0x8065F8B: main (nginx.c:385) ==28697== If you believe this happened as a result of a stack ==28697== overflow in your program's main thread (unlikely but ==28697== possible), you can try to increase the size of the ==28697== main thread stack using the --main-stacksize= flag. ==28697== The main thread stack size used in this run was 8388608. ==28697== 2,048 bytes in 1 blocks are definitely lost in loss record 3,125 of 3,189 ==28697== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28697== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28697== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28697== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28697== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28697== by 0x408A511: ir_nextk (lj_ir.c:175) ==28697== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==28697== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==28697== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==28697== by 0x40A711A: crec_call (lj_crecord.c:1231) ==28697== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==28697== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28697== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28697== by 0x40BB16A: trace_state (lj_trace.c:680) ==28697== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28697== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28697== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28697== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28697== by 0x407FA29: lua_resume (lj_api.c:1296) ==28697== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28697== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28697== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28697== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28697== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28697== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28697== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28697== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28697== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28697== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28697== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28697== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28697== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28697== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28697== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28697== by 0x8065F8B: main (nginx.c:385) ==28697== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 5: get a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 5: get a number value (int) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 5: get a number value (int) |
==28718== Invalid read of size 4 ==28718== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28718== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28718== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28718== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28718== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28718== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28718== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28718== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28718== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28718== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28718== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28718== by 0x8065F8B: main (nginx.c:385) ==28718== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28718== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 5: get a number value (int) |
==28718== ==28718== Process terminating with default action of signal 11 (SIGSEGV) ==28718== Access not within mapped region at address 0x0 ==28718== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28718== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28718== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28718== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28718== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28718== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28718== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28718== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28718== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28718== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28718== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28718== by 0x8065F8B: main (nginx.c:385) ==28718== If you believe this happened as a result of a stack ==28718== overflow in your program's main thread (unlikely but ==28718== possible), you can try to increase the size of the ==28718== main thread stack using the --main-stacksize= flag. ==28718== The main thread stack size used in this run was 8388608. ==28718== 2,048 bytes in 1 blocks are definitely lost in loss record 3,125 of 3,189 ==28718== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28718== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28718== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28718== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28718== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28718== by 0x408A511: ir_nextk (lj_ir.c:175) ==28718== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==28718== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==28718== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==28718== by 0x40A711A: crec_call (lj_crecord.c:1231) ==28718== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==28718== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28718== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28718== by 0x40BB16A: trace_state (lj_trace.c:680) ==28718== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28718== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28718== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28718== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28718== by 0x407FA29: lua_resume (lj_api.c:1296) ==28718== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28718== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28718== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28718== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28718== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28718== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28718== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28718== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28718== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28718== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28718== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28718== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28718== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28718== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28718== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28718== by 0x8065F8B: main (nginx.c:385) ==28718== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 5: get a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 5: get a number value (int) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init |
==28730== Invalid read of size 4 ==28730== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28730== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28730== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28730== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28730== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28730== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28730== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28730== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28730== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28730== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28730== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28730== by 0x8065F8B: main (nginx.c:385) ==28730== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28730== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 41: incr init_ttl argument without init |
==28730== ==28730== Process terminating with default action of signal 11 (SIGSEGV) ==28730== Access not within mapped region at address 0x0 ==28730== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28730== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28730== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28730== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28730== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28730== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28730== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28730== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28730== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28730== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28730== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28730== by 0x8065F8B: main (nginx.c:385) ==28730== If you believe this happened as a result of a stack ==28730== overflow in your program's main thread (unlikely but ==28730== possible), you can try to increase the size of the ==28730== main thread stack using the --main-stacksize= flag. ==28730== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 41: incr init_ttl argument without init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: must provide "init" when providing "init_ttl" ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:10 [alert] 28549\#0: worker process 28730 exited on signal 11" (req 0) |
2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:10 [debug] 28549\#0: reap children 2020/10/27 06:19:10 [debug] 28549\#0: child: 0 28730 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init |
==28751== Invalid read of size 4 ==28751== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28751== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28751== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28751== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28751== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28751== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28751== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28751== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28751== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28751== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28751== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28751== by 0x8065F8B: main (nginx.c:385) ==28751== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28751== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 41: incr init_ttl argument without init |
==28751== ==28751== Process terminating with default action of signal 11 (SIGSEGV) ==28751== Access not within mapped region at address 0x0 ==28751== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28751== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28751== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28751== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28751== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28751== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28751== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28751== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28751== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28751== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28751== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28751== by 0x8065F8B: main (nginx.c:385) ==28751== If you believe this happened as a result of a stack ==28751== overflow in your program's main thread (unlikely but ==28751== possible), you can try to increase the size of the ==28751== main thread stack using the --main-stacksize= flag. ==28751== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 41: incr init_ttl argument without init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: must provide "init" when providing "init_ttl" ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:10 [alert] 28549\#0: worker process 28730 exited on signal 11" (req 1) |
2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:10 [debug] 28549\#0: reap children 2020/10/27 06:19:10 [debug] 28549\#0: child: 0 28730 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:10 [debug] 28549\#0: channel 3:4 2020/10/27 06:19:10 [notice] 28549\#0: start worker process 28751 ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:10 [alert] 28549\#0: worker process 28751 exited on signal 11" (req 1) |
2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:10 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:10 [debug] 28549\#0: reap children 2020/10/27 06:19:10 [debug] 28549\#0: child: 0 28751 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 31: capacity |
==28763== Invalid read of size 4 ==28763== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28763== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28763== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28763== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28763== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28763== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28763== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28763== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28763== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28763== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28763== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28763== by 0x8065F8B: main (nginx.c:385) ==28763== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28763== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 31: capacity |
==28763== ==28763== Process terminating with default action of signal 11 (SIGSEGV) ==28763== Access not within mapped region at address 0x0 ==28763== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28763== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28763== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28763== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28763== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28763== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28763== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28763== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28763== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28763== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28763== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28763== by 0x8065F8B: main (nginx.c:385) ==28763== If you believe this happened as a result of a stack ==28763== overflow in your program's main thread (unlikely but ==28763== possible), you can try to increase the size of the ==28763== main thread stack using the --main-stacksize= flag. ==28763== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 31: capacity - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 31: capacity - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -capacity type: number -capacity: 16384 ' |
stream/shdict.t | TEST 31: capacity - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:14 [alert] 28549\#0: worker process 28763 exited on signal 11" (req 0) |
2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:14 [debug] 28549\#0: reap children 2020/10/27 06:19:14 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:14 [debug] 28549\#0: child: 1 28763 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 31: capacity |
==28784== Invalid read of size 4 ==28784== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28784== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28784== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28784== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28784== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28784== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28784== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28784== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28784== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28784== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28784== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28784== by 0x8065F8B: main (nginx.c:385) ==28784== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28784== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 31: capacity |
==28784== ==28784== Process terminating with default action of signal 11 (SIGSEGV) ==28784== Access not within mapped region at address 0x0 ==28784== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28784== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28784== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28784== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28784== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28784== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28784== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28784== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28784== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28784== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28784== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28784== by 0x8065F8B: main (nginx.c:385) ==28784== If you believe this happened as a result of a stack ==28784== overflow in your program's main thread (unlikely but ==28784== possible), you can try to increase the size of the ==28784== main thread stack using the --main-stacksize= flag. ==28784== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 31: capacity - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 31: capacity - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -capacity type: number -capacity: 16384 ' |
stream/shdict.t | TEST 31: capacity - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:14 [alert] 28549\#0: worker process 28763 exited on signal 11" (req 1) |
2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:14 [debug] 28549\#0: reap children 2020/10/27 06:19:14 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:14 [debug] 28549\#0: child: 1 28763 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:14 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 31: capacity - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:14 [alert] 28549\#0: worker process 28784 exited on signal 11" (req 1) |
2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:14 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:14 [debug] 28549\#0: reap children 2020/10/27 06:19:14 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:14 [debug] 28549\#0: child: 1 28784 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 6: get a number value (double) |
==28796== Invalid read of size 4 ==28796== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28796== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28796== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28796== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28796== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28796== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28796== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28796== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28796== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28796== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28796== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28796== by 0x8065F8B: main (nginx.c:385) ==28796== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28796== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 6: get a number value (double) |
==28796== ==28796== Process terminating with default action of signal 11 (SIGSEGV) ==28796== Access not within mapped region at address 0x0 ==28796== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28796== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28796== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28796== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28796== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28796== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28796== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28796== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28796== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28796== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28796== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28796== by 0x8065F8B: main (nginx.c:385) ==28796== If you believe this happened as a result of a stack ==28796== overflow in your program's main thread (unlikely but ==28796== possible), you can try to increase the size of the ==28796== main thread stack using the --main-stacksize= flag. ==28796== The main thread stack size used in this run was 8388608. ==28796== 2,048 bytes in 1 blocks are definitely lost in loss record 3,128 of 3,192 ==28796== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28796== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28796== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28796== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28796== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28796== by 0x408A511: ir_nextk (lj_ir.c:175) ==28796== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==28796== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==28796== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==28796== by 0x40A711A: crec_call (lj_crecord.c:1231) ==28796== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==28796== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28796== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28796== by 0x40BB16A: trace_state (lj_trace.c:680) ==28796== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28796== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28796== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28796== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28796== by 0x407FA29: lua_resume (lj_api.c:1296) ==28796== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28796== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28796== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28796== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28796== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28796== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28796== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28796== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28796== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28796== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28796== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28796== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28796== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28796== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28796== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28796== by 0x8065F8B: main (nginx.c:385) ==28796== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 6: get a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 6: get a number value (double) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 6: get a number value (double) |
==28817== Invalid read of size 4 ==28817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28817== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28817== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28817== by 0x8065F8B: main (nginx.c:385) ==28817== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28817== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 6: get a number value (double) |
==28817== ==28817== Process terminating with default action of signal 11 (SIGSEGV) ==28817== Access not within mapped region at address 0x0 ==28817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28817== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28817== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28817== by 0x8065F8B: main (nginx.c:385) ==28817== If you believe this happened as a result of a stack ==28817== overflow in your program's main thread (unlikely but ==28817== possible), you can try to increase the size of the ==28817== main thread stack using the --main-stacksize= flag. ==28817== The main thread stack size used in this run was 8388608. ==28817== 2,048 bytes in 1 blocks are definitely lost in loss record 3,128 of 3,192 ==28817== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28817== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28817== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28817== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28817== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28817== by 0x408A511: ir_nextk (lj_ir.c:175) ==28817== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==28817== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==28817== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==28817== by 0x40A711A: crec_call (lj_crecord.c:1231) ==28817== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==28817== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28817== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28817== by 0x40BB16A: trace_state (lj_trace.c:680) ==28817== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28817== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28817== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28817== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28817== by 0x407FA29: lua_resume (lj_api.c:1296) ==28817== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28817== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28817== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28817== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28817== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28817== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28817== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28817== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28817== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28817== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28817== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28817== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28817== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28817== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28817== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28817== by 0x8065F8B: main (nginx.c:385) ==28817== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 6: get a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 6: get a number value (double) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 1: get a string value |
==28829== Invalid read of size 4 ==28829== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28829== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28829== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28829== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28829== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28829== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28829== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28829== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28829== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28829== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28829== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28829== by 0x8065F8B: main (nginx.c:385) ==28829== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28829== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 1: get a string value |
==28829== ==28829== Process terminating with default action of signal 11 (SIGSEGV) ==28829== Access not within mapped region at address 0x0 ==28829== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28829== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28829== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28829== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28829== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28829== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28829== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28829== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28829== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28829== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28829== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28829== by 0x8065F8B: main (nginx.c:385) ==28829== If you believe this happened as a result of a stack ==28829== overflow in your program's main thread (unlikely but ==28829== possible), you can try to increase the size of the ==28829== main thread stack using the --main-stacksize= flag. ==28829== The main thread stack size used in this run was 8388608. ==28829== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,191 ==28829== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28829== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28829== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28829== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28829== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28829== by 0x408A511: ir_nextk (lj_ir.c:175) ==28829== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==28829== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==28829== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==28829== by 0x40A711A: crec_call (lj_crecord.c:1231) ==28829== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==28829== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28829== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28829== by 0x40BB16A: trace_state (lj_trace.c:680) ==28829== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28829== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28829== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28829== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28829== by 0x407FA29: lua_resume (lj_api.c:1296) ==28829== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28829== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28829== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28829== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28829== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28829== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28829== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28829== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28829== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28829== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28829== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28829== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28829== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28829== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28829== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28829== by 0x8065F8B: main (nginx.c:385) ==28829== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 1: get a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 1: get a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 1: get a string value |
==28850== Invalid read of size 4 ==28850== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28850== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28850== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28850== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28850== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28850== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28850== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28850== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28850== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28850== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28850== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28850== by 0x8065F8B: main (nginx.c:385) ==28850== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28850== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 1: get a string value |
==28850== ==28850== Process terminating with default action of signal 11 (SIGSEGV) ==28850== Access not within mapped region at address 0x0 ==28850== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28850== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28850== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28850== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28850== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28850== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28850== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28850== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28850== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28850== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28850== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28850== by 0x8065F8B: main (nginx.c:385) ==28850== If you believe this happened as a result of a stack ==28850== overflow in your program's main thread (unlikely but ==28850== possible), you can try to increase the size of the ==28850== main thread stack using the --main-stacksize= flag. ==28850== The main thread stack size used in this run was 8388608. ==28850== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,191 ==28850== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28850== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28850== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28850== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28850== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28850== by 0x408A511: ir_nextk (lj_ir.c:175) ==28850== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==28850== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==28850== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==28850== by 0x40A711A: crec_call (lj_crecord.c:1231) ==28850== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==28850== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28850== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28850== by 0x40BB16A: trace_state (lj_trace.c:680) ==28850== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28850== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28850== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28850== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28850== by 0x407FA29: lua_resume (lj_api.c:1296) ==28850== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28850== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28850== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28850== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28850== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28850== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28850== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28850== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28850== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28850== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28850== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28850== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28850== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28850== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28850== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28850== by 0x8065F8B: main (nginx.c:385) ==28850== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 1: get a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 1: get a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 15: set a number value (int) |
==28862== Invalid read of size 4 ==28862== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28862== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28862== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28862== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28862== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28862== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28862== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28862== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28862== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28862== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28862== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28862== by 0x8065F8B: main (nginx.c:385) ==28862== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28862== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 15: set a number value (int) |
==28862== ==28862== Process terminating with default action of signal 11 (SIGSEGV) ==28862== Access not within mapped region at address 0x0 ==28862== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28862== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28862== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28862== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28862== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28862== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28862== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28862== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28862== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28862== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28862== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28862== by 0x8065F8B: main (nginx.c:385) ==28862== If you believe this happened as a result of a stack ==28862== overflow in your program's main thread (unlikely but ==28862== possible), you can try to increase the size of the ==28862== main thread stack using the --main-stacksize= flag. ==28862== The main thread stack size used in this run was 8388608. ==28862== 2,048 bytes in 1 blocks are definitely lost in loss record 3,126 of 3,189 ==28862== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28862== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28862== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28862== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28862== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28862== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==28862== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==28862== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==28862== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==28862== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==28862== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28862== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28862== by 0x40BB16A: trace_state (lj_trace.c:680) ==28862== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28862== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28862== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28862== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28862== by 0x407FA29: lua_resume (lj_api.c:1296) ==28862== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28862== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28862== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28862== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28862== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28862== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28862== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28862== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28862== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28862== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28862== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28862== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28862== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28862== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28862== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28862== by 0x8065F8B: main (nginx.c:385) ==28862== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 15: set a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 15: set a number value (int) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 15: set a number value (int) |
==28884== Invalid read of size 4 ==28884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28884== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28884== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28884== by 0x8065F8B: main (nginx.c:385) ==28884== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28884== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 15: set a number value (int) |
==28884== ==28884== Process terminating with default action of signal 11 (SIGSEGV) ==28884== Access not within mapped region at address 0x0 ==28884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28884== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28884== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28884== by 0x8065F8B: main (nginx.c:385) ==28884== If you believe this happened as a result of a stack ==28884== overflow in your program's main thread (unlikely but ==28884== possible), you can try to increase the size of the ==28884== main thread stack using the --main-stacksize= flag. ==28884== The main thread stack size used in this run was 8388608. ==28884== 2,048 bytes in 1 blocks are definitely lost in loss record 3,126 of 3,189 ==28884== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==28884== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==28884== by 0x40CC146: mem_alloc (lib_aux.c:335) ==28884== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==28884== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==28884== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==28884== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==28884== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==28884== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==28884== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==28884== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==28884== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==28884== by 0x40BB16A: trace_state (lj_trace.c:680) ==28884== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28884== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==28884== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==28884== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==28884== by 0x407FA29: lua_resume (lj_api.c:1296) ==28884== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==28884== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==28884== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==28884== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==28884== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==28884== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==28884== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==28884== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==28884== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==28884== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28884== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28884== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28884== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28884== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28884== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28884== by 0x8065F8B: main (nginx.c:385) ==28884== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 15: set a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 15: set a number value (int) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number |
==28898== Invalid read of size 4 ==28898== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28898== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28898== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28898== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28898== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28898== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28898== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28898== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28898== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28898== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28898== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28898== by 0x8065F8B: main (nginx.c:385) ==28898== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28898== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number |
==28898== ==28898== Process terminating with default action of signal 11 (SIGSEGV) ==28898== Access not within mapped region at address 0x0 ==28898== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28898== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28898== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28898== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28898== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28898== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28898== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28898== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28898== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28898== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28898== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28898== by 0x8065F8B: main (nginx.c:385) ==28898== If you believe this happened as a result of a stack ==28898== overflow in your program's main thread (unlikely but ==28898== possible), you can try to increase the size of the ==28898== main thread stack using the --main-stacksize= flag. ==28898== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad init_ttl arg: number expected, got string ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:32 [alert] 28549\#0: worker process 28898 exited on signal 11" (req 0) |
2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:32 [debug] 28549\#0: reap children 2020/10/27 06:19:32 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:32 [debug] 28549\#0: child: 1 28898 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number |
==28919== Invalid read of size 4 ==28919== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28919== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28919== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28919== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28919== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28919== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28919== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28919== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28919== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28919== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28919== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28919== by 0x8065F8B: main (nginx.c:385) ==28919== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28919== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number |
==28919== ==28919== Process terminating with default action of signal 11 (SIGSEGV) ==28919== Access not within mapped region at address 0x0 ==28919== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28919== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28919== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28919== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28919== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28919== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28919== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28919== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28919== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28919== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28919== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28919== by 0x8065F8B: main (nginx.c:385) ==28919== If you believe this happened as a result of a stack ==28919== overflow in your program's main thread (unlikely but ==28919== possible), you can try to increase the size of the ==28919== main thread stack using the --main-stacksize= flag. ==28919== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: bad init_ttl arg: number expected, got string ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:32 [alert] 28549\#0: worker process 28898 exited on signal 11" (req 1) |
2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:32 [debug] 28549\#0: reap children 2020/10/27 06:19:32 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:32 [debug] 28549\#0: child: 1 28898 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:32 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:32 [alert] 28549\#0: worker process 28919 exited on signal 11" (req 1) |
2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:32 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:32 [debug] 28549\#0: reap children 2020/10/27 06:19:32 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:32 [debug] 28549\#0: child: 1 28919 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 29: incr with init |
==28931== Invalid read of size 4 ==28931== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28931== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28931== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28931== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28931== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28931== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28931== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28931== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28931== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28931== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28931== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28931== by 0x8065F8B: main (nginx.c:385) ==28931== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28931== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 29: incr with init |
==28931== ==28931== Process terminating with default action of signal 11 (SIGSEGV) ==28931== Access not within mapped region at address 0x0 ==28931== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28931== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28931== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28931== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28931== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28931== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28931== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28931== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28931== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28931== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28931== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28931== by 0x8065F8B: main (nginx.c:385) ==28931== If you believe this happened as a result of a stack ==28931== overflow in your program's main thread (unlikely but ==28931== possible), you can try to increase the size of the ==28931== main thread stack using the --main-stacksize= flag. ==28931== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 29: incr with init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 29: incr with init - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -failed to incr: not found -incr ok, value: 20, forcible: false ' |
stream/shdict.t | TEST 29: incr with init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:36 [alert] 28549\#0: worker process 28931 exited on signal 11" (req 0) |
2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:36 [debug] 28549\#0: reap children 2020/10/27 06:19:36 [debug] 28549\#0: child: 0 28931 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 29: incr with init |
==28952== Invalid read of size 4 ==28952== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28952== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28952== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28952== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28952== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28952== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28952== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28952== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28952== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28952== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28952== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28952== by 0x8065F8B: main (nginx.c:385) ==28952== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28952== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 29: incr with init |
==28952== ==28952== Process terminating with default action of signal 11 (SIGSEGV) ==28952== Access not within mapped region at address 0x0 ==28952== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28952== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28952== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28952== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28952== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28952== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28952== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28952== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28952== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28952== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28952== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28952== by 0x8065F8B: main (nginx.c:385) ==28952== If you believe this happened as a result of a stack ==28952== overflow in your program's main thread (unlikely but ==28952== possible), you can try to increase the size of the ==28952== main thread stack using the --main-stacksize= flag. ==28952== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 29: incr with init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 29: incr with init - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -failed to incr: not found -incr ok, value: 20, forcible: false ' |
stream/shdict.t | TEST 29: incr with init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:36 [alert] 28549\#0: worker process 28931 exited on signal 11" (req 1) |
2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:36 [debug] 28549\#0: reap children 2020/10/27 06:19:36 [debug] 28549\#0: child: 0 28931 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:36 [debug] 28549\#0: channel 3:4 2020/10/27 06:19:36 [notice] 28549\#0: start worker process 28952 ' |
stream/shdict.t | TEST 29: incr with init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:36 [alert] 28549\#0: worker process 28952 exited on signal 11" (req 1) |
2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:36 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:36 [debug] 28549\#0: reap children 2020/10/27 06:19:36 [debug] 28549\#0: child: 0 28952 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument |
==28964== Invalid read of size 4 ==28964== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28964== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28964== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28964== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28964== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28964== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28964== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28964== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28964== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28964== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28964== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28964== by 0x8065F8B: main (nginx.c:385) ==28964== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28964== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 39: incr bad init_ttl argument |
==28964== ==28964== Process terminating with default action of signal 11 (SIGSEGV) ==28964== Access not within mapped region at address 0x0 ==28964== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28964== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28964== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28964== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28964== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28964== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28964== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28964== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28964== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28964== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28964== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28964== by 0x8065F8B: main (nginx.c:385) ==28964== If you believe this happened as a result of a stack ==28964== overflow in your program's main thread (unlikely but ==28964== possible), you can try to increase the size of the ==28964== main thread stack using the --main-stacksize= flag. ==28964== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 39: incr bad init_ttl argument - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad "init_ttl" argument ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:40 [alert] 28549\#0: worker process 28964 exited on signal 11" (req 0) |
2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:40 [debug] 28549\#0: reap children 2020/10/27 06:19:40 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:40 [debug] 28549\#0: child: 1 28964 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument |
==28986== Invalid read of size 4 ==28986== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28986== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28986== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28986== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28986== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28986== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28986== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28986== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28986== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28986== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28986== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28986== by 0x8065F8B: main (nginx.c:385) ==28986== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28986== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 39: incr bad init_ttl argument |
==28986== ==28986== Process terminating with default action of signal 11 (SIGSEGV) ==28986== Access not within mapped region at address 0x0 ==28986== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28986== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28986== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28986== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28986== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28986== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28986== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28986== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28986== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28986== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==28986== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==28986== by 0x8065F8B: main (nginx.c:385) ==28986== If you believe this happened as a result of a stack ==28986== overflow in your program's main thread (unlikely but ==28986== possible), you can try to increase the size of the ==28986== main thread stack using the --main-stacksize= flag. ==28986== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 39: incr bad init_ttl argument - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: bad "init_ttl" argument ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:40 [alert] 28549\#0: worker process 28964 exited on signal 11" (req 1) |
2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:40 [debug] 28549\#0: reap children 2020/10/27 06:19:40 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:40 [debug] 28549\#0: child: 1 28964 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:40 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:40 [alert] 28549\#0: worker process 28986 exited on signal 11" (req 1) |
2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:40 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:40 [debug] 28549\#0: reap children 2020/10/27 06:19:40 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:40 [debug] 28549\#0: child: 1 28986 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() |
==28998== Invalid read of size 4 ==28998== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28998== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28998== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28998== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28998== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28998== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28998== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28998== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28998== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28998== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28998== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28998== by 0x8065F8B: main (nginx.c:385) ==28998== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28998== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() |
==28998== ==28998== Process terminating with default action of signal 11 (SIGSEGV) ==28998== Access not within mapped region at address 0x0 ==28998== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==28998== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==28998== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==28998== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==28998== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==28998== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==28998== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==28998== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==28998== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==28998== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==28998== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==28998== by 0x8065F8B: main (nginx.c:385) ==28998== If you believe this happened as a result of a stack ==28998== overflow in your program's main thread (unlikely but ==28998== possible), you can try to increase the size of the ==28998== main thread stack using the --main-stacksize= flag. ==28998== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:44 [alert] 28549\#0: worker process 28998 exited on signal 11" (req 0) |
2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:44 [debug] 28549\#0: reap children 2020/10/27 06:19:44 [debug] 28549\#0: child: 0 28998 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() |
==29020== Invalid read of size 4 ==29020== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29020== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29020== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29020== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29020== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29020== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29020== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29020== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29020== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29020== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29020== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29020== by 0x8065F8B: main (nginx.c:385) ==29020== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29020== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() |
==29020== ==29020== Process terminating with default action of signal 11 (SIGSEGV) ==29020== Access not within mapped region at address 0x0 ==29020== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29020== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29020== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29020== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29020== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29020== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29020== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29020== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29020== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29020== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29020== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29020== by 0x8065F8B: main (nginx.c:385) ==29020== If you believe this happened as a result of a stack ==29020== overflow in your program's main thread (unlikely but ==29020== possible), you can try to increase the size of the ==29020== main thread stack using the --main-stacksize= flag. ==29020== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:44 [alert] 28549\#0: worker process 28998 exited on signal 11" (req 1) |
2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:44 [debug] 28549\#0: reap children 2020/10/27 06:19:44 [debug] 28549\#0: child: 0 28998 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:44 [debug] 28549\#0: channel 3:4 2020/10/27 06:19:44 [notice] 28549\#0: start worker process 29020 ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:44 [alert] 28549\#0: worker process 29020 exited on signal 11" (req 1) |
2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:44 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:44 [debug] 28549\#0: reap children 2020/10/27 06:19:44 [debug] 28549\#0: child: 0 29020 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 37: free_space, got forcible |
==29032== Invalid read of size 4 ==29032== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29032== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29032== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29032== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29032== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29032== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29032== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29032== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29032== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29032== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29032== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29032== by 0x8065F8B: main (nginx.c:385) ==29032== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29032== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 37: free_space, got forcible |
==29032== ==29032== Process terminating with default action of signal 11 (SIGSEGV) ==29032== Access not within mapped region at address 0x0 ==29032== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29032== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29032== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29032== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29032== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29032== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29032== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29032== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29032== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29032== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29032== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29032== by 0x8065F8B: main (nginx.c:385) ==29032== If you believe this happened as a result of a stack ==29032== overflow in your program's main thread (unlikely but ==29032== possible), you can try to increase the size of the ==29032== main thread stack using the --main-stacksize= flag. ==29032== The main thread stack size used in this run was 8388608. ==29032== 4,096 bytes in 1 blocks are definitely lost in loss record 3,165 of 3,192 ==29032== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29032== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29032== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29032== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29032== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29032== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29032== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29032== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29032== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29032== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29032== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29032== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29032== by 0x40BB16A: trace_state (lj_trace.c:680) ==29032== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29032== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29032== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29032== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29032== by 0x407FA29: lua_resume (lj_api.c:1296) ==29032== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29032== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29032== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29032== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29032== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29032== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29032== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29032== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29032== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29032== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29032== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29032== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29032== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29032== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29032== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29032== by 0x8065F8B: main (nginx.c:385) ==29032== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 37: free_space, got forcible - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 37: free_space, got forcible - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=64 )?free_page_bytes type: number free_page_bytes: 0 \z)' |
stream/shdict.t | TEST 37: free_space, got forcible - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:49 [alert] 28549\#0: worker process 29032 exited on signal 11" (req 0) |
2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:49 [debug] 28549\#0: reap children 2020/10/27 06:19:49 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:49 [debug] 28549\#0: child: 1 29032 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 37: free_space, got forcible |
==29054== Invalid read of size 4 ==29054== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29054== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29054== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29054== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29054== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29054== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29054== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29054== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29054== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29054== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29054== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29054== by 0x8065F8B: main (nginx.c:385) ==29054== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29054== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 37: free_space, got forcible |
==29054== ==29054== Process terminating with default action of signal 11 (SIGSEGV) ==29054== Access not within mapped region at address 0x0 ==29054== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29054== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29054== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29054== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29054== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29054== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29054== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29054== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29054== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29054== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29054== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29054== by 0x8065F8B: main (nginx.c:385) ==29054== If you believe this happened as a result of a stack ==29054== overflow in your program's main thread (unlikely but ==29054== possible), you can try to increase the size of the ==29054== main thread stack using the --main-stacksize= flag. ==29054== The main thread stack size used in this run was 8388608. ==29054== 4,096 bytes in 1 blocks are definitely lost in loss record 3,165 of 3,192 ==29054== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29054== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29054== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29054== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29054== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29054== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29054== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29054== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29054== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29054== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29054== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29054== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29054== by 0x40BB16A: trace_state (lj_trace.c:680) ==29054== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29054== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29054== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29054== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29054== by 0x407FA29: lua_resume (lj_api.c:1296) ==29054== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29054== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29054== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29054== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29054== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29054== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29054== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29054== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29054== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29054== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29054== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29054== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29054== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29054== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29054== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29054== by 0x8065F8B: main (nginx.c:385) ==29054== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 37: free_space, got forcible - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 37: free_space, got forcible - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=64 )?free_page_bytes type: number free_page_bytes: 0 \z)' |
stream/shdict.t | TEST 37: free_space, got forcible - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:49 [alert] 28549\#0: worker process 29032 exited on signal 11" (req 1) |
2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:49 [debug] 28549\#0: reap children 2020/10/27 06:19:49 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:49 [debug] 28549\#0: child: 1 29032 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:49 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 37: free_space, got forcible - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:49 [alert] 28549\#0: worker process 29054 exited on signal 11" (req 1) |
2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:49 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:49 [debug] 28549\#0: reap children 2020/10/27 06:19:49 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:49 [debug] 28549\#0: child: 1 29054 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 25: get stale key |
==29066== Invalid read of size 4 ==29066== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29066== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29066== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29066== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29066== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29066== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29066== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29066== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29066== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29066== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29066== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29066== by 0x8065F8B: main (nginx.c:385) ==29066== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 25: get stale key |
==29066== ==29066== Process terminating with default action of signal 11 (SIGSEGV) ==29066== Access not within mapped region at address 0x0 ==29066== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29066== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29066== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29066== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29066== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29066== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29066== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29066== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29066== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29066== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29066== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29066== by 0x8065F8B: main (nginx.c:385) ==29066== If you believe this happened as a result of a stack ==29066== overflow in your program's main thread (unlikely but ==29066== possible), you can try to increase the size of the ==29066== main thread stack using the --main-stacksize= flag. ==29066== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 25: get stale key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 25: get stale key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get stale: nil key ' |
stream/shdict.t | TEST 25: get stale key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:53 [alert] 28549\#0: worker process 29066 exited on signal 11" (req 0) |
2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:53 [debug] 28549\#0: reap children 2020/10/27 06:19:53 [debug] 28549\#0: child: 0 29066 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 25: get stale key |
==29088== Invalid read of size 4 ==29088== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29088== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29088== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29088== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29088== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29088== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29088== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29088== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29088== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29088== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29088== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29088== by 0x8065F8B: main (nginx.c:385) ==29088== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29088== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 25: get stale key |
==29088== ==29088== Process terminating with default action of signal 11 (SIGSEGV) ==29088== Access not within mapped region at address 0x0 ==29088== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29088== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29088== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29088== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29088== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29088== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29088== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29088== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29088== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29088== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29088== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29088== by 0x8065F8B: main (nginx.c:385) ==29088== If you believe this happened as a result of a stack ==29088== overflow in your program's main thread (unlikely but ==29088== possible), you can try to increase the size of the ==29088== main thread stack using the --main-stacksize= flag. ==29088== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 25: get stale key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 25: get stale key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get stale: nil key ' |
stream/shdict.t | TEST 25: get stale key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:53 [alert] 28549\#0: worker process 29066 exited on signal 11" (req 1) |
2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:53 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:53 [debug] 28549\#0: reap children 2020/10/27 06:19:53 [debug] 28549\#0: child: 0 29066 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:53 [debug] 28549\#0: channel 3:4 2020/10/27 06:19:53 [notice] 28549\#0: start worker process 29088 ' |
stream/shdict.t | TEST 25: get stale key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:54 [alert] 28549\#0: worker process 29088 exited on signal 11" (req 1) |
2020/10/27 06:19:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:54 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:54 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:54 [debug] 28549\#0: reap children 2020/10/27 06:19:54 [debug] 28549\#0: child: 0 29088 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) |
==29103== Invalid read of size 4 ==29103== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29103== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29103== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29103== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29103== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29103== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29103== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29103== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29103== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29103== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29103== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29103== by 0x8065F8B: main (nginx.c:385) ==29103== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29103== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) |
==29103== ==29103== Process terminating with default action of signal 11 (SIGSEGV) ==29103== Access not within mapped region at address 0x0 ==29103== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29103== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29103== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29103== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29103== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29103== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29103== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29103== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29103== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29103== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29103== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29103== by 0x8065F8B: main (nginx.c:385) ==29103== If you believe this happened as a result of a stack ==29103== overflow in your program's main thread (unlikely but ==29103== possible), you can try to increase the size of the ==29103== main thread stack using the --main-stacksize= flag. ==29103== The main thread stack size used in this run was 8388608. ==29103== 2,048 bytes in 1 blocks are definitely lost in loss record 3,155 of 3,217 ==29103== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29103== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29103== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29103== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29103== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29103== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==29103== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==29103== by 0x409C767: lj_record_mm_lookup (lj_record.c:999) ==29103== by 0x409B444: lj_record_idx (lj_record.c:1415) ==29103== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29103== by 0x40BB16A: trace_state (lj_trace.c:680) ==29103== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29103== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29103== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29103== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29103== by 0x407FA29: lua_resume (lj_api.c:1296) ==29103== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29103== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29103== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29103== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29103== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29103== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29103== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29103== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29103== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29103== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29103== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29103== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29103== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29103== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29103== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29103== by 0x8065F8B: main (nginx.c:385) ==29103== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_mm_lookup fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10502 nil -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:58 [alert] 28549\#0: worker process 29103 exited on signal 11" (req 0) |
2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:58 [debug] 28549\#0: reap children 2020/10/27 06:19:58 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:58 [debug] 28549\#0: child: 1 29103 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) |
==29124== Invalid read of size 4 ==29124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29124== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29124== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29124== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29124== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29124== by 0x8065F8B: main (nginx.c:385) ==29124== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29124== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) |
==29124== ==29124== Process terminating with default action of signal 11 (SIGSEGV) ==29124== Access not within mapped region at address 0x0 ==29124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29124== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29124== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29124== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29124== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29124== by 0x8065F8B: main (nginx.c:385) ==29124== If you believe this happened as a result of a stack ==29124== overflow in your program's main thread (unlikely but ==29124== possible), you can try to increase the size of the ==29124== main thread stack using the --main-stacksize= flag. ==29124== The main thread stack size used in this run was 8388608. ==29124== 2,048 bytes in 1 blocks are definitely lost in loss record 3,152 of 3,214 ==29124== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29124== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29124== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29124== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29124== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29124== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==29124== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==29124== by 0x409C767: lj_record_mm_lookup (lj_record.c:999) ==29124== by 0x409B444: lj_record_idx (lj_record.c:1415) ==29124== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29124== by 0x40BB16A: trace_state (lj_trace.c:680) ==29124== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29124== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29124== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29124== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29124== by 0x407FA29: lua_resume (lj_api.c:1296) ==29124== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29124== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29124== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29124== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29124== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29124== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29124== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29124== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29124== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29124== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29124== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29124== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29124== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29124== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29124== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29124== by 0x8065F8B: main (nginx.c:385) ==29124== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_mm_lookup fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10502 nil -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:58 [alert] 28549\#0: worker process 29103 exited on signal 11" (req 1) |
2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:58 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:58 [debug] 28549\#0: reap children 2020/10/27 06:19:58 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:58 [debug] 28549\#0: child: 1 29103 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:19:58 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:19:59 [alert] 28549\#0: worker process 29124 exited on signal 11" (req 1) |
2020/10/27 06:19:59 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:59 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:59 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:59 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:19:59 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:19:59 [debug] 28549\#0: reap children 2020/10/27 06:19:59 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:19:59 [debug] 28549\#0: child: 1 29124 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 14: set a boolean value (false) |
==29137== Invalid read of size 4 ==29137== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29137== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29137== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29137== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29137== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29137== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29137== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29137== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29137== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29137== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29137== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29137== by 0x8065F8B: main (nginx.c:385) ==29137== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29137== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 14: set a boolean value (false) |
==29137== ==29137== Process terminating with default action of signal 11 (SIGSEGV) ==29137== Access not within mapped region at address 0x0 ==29137== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29137== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29137== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29137== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29137== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29137== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29137== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29137== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29137== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29137== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29137== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29137== by 0x8065F8B: main (nginx.c:385) ==29137== If you believe this happened as a result of a stack ==29137== overflow in your program's main thread (unlikely but ==29137== possible), you can try to increase the size of the ==29137== main thread stack using the --main-stacksize= flag. ==29137== The main thread stack size used in this run was 8388608. ==29137== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,183 ==29137== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29137== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29137== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29137== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29137== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29137== by 0x408A511: ir_nextk (lj_ir.c:175) ==29137== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29137== by 0x40A5FEB: recff_cdata_index (lj_crecord.c:838) ==29137== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29137== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29137== by 0x40BB16A: trace_state (lj_trace.c:680) ==29137== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29137== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29137== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29137== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29137== by 0x407FA29: lua_resume (lj_api.c:1296) ==29137== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29137== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29137== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29137== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29137== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29137== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29137== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29137== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29137== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29137== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29137== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29137== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29137== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29137== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29137== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29137== by 0x8065F8B: main (nginx.c:385) ==29137== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 14: set a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 14: set a boolean value (false) |
==29158== Invalid read of size 4 ==29158== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29158== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29158== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29158== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29158== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29158== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29158== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29158== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29158== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29158== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29158== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29158== by 0x8065F8B: main (nginx.c:385) ==29158== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29158== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 14: set a boolean value (false) |
==29158== ==29158== Process terminating with default action of signal 11 (SIGSEGV) ==29158== Access not within mapped region at address 0x0 ==29158== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29158== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29158== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29158== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29158== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29158== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29158== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29158== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29158== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29158== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29158== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29158== by 0x8065F8B: main (nginx.c:385) ==29158== If you believe this happened as a result of a stack ==29158== overflow in your program's main thread (unlikely but ==29158== possible), you can try to increase the size of the ==29158== main thread stack using the --main-stacksize= flag. ==29158== The main thread stack size used in this run was 8388608. ==29158== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,183 ==29158== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29158== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29158== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29158== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29158== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29158== by 0x408A511: ir_nextk (lj_ir.c:175) ==29158== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29158== by 0x40A5FEB: recff_cdata_index (lj_crecord.c:838) ==29158== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29158== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29158== by 0x40BB16A: trace_state (lj_trace.c:680) ==29158== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29158== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29158== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29158== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29158== by 0x407FA29: lua_resume (lj_api.c:1296) ==29158== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29158== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29158== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29158== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29158== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29158== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29158== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29158== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29158== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29158== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29158== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29158== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29158== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29158== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29158== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29158== by 0x8065F8B: main (nginx.c:385) ==29158== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 14: set a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() |
==29171== Invalid read of size 4 ==29171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29171== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29171== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29171== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29171== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29171== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29171== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29171== by 0x8065F8B: main (nginx.c:385) ==29171== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29171== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() |
==29171== ==29171== Process terminating with default action of signal 11 (SIGSEGV) ==29171== Access not within mapped region at address 0x0 ==29171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29171== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29171== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29171== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29171== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29171== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29171== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29171== by 0x8065F8B: main (nginx.c:385) ==29171== If you believe this happened as a result of a stack ==29171== overflow in your program's main thread (unlikely but ==29171== possible), you can try to increase the size of the ==29171== main thread stack using the --main-stacksize= flag. ==29171== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:08 [alert] 28549\#0: worker process 29171 exited on signal 11" (req 0) |
2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:08 [debug] 28549\#0: reap children 2020/10/27 06:20:08 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:20:08 [debug] 28549\#0: child: 1 29171 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() |
==29192== Invalid read of size 4 ==29192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29192== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29192== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29192== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29192== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29192== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29192== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29192== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29192== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29192== by 0x8065F8B: main (nginx.c:385) ==29192== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29192== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() |
==29192== ==29192== Process terminating with default action of signal 11 (SIGSEGV) ==29192== Access not within mapped region at address 0x0 ==29192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29192== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29192== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29192== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29192== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29192== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29192== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29192== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29192== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29192== by 0x8065F8B: main (nginx.c:385) ==29192== If you believe this happened as a result of a stack ==29192== overflow in your program's main thread (unlikely but ==29192== possible), you can try to increase the size of the ==29192== main thread stack using the --main-stacksize= flag. ==29192== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:08 [alert] 28549\#0: worker process 29171 exited on signal 11" (req 1) |
2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:08 [debug] 28549\#0: reap children 2020/10/27 06:20:08 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:20:08 [debug] 28549\#0: child: 1 29171 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:20:08 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:08 [alert] 28549\#0: worker process 29192 exited on signal 11" (req 1) |
2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:08 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:08 [debug] 28549\#0: reap children 2020/10/27 06:20:08 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:20:08 [debug] 28549\#0: child: 1 29192 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 19: add a string value |
==29205== Invalid read of size 4 ==29205== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29205== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29205== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29205== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29205== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29205== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29205== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29205== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29205== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29205== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29205== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29205== by 0x8065F8B: main (nginx.c:385) ==29205== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29205== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 19: add a string value |
==29205== ==29205== Process terminating with default action of signal 11 (SIGSEGV) ==29205== Access not within mapped region at address 0x0 ==29205== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29205== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29205== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29205== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29205== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29205== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29205== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29205== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29205== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29205== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29205== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29205== by 0x8065F8B: main (nginx.c:385) ==29205== If you believe this happened as a result of a stack ==29205== overflow in your program's main thread (unlikely but ==29205== possible), you can try to increase the size of the ==29205== main thread stack using the --main-stacksize= flag. ==29205== The main thread stack size used in this run was 8388608. ==29205== 2,048 bytes in 1 blocks are definitely lost in loss record 3,131 of 3,195 ==29205== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29205== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29205== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29205== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29205== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29205== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29205== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29205== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==29205== by 0x409BAA4: lj_record_idx (lj_record.c:1419) ==29205== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29205== by 0x40BB16A: trace_state (lj_trace.c:680) ==29205== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29205== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29205== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29205== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29205== by 0x407FA29: lua_resume (lj_api.c:1296) ==29205== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29205== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29205== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29205== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29205== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29205== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29205== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29205== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29205== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29205== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29205== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29205== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29205== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29205== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29205== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29205== by 0x8065F8B: main (nginx.c:385) ==29205== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 19: add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 19: add a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 19: add a string value |
==29226== Invalid read of size 4 ==29226== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29226== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29226== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29226== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29226== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29226== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29226== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29226== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29226== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29226== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29226== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29226== by 0x8065F8B: main (nginx.c:385) ==29226== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29226== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 19: add a string value |
==29226== ==29226== Process terminating with default action of signal 11 (SIGSEGV) ==29226== Access not within mapped region at address 0x0 ==29226== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29226== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29226== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29226== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29226== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29226== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29226== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29226== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29226== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29226== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29226== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29226== by 0x8065F8B: main (nginx.c:385) ==29226== If you believe this happened as a result of a stack ==29226== overflow in your program's main thread (unlikely but ==29226== possible), you can try to increase the size of the ==29226== main thread stack using the --main-stacksize= flag. ==29226== The main thread stack size used in this run was 8388608. ==29226== 2,048 bytes in 1 blocks are definitely lost in loss record 3,131 of 3,195 ==29226== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29226== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29226== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29226== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29226== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29226== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29226== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29226== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==29226== by 0x409BAA4: lj_record_idx (lj_record.c:1419) ==29226== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29226== by 0x40BB16A: trace_state (lj_trace.c:680) ==29226== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29226== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29226== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29226== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29226== by 0x407FA29: lua_resume (lj_api.c:1296) ==29226== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29226== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29226== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29226== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29226== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29226== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29226== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29226== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29226== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29226== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29226== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29226== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29226== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29226== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29226== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29226== by 0x8065F8B: main (nginx.c:385) ==29226== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 19: add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 19: add a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 4: get a boolean value (false) |
==29239== Invalid read of size 4 ==29239== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29239== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29239== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29239== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29239== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29239== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29239== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29239== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29239== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29239== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29239== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29239== by 0x8065F8B: main (nginx.c:385) ==29239== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29239== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 4: get a boolean value (false) |
==29239== ==29239== Process terminating with default action of signal 11 (SIGSEGV) ==29239== Access not within mapped region at address 0x0 ==29239== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29239== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29239== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29239== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29239== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29239== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29239== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29239== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29239== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29239== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29239== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29239== by 0x8065F8B: main (nginx.c:385) ==29239== If you believe this happened as a result of a stack ==29239== overflow in your program's main thread (unlikely but ==29239== possible), you can try to increase the size of the ==29239== main thread stack using the --main-stacksize= flag. ==29239== The main thread stack size used in this run was 8388608. ==29239== 2,048 bytes in 1 blocks are definitely lost in loss record 3,131 of 3,194 ==29239== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29239== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29239== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29239== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29239== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29239== by 0x408A511: ir_nextk (lj_ir.c:175) ==29239== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29239== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29239== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29239== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29239== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29239== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29239== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29239== by 0x40BB16A: trace_state (lj_trace.c:680) ==29239== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29239== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29239== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29239== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29239== by 0x407FA29: lua_resume (lj_api.c:1296) ==29239== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29239== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29239== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29239== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29239== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29239== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29239== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29239== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29239== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29239== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29239== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29239== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29239== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29239== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29239== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29239== by 0x8065F8B: main (nginx.c:385) ==29239== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 4: get a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 4: get a boolean value (false) |
==29260== Invalid read of size 4 ==29260== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29260== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29260== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29260== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29260== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29260== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29260== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29260== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29260== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29260== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29260== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29260== by 0x8065F8B: main (nginx.c:385) ==29260== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 4: get a boolean value (false) |
==29260== ==29260== Process terminating with default action of signal 11 (SIGSEGV) ==29260== Access not within mapped region at address 0x0 ==29260== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29260== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29260== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29260== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29260== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29260== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29260== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29260== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29260== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29260== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29260== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29260== by 0x8065F8B: main (nginx.c:385) ==29260== If you believe this happened as a result of a stack ==29260== overflow in your program's main thread (unlikely but ==29260== possible), you can try to increase the size of the ==29260== main thread stack using the --main-stacksize= flag. ==29260== The main thread stack size used in this run was 8388608. ==29260== 2,048 bytes in 1 blocks are definitely lost in loss record 3,131 of 3,194 ==29260== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29260== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29260== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29260== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29260== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29260== by 0x408A511: ir_nextk (lj_ir.c:175) ==29260== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29260== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29260== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29260== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29260== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29260== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29260== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29260== by 0x40BB16A: trace_state (lj_trace.c:680) ==29260== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29260== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29260== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29260== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29260== by 0x407FA29: lua_resume (lj_api.c:1296) ==29260== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29260== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29260== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29260== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29260== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29260== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29260== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29260== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29260== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29260== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29260== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29260== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29260== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29260== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29260== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29260== by 0x8065F8B: main (nginx.c:385) ==29260== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 4: get a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 16: set a number value (double) |
==29273== Invalid read of size 4 ==29273== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29273== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29273== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29273== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29273== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29273== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29273== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29273== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29273== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29273== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29273== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29273== by 0x8065F8B: main (nginx.c:385) ==29273== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29273== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 16: set a number value (double) |
==29273== ==29273== Process terminating with default action of signal 11 (SIGSEGV) ==29273== Access not within mapped region at address 0x0 ==29273== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29273== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29273== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29273== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29273== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29273== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29273== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29273== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29273== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29273== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29273== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29273== by 0x8065F8B: main (nginx.c:385) ==29273== If you believe this happened as a result of a stack ==29273== overflow in your program's main thread (unlikely but ==29273== possible), you can try to increase the size of the ==29273== main thread stack using the --main-stacksize= flag. ==29273== The main thread stack size used in this run was 8388608. ==29273== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,190 ==29273== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29273== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29273== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29273== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29273== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29273== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29273== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29273== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29273== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29273== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29273== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29273== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29273== by 0x40BB16A: trace_state (lj_trace.c:680) ==29273== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29273== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29273== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29273== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29273== by 0x407FA29: lua_resume (lj_api.c:1296) ==29273== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29273== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29273== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29273== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29273== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29273== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29273== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29273== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29273== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29273== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29273== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29273== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29273== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29273== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29273== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29273== by 0x8065F8B: main (nginx.c:385) ==29273== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 16: set a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 16: set a number value (double) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 16: set a number value (double) |
==29296== Invalid read of size 4 ==29296== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29296== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29296== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29296== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29296== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29296== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29296== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29296== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29296== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29296== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29296== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29296== by 0x8065F8B: main (nginx.c:385) ==29296== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29296== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 16: set a number value (double) |
==29296== ==29296== Process terminating with default action of signal 11 (SIGSEGV) ==29296== Access not within mapped region at address 0x0 ==29296== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29296== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29296== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29296== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29296== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29296== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29296== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29296== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29296== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29296== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29296== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29296== by 0x8065F8B: main (nginx.c:385) ==29296== If you believe this happened as a result of a stack ==29296== overflow in your program's main thread (unlikely but ==29296== possible), you can try to increase the size of the ==29296== main thread stack using the --main-stacksize= flag. ==29296== The main thread stack size used in this run was 8388608. ==29296== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,190 ==29296== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29296== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29296== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29296== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29296== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29296== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29296== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29296== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29296== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29296== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29296== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29296== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29296== by 0x40BB16A: trace_state (lj_trace.c:680) ==29296== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29296== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29296== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29296== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29296== by 0x407FA29: lua_resume (lj_api.c:1296) ==29296== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29296== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29296== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29296== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29296== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29296== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29296== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29296== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29296== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29296== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29296== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29296== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29296== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29296== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29296== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29296== by 0x8065F8B: main (nginx.c:385) ==29296== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 16: set a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 16: set a number value (double) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) |
==29309== Invalid read of size 4 ==29309== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29309== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29309== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29309== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29309== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29309== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29309== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29309== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29309== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29309== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29309== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29309== by 0x8065F8B: main (nginx.c:385) ==29309== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29309== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) |
==29309== ==29309== Process terminating with default action of signal 11 (SIGSEGV) ==29309== Access not within mapped region at address 0x0 ==29309== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29309== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29309== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29309== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29309== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29309== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29309== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29309== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29309== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29309== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29309== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29309== by 0x8065F8B: main (nginx.c:385) ==29309== If you believe this happened as a result of a stack ==29309== overflow in your program's main thread (unlikely but ==29309== possible), you can try to increase the size of the ==29309== main thread stack using the --main-stacksize= flag. ==29309== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:27 [alert] 28549\#0: worker process 29309 exited on signal 11" (req 0) |
2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:27 [debug] 28549\#0: reap children 2020/10/27 06:20:27 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:20:27 [debug] 28549\#0: child: 1 29309 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) |
==29330== Invalid read of size 4 ==29330== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29330== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29330== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29330== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29330== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29330== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29330== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29330== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29330== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29330== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29330== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29330== by 0x8065F8B: main (nginx.c:385) ==29330== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29330== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) |
==29330== ==29330== Process terminating with default action of signal 11 (SIGSEGV) ==29330== Access not within mapped region at address 0x0 ==29330== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29330== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29330== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29330== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29330== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29330== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29330== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29330== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29330== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29330== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29330== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29330== by 0x8065F8B: main (nginx.c:385) ==29330== If you believe this happened as a result of a stack ==29330== overflow in your program's main thread (unlikely but ==29330== possible), you can try to increase the size of the ==29330== main thread stack using the --main-stacksize= flag. ==29330== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:27 [alert] 28549\#0: worker process 29309 exited on signal 11" (req 1) |
2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:27 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:27 [debug] 28549\#0: reap children 2020/10/27 06:20:27 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:20:27 [debug] 28549\#0: child: 1 29309 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:20:27 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:28 [alert] 28549\#0: worker process 29330 exited on signal 11" (req 1) |
2020/10/27 06:20:28 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:28 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:28 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:28 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:28 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:28 [debug] 28549\#0: reap children 2020/10/27 06:20:28 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:20:28 [debug] 28549\#0: child: 1 29330 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 28: incr, value is not number |
==29343== Invalid read of size 4 ==29343== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29343== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29343== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29343== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29343== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29343== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29343== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29343== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29343== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29343== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29343== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29343== by 0x8065F8B: main (nginx.c:385) ==29343== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29343== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 28: incr, value is not number |
==29343== ==29343== Process terminating with default action of signal 11 (SIGSEGV) ==29343== Access not within mapped region at address 0x0 ==29343== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29343== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29343== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29343== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29343== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29343== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29343== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29343== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29343== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29343== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29343== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29343== by 0x8065F8B: main (nginx.c:385) ==29343== If you believe this happened as a result of a stack ==29343== overflow in your program's main thread (unlikely but ==29343== possible), you can try to increase the size of the ==29343== main thread stack using the --main-stacksize= flag. ==29343== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 28: incr, value is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 28: incr, value is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:31 [alert] 28549\#0: worker process 29343 exited on signal 11" (req 0) |
2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:31 [debug] 28549\#0: reap children 2020/10/27 06:20:31 [debug] 28549\#0: child: 0 29343 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 28: incr, value is not number |
==29364== Invalid read of size 4 ==29364== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29364== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29364== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29364== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29364== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29364== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29364== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29364== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29364== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29364== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29364== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29364== by 0x8065F8B: main (nginx.c:385) ==29364== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29364== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 28: incr, value is not number |
==29364== ==29364== Process terminating with default action of signal 11 (SIGSEGV) ==29364== Access not within mapped region at address 0x0 ==29364== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29364== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29364== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29364== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29364== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29364== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29364== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29364== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29364== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29364== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29364== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29364== by 0x8065F8B: main (nginx.c:385) ==29364== If you believe this happened as a result of a stack ==29364== overflow in your program's main thread (unlikely but ==29364== possible), you can try to increase the size of the ==29364== main thread stack using the --main-stacksize= flag. ==29364== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 28: incr, value is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 28: incr, value is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:31 [alert] 28549\#0: worker process 29343 exited on signal 11" (req 1) |
2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:31 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:31 [debug] 28549\#0: reap children 2020/10/27 06:20:31 [debug] 28549\#0: child: 0 29343 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:20:31 [debug] 28549\#0: channel 3:4 2020/10/27 06:20:31 [notice] 28549\#0: start worker process 29364 ' |
stream/shdict.t | TEST 28: incr, value is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:32 [alert] 28549\#0: worker process 29364 exited on signal 11" (req 1) |
2020/10/27 06:20:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:32 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:32 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:32 [debug] 28549\#0: reap children 2020/10/27 06:20:32 [debug] 28549\#0: child: 0 29364 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 18: safe set a number value |
==29377== Invalid read of size 4 ==29377== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29377== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29377== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29377== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29377== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29377== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29377== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29377== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29377== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29377== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29377== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29377== by 0x8065F8B: main (nginx.c:385) ==29377== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29377== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 18: safe set a number value |
==29377== ==29377== Process terminating with default action of signal 11 (SIGSEGV) ==29377== Access not within mapped region at address 0x0 ==29377== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29377== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29377== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29377== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29377== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29377== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29377== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29377== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29377== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29377== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29377== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29377== by 0x8065F8B: main (nginx.c:385) ==29377== If you believe this happened as a result of a stack ==29377== overflow in your program's main thread (unlikely but ==29377== possible), you can try to increase the size of the ==29377== main thread stack using the --main-stacksize= flag. ==29377== The main thread stack size used in this run was 8388608. ==29377== 2,048 bytes in 1 blocks are definitely lost in loss record 3,017 of 3,071 ==29377== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29377== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29377== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29377== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29377== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29377== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29377== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29377== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29377== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29377== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29377== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29377== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29377== by 0x40BB16A: trace_state (lj_trace.c:680) ==29377== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29377== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29377== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29377== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29377== by 0x407FA29: lua_resume (lj_api.c:1296) ==29377== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29377== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29377== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29377== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29377== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29377== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29377== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29377== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29377== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29377== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29377== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29377== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29377== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29377== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29377== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29377== by 0x8065F8B: main (nginx.c:385) ==29377== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 18: safe set a number value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 18: safe set a number value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 18: safe set a number value |
==29398== Invalid read of size 4 ==29398== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29398== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29398== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29398== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29398== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29398== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29398== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29398== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29398== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29398== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29398== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29398== by 0x8065F8B: main (nginx.c:385) ==29398== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29398== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 18: safe set a number value |
==29398== ==29398== Process terminating with default action of signal 11 (SIGSEGV) ==29398== Access not within mapped region at address 0x0 ==29398== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29398== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29398== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29398== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29398== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29398== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29398== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29398== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29398== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29398== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29398== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29398== by 0x8065F8B: main (nginx.c:385) ==29398== If you believe this happened as a result of a stack ==29398== overflow in your program's main thread (unlikely but ==29398== possible), you can try to increase the size of the ==29398== main thread stack using the --main-stacksize= flag. ==29398== The main thread stack size used in this run was 8388608. ==29398== 2,048 bytes in 1 blocks are definitely lost in loss record 3,017 of 3,071 ==29398== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29398== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29398== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29398== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29398== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29398== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29398== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29398== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29398== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29398== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29398== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29398== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29398== by 0x40BB16A: trace_state (lj_trace.c:680) ==29398== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29398== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29398== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29398== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29398== by 0x407FA29: lua_resume (lj_api.c:1296) ==29398== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29398== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29398== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29398== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29398== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29398== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29398== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29398== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29398== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29398== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29398== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29398== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29398== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29398== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29398== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29398== by 0x8065F8B: main (nginx.c:385) ==29398== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 18: safe set a number value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 18: safe set a number value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() |
==29411== Invalid read of size 4 ==29411== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29411== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29411== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29411== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29411== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29411== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29411== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29411== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29411== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29411== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29411== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29411== by 0x8065F8B: main (nginx.c:385) ==29411== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29411== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() |
==29411== ==29411== Process terminating with default action of signal 11 (SIGSEGV) ==29411== Access not within mapped region at address 0x0 ==29411== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29411== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29411== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29411== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29411== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29411== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29411== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29411== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29411== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29411== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29411== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29411== by 0x8065F8B: main (nginx.c:385) ==29411== If you believe this happened as a result of a stack ==29411== overflow in your program's main thread (unlikely but ==29411== possible), you can try to increase the size of the ==29411== main thread stack using the --main-stacksize= flag. ==29411== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:41 [alert] 28549\#0: worker process 29411 exited on signal 11" (req 0) |
2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:41 [debug] 28549\#0: reap children 2020/10/27 06:20:41 [debug] 28549\#0: child: 0 29411 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() |
==29432== Invalid read of size 4 ==29432== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29432== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29432== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29432== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29432== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29432== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29432== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29432== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29432== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29432== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29432== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29432== by 0x8065F8B: main (nginx.c:385) ==29432== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29432== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() |
==29432== ==29432== Process terminating with default action of signal 11 (SIGSEGV) ==29432== Access not within mapped region at address 0x0 ==29432== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29432== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29432== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29432== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29432== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29432== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29432== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29432== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29432== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29432== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29432== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29432== by 0x8065F8B: main (nginx.c:385) ==29432== If you believe this happened as a result of a stack ==29432== overflow in your program's main thread (unlikely but ==29432== possible), you can try to increase the size of the ==29432== main thread stack using the --main-stacksize= flag. ==29432== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:41 [alert] 28549\#0: worker process 29411 exited on signal 11" (req 1) |
2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:41 [debug] 28549\#0: reap children 2020/10/27 06:20:41 [debug] 28549\#0: child: 0 29411 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:20:41 [debug] 28549\#0: channel 3:4 2020/10/27 06:20:41 [notice] 28549\#0: start worker process 29432 ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:20:41 [alert] 28549\#0: worker process 29432 exited on signal 11" (req 1) |
2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:20:41 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:20:41 [debug] 28549\#0: reap children 2020/10/27 06:20:41 [debug] 28549\#0: child: 0 29432 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 12: set a string value |
==29445== Invalid read of size 4 ==29445== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29445== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29445== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29445== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29445== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29445== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29445== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29445== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29445== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29445== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29445== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29445== by 0x8065F8B: main (nginx.c:385) ==29445== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29445== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 12: set a string value |
==29445== ==29445== Process terminating with default action of signal 11 (SIGSEGV) ==29445== Access not within mapped region at address 0x0 ==29445== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29445== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29445== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29445== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29445== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29445== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29445== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29445== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29445== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29445== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29445== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29445== by 0x8065F8B: main (nginx.c:385) ==29445== If you believe this happened as a result of a stack ==29445== overflow in your program's main thread (unlikely but ==29445== possible), you can try to increase the size of the ==29445== main thread stack using the --main-stacksize= flag. ==29445== The main thread stack size used in this run was 8388608. ==29445== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29445== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29445== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29445== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29445== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29445== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29445== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29445== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29445== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==29445== by 0x409BAA4: lj_record_idx (lj_record.c:1419) ==29445== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29445== by 0x40BB16A: trace_state (lj_trace.c:680) ==29445== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29445== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29445== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29445== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29445== by 0x407FA29: lua_resume (lj_api.c:1296) ==29445== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29445== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29445== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29445== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29445== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29445== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29445== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29445== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29445== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29445== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29445== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29445== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29445== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29445== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29445== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29445== by 0x8065F8B: main (nginx.c:385) ==29445== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 12: set a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 12: set a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 12: set a string value |
==29466== Invalid read of size 4 ==29466== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29466== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29466== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29466== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29466== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29466== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29466== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29466== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29466== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29466== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29466== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29466== by 0x8065F8B: main (nginx.c:385) ==29466== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29466== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 12: set a string value |
==29466== ==29466== Process terminating with default action of signal 11 (SIGSEGV) ==29466== Access not within mapped region at address 0x0 ==29466== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29466== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29466== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29466== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29466== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29466== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29466== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29466== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29466== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29466== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29466== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29466== by 0x8065F8B: main (nginx.c:385) ==29466== If you believe this happened as a result of a stack ==29466== overflow in your program's main thread (unlikely but ==29466== possible), you can try to increase the size of the ==29466== main thread stack using the --main-stacksize= flag. ==29466== The main thread stack size used in this run was 8388608. ==29466== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29466== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29466== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29466== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29466== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29466== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29466== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29466== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29466== by 0x4099F4D: rec_mm_prep (lj_record.c:961) ==29466== by 0x409BAA4: lj_record_idx (lj_record.c:1419) ==29466== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29466== by 0x40BB16A: trace_state (lj_trace.c:680) ==29466== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29466== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29466== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29466== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29466== by 0x407FA29: lua_resume (lj_api.c:1296) ==29466== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29466== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29466== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29466== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29466== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29466== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29466== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29466== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29466== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29466== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29466== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29466== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29466== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29466== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29466== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29466== by 0x8065F8B: main (nginx.c:385) ==29466== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:rec_mm_prep fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 12: set a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 12: set a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 8: get_stale (false) |
==29481== Invalid read of size 4 ==29481== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29481== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29481== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29481== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29481== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29481== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29481== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29481== by 0x8065F8B: main (nginx.c:385) ==29481== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29481== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 8: get_stale (false) |
==29481== ==29481== Process terminating with default action of signal 11 (SIGSEGV) ==29481== Access not within mapped region at address 0x0 ==29481== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29481== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29481== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29481== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29481== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29481== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29481== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29481== by 0x8065F8B: main (nginx.c:385) ==29481== If you believe this happened as a result of a stack ==29481== overflow in your program's main thread (unlikely but ==29481== possible), you can try to increase the size of the ==29481== main thread stack using the --main-stacksize= flag. ==29481== The main thread stack size used in this run was 8388608. ==29481== 2,048 bytes in 1 blocks are definitely lost in loss record 3,122 of 3,185 ==29481== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29481== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29481== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29481== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29481== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29481== by 0x408A511: ir_nextk (lj_ir.c:175) ==29481== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29481== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29481== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29481== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29481== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29481== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29481== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29481== by 0x40BB16A: trace_state (lj_trace.c:680) ==29481== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29481== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29481== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29481== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29481== by 0x407FA29: lua_resume (lj_api.c:1296) ==29481== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29481== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29481== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29481== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29481== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29481== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29481== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29481== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29481== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29481== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29481== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29481== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29481== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29481== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29481== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29481== by 0x8065F8B: main (nginx.c:385) ==29481== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 8: get_stale (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 8: get_stale (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: false ' |
stream/shdict.t | TEST 8: get_stale (false) |
==29502== Invalid read of size 4 ==29502== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29502== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29502== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29502== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29502== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29502== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29502== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29502== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29502== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29502== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29502== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29502== by 0x8065F8B: main (nginx.c:385) ==29502== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29502== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 8: get_stale (false) |
==29502== ==29502== Process terminating with default action of signal 11 (SIGSEGV) ==29502== Access not within mapped region at address 0x0 ==29502== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29502== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29502== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29502== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29502== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29502== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29502== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29502== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29502== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29502== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29502== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29502== by 0x8065F8B: main (nginx.c:385) ==29502== If you believe this happened as a result of a stack ==29502== overflow in your program's main thread (unlikely but ==29502== possible), you can try to increase the size of the ==29502== main thread stack using the --main-stacksize= flag. ==29502== The main thread stack size used in this run was 8388608. ==29502== 2,048 bytes in 1 blocks are definitely lost in loss record 3,122 of 3,185 ==29502== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29502== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29502== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29502== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29502== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29502== by 0x408A511: ir_nextk (lj_ir.c:175) ==29502== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29502== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29502== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29502== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29502== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29502== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29502== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29502== by 0x40BB16A: trace_state (lj_trace.c:680) ==29502== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29502== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29502== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29502== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29502== by 0x407FA29: lua_resume (lj_api.c:1296) ==29502== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29502== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29502== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29502== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29502== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29502== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29502== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29502== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29502== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29502== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29502== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29502== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29502== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29502== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29502== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29502== by 0x8065F8B: main (nginx.c:385) ==29502== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 8: get_stale (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 8: get_stale (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: false ' |
stream/shdict.t | TEST 13: set a boolean value (true) |
==29515== Invalid read of size 4 ==29515== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29515== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29515== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29515== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29515== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29515== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29515== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29515== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29515== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29515== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29515== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29515== by 0x8065F8B: main (nginx.c:385) ==29515== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29515== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 13: set a boolean value (true) |
==29515== ==29515== Process terminating with default action of signal 11 (SIGSEGV) ==29515== Access not within mapped region at address 0x0 ==29515== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29515== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29515== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29515== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29515== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29515== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29515== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29515== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29515== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29515== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29515== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29515== by 0x8065F8B: main (nginx.c:385) ==29515== If you believe this happened as a result of a stack ==29515== overflow in your program's main thread (unlikely but ==29515== possible), you can try to increase the size of the ==29515== main thread stack using the --main-stacksize= flag. ==29515== The main thread stack size used in this run was 8388608. ==29515== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29515== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29515== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29515== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29515== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29515== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29515== by 0x408A511: ir_nextk (lj_ir.c:175) ==29515== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29515== by 0x40A5FEB: recff_cdata_index (lj_crecord.c:838) ==29515== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29515== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29515== by 0x40BB16A: trace_state (lj_trace.c:680) ==29515== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29515== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29515== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29515== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29515== by 0x407FA29: lua_resume (lj_api.c:1296) ==29515== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29515== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29515== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29515== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29515== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29515== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29515== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29515== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29515== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29515== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29515== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29515== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29515== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29515== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29515== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29515== by 0x8065F8B: main (nginx.c:385) ==29515== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 13: set a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 13: set a boolean value (true) |
==29536== Invalid read of size 4 ==29536== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29536== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29536== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29536== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29536== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29536== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29536== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29536== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29536== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29536== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29536== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29536== by 0x8065F8B: main (nginx.c:385) ==29536== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29536== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 13: set a boolean value (true) |
==29536== ==29536== Process terminating with default action of signal 11 (SIGSEGV) ==29536== Access not within mapped region at address 0x0 ==29536== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29536== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29536== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29536== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29536== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29536== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29536== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29536== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29536== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29536== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29536== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29536== by 0x8065F8B: main (nginx.c:385) ==29536== If you believe this happened as a result of a stack ==29536== overflow in your program's main thread (unlikely but ==29536== possible), you can try to increase the size of the ==29536== main thread stack using the --main-stacksize= flag. ==29536== The main thread stack size used in this run was 8388608. ==29536== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29536== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29536== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29536== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29536== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29536== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29536== by 0x408A511: ir_nextk (lj_ir.c:175) ==29536== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29536== by 0x40A5FEB: recff_cdata_index (lj_crecord.c:838) ==29536== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29536== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29536== by 0x40BB16A: trace_state (lj_trace.c:680) ==29536== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29536== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29536== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29536== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29536== by 0x407FA29: lua_resume (lj_api.c:1296) ==29536== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29536== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29536== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29536== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29536== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29536== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29536== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29536== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29536== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29536== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29536== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29536== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29536== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29536== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29536== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29536== by 0x8065F8B: main (nginx.c:385) ==29536== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 13: set a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 3: get a boolean value (true) |
==29549== Invalid read of size 4 ==29549== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29549== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29549== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29549== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29549== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29549== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29549== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29549== by 0x8065F8B: main (nginx.c:385) ==29549== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29549== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 3: get a boolean value (true) |
==29549== ==29549== Process terminating with default action of signal 11 (SIGSEGV) ==29549== Access not within mapped region at address 0x0 ==29549== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29549== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29549== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29549== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29549== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29549== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29549== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29549== by 0x8065F8B: main (nginx.c:385) ==29549== If you believe this happened as a result of a stack ==29549== overflow in your program's main thread (unlikely but ==29549== possible), you can try to increase the size of the ==29549== main thread stack using the --main-stacksize= flag. ==29549== The main thread stack size used in this run was 8388608. ==29549== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,184 ==29549== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29549== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29549== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29549== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29549== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29549== by 0x408A511: ir_nextk (lj_ir.c:175) ==29549== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29549== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29549== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29549== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29549== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29549== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29549== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29549== by 0x40BB16A: trace_state (lj_trace.c:680) ==29549== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29549== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29549== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29549== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29549== by 0x407FA29: lua_resume (lj_api.c:1296) ==29549== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29549== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29549== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29549== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29549== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29549== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29549== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29549== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29549== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29549== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29549== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29549== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29549== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29549== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29549== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29549== by 0x8065F8B: main (nginx.c:385) ==29549== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 3: get a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 3: get a boolean value (true) |
==29570== Invalid read of size 4 ==29570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29570== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29570== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29570== by 0x8065F8B: main (nginx.c:385) ==29570== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 3: get a boolean value (true) |
==29570== ==29570== Process terminating with default action of signal 11 (SIGSEGV) ==29570== Access not within mapped region at address 0x0 ==29570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29570== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29570== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29570== by 0x8065F8B: main (nginx.c:385) ==29570== If you believe this happened as a result of a stack ==29570== overflow in your program's main thread (unlikely but ==29570== possible), you can try to increase the size of the ==29570== main thread stack using the --main-stacksize= flag. ==29570== The main thread stack size used in this run was 8388608. ==29570== 2,048 bytes in 1 blocks are definitely lost in loss record 3,121 of 3,184 ==29570== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29570== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29570== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29570== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29570== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29570== by 0x408A511: ir_nextk (lj_ir.c:175) ==29570== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29570== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29570== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29570== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29570== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29570== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29570== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29570== by 0x40BB16A: trace_state (lj_trace.c:680) ==29570== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29570== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29570== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29570== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29570== by 0x407FA29: lua_resume (lj_api.c:1296) ==29570== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29570== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29570== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29570== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29570== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29570== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29570== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29570== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29570== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29570== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29570== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29570== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29570== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29570== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29570== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29570== by 0x8065F8B: main (nginx.c:385) ==29570== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 3: get a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 30: incr, init is not number |
==29583== Invalid read of size 4 ==29583== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29583== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29583== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29583== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29583== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29583== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29583== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29583== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29583== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29583== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29583== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29583== by 0x8065F8B: main (nginx.c:385) ==29583== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29583== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 30: incr, init is not number |
==29583== ==29583== Process terminating with default action of signal 11 (SIGSEGV) ==29583== Access not within mapped region at address 0x0 ==29583== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29583== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29583== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29583== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29583== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29583== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29583== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29583== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29583== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29583== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29583== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29583== by 0x8065F8B: main (nginx.c:385) ==29583== If you believe this happened as a result of a stack ==29583== overflow in your program's main thread (unlikely but ==29583== possible), you can try to increase the size of the ==29583== main thread stack using the --main-stacksize= flag. ==29583== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 30: incr, init is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 30: incr, init is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:05 [alert] 28549\#0: worker process 29583 exited on signal 11" (req 0) |
2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:05 [debug] 28549\#0: reap children 2020/10/27 06:21:05 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:05 [debug] 28549\#0: child: 1 29583 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 30: incr, init is not number |
==29604== Invalid read of size 4 ==29604== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29604== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29604== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29604== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29604== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29604== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29604== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29604== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29604== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29604== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29604== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29604== by 0x8065F8B: main (nginx.c:385) ==29604== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29604== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 30: incr, init is not number |
==29604== ==29604== Process terminating with default action of signal 11 (SIGSEGV) ==29604== Access not within mapped region at address 0x0 ==29604== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29604== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29604== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29604== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29604== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29604== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29604== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29604== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29604== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29604== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29604== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29604== by 0x8065F8B: main (nginx.c:385) ==29604== If you believe this happened as a result of a stack ==29604== overflow in your program's main thread (unlikely but ==29604== possible), you can try to increase the size of the ==29604== main thread stack using the --main-stacksize= flag. ==29604== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 30: incr, init is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 30: incr, init is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:05 [alert] 28549\#0: worker process 29583 exited on signal 11" (req 1) |
2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:05 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:05 [debug] 28549\#0: reap children 2020/10/27 06:21:05 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:05 [debug] 28549\#0: child: 1 29583 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:21:05 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 30: incr, init is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:06 [alert] 28549\#0: worker process 29604 exited on signal 11" (req 1) |
2020/10/27 06:21:06 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:06 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:06 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:06 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:06 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:06 [debug] 28549\#0: reap children 2020/10/27 06:21:06 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:06 [debug] 28549\#0: child: 1 29604 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 22: set a number value and delete |
==29617== Invalid read of size 4 ==29617== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29617== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29617== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29617== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29617== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29617== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29617== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29617== by 0x8065F8B: main (nginx.c:385) ==29617== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29617== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 22: set a number value and delete |
==29617== ==29617== Process terminating with default action of signal 11 (SIGSEGV) ==29617== Access not within mapped region at address 0x0 ==29617== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29617== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29617== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29617== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29617== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29617== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29617== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29617== by 0x8065F8B: main (nginx.c:385) ==29617== If you believe this happened as a result of a stack ==29617== overflow in your program's main thread (unlikely but ==29617== possible), you can try to increase the size of the ==29617== main thread stack using the --main-stacksize= flag. ==29617== The main thread stack size used in this run was 8388608. ==29617== 2,048 bytes in 1 blocks are definitely lost in loss record 3,128 of 3,192 ==29617== at 0x402C768: realloc (vg_replace_malloc.c:834) ==29617== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29617== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29617== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==29617== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==29617== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==29617== by 0x409AA39: lj_record_objcmp (lj_record.c:242) ==29617== by 0x40A0354: lj_record_ins (lj_record.c:2181) ==29617== by 0x40BB16A: trace_state (lj_trace.c:680) ==29617== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29617== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29617== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29617== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29617== by 0x407FA29: lua_resume (lj_api.c:1296) ==29617== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29617== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29617== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29617== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29617== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29617== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29617== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29617== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29617== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29617== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29617== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29617== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29617== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29617== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29617== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29617== by 0x8065F8B: main (nginx.c:385) ==29617== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:lj_record_objcmp fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 22: set a number value and delete - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 22: set a number value and delete - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 22: set a number value and delete |
==29638== Invalid read of size 4 ==29638== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29638== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29638== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29638== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29638== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29638== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29638== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29638== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29638== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29638== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29638== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29638== by 0x8065F8B: main (nginx.c:385) ==29638== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29638== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 22: set a number value and delete |
==29638== ==29638== Process terminating with default action of signal 11 (SIGSEGV) ==29638== Access not within mapped region at address 0x0 ==29638== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29638== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29638== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29638== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29638== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29638== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29638== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29638== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29638== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29638== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29638== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29638== by 0x8065F8B: main (nginx.c:385) ==29638== If you believe this happened as a result of a stack ==29638== overflow in your program's main thread (unlikely but ==29638== possible), you can try to increase the size of the ==29638== main thread stack using the --main-stacksize= flag. ==29638== The main thread stack size used in this run was 8388608. ==29638== 2,048 bytes in 1 blocks are definitely lost in loss record 3,128 of 3,192 ==29638== at 0x402C768: realloc (vg_replace_malloc.c:834) ==29638== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29638== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29638== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==29638== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==29638== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==29638== by 0x409AA39: lj_record_objcmp (lj_record.c:242) ==29638== by 0x40A0354: lj_record_ins (lj_record.c:2181) ==29638== by 0x40BB16A: trace_state (lj_trace.c:680) ==29638== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29638== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29638== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29638== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29638== by 0x407FA29: lua_resume (lj_api.c:1296) ==29638== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29638== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29638== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29638== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29638== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29638== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29638== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29638== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29638== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29638== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29638== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29638== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29638== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29638== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29638== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29638== by 0x8065F8B: main (nginx.c:385) ==29638== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:lj_record_objcmp fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 22: set a number value and delete - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 22: set a number value and delete - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) |
==29652== Invalid read of size 4 ==29652== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29652== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29652== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29652== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29652== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29652== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29652== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29652== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29652== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29652== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29652== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29652== by 0x8065F8B: main (nginx.c:385) ==29652== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29652== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 32: free_space, empty (16k zone) |
==29652== ==29652== Process terminating with default action of signal 11 (SIGSEGV) ==29652== Access not within mapped region at address 0x0 ==29652== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29652== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29652== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29652== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29652== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29652== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29652== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29652== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29652== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29652== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29652== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29652== by 0x8065F8B: main (nginx.c:385) ==29652== If you believe this happened as a result of a stack ==29652== overflow in your program's main thread (unlikely but ==29652== possible), you can try to increase the size of the ==29652== main thread stack using the --main-stacksize= flag. ==29652== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:15 [alert] 28549\#0: worker process 29652 exited on signal 11" (req 0) |
2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:15 [debug] 28549\#0: reap children 2020/10/27 06:21:15 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:15 [debug] 28549\#0: child: 1 29652 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) |
==29674== Invalid read of size 4 ==29674== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29674== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29674== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29674== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29674== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29674== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29674== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29674== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29674== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29674== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29674== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29674== by 0x8065F8B: main (nginx.c:385) ==29674== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29674== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 32: free_space, empty (16k zone) |
==29674== ==29674== Process terminating with default action of signal 11 (SIGSEGV) ==29674== Access not within mapped region at address 0x0 ==29674== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29674== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29674== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29674== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29674== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29674== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29674== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29674== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29674== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29674== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29674== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29674== by 0x8065F8B: main (nginx.c:385) ==29674== If you believe this happened as a result of a stack ==29674== overflow in your program's main thread (unlikely but ==29674== possible), you can try to increase the size of the ==29674== main thread stack using the --main-stacksize= flag. ==29674== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:15 [alert] 28549\#0: worker process 29652 exited on signal 11" (req 1) |
2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:15 [debug] 28549\#0: reap children 2020/10/27 06:21:15 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:15 [debug] 28549\#0: child: 1 29652 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:21:15 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:15 [alert] 28549\#0: worker process 29674 exited on signal 11" (req 1) |
2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:15 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:15 [debug] 28549\#0: reap children 2020/10/27 06:21:15 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:15 [debug] 28549\#0: child: 1 29674 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 10: incr int |
==29687== Invalid read of size 4 ==29687== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29687== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29687== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29687== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29687== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29687== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29687== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29687== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29687== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29687== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29687== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29687== by 0x8065F8B: main (nginx.c:385) ==29687== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29687== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 10: incr int |
==29687== ==29687== Process terminating with default action of signal 11 (SIGSEGV) ==29687== Access not within mapped region at address 0x0 ==29687== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29687== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29687== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29687== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29687== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29687== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29687== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29687== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29687== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29687== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29687== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29687== by 0x8065F8B: main (nginx.c:385) ==29687== If you believe this happened as a result of a stack ==29687== overflow in your program's main thread (unlikely but ==29687== possible), you can try to increase the size of the ==29687== main thread stack using the --main-stacksize= flag. ==29687== The main thread stack size used in this run was 8388608. ==29687== 2,048 bytes in 1 blocks are definitely lost in loss record 3,125 of 3,187 ==29687== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29687== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29687== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29687== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29687== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29687== by 0x408A6B5: ir_nextk64 (lj_ir.c:187) ==29687== by 0x408A6B5: lj_ir_k64 (lj_ir.c:226) ==29687== by 0x408A726: lj_ir_knum_u64 (lj_ir.c:241) ==29687== by 0x408DF64: lj_ir_knum (lj_iropt.h:63) ==29687== by 0x408DF64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==29687== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29687== by 0x40A453C: crec_ct_ct (lj_crecord.c:465) ==29687== by 0x40A453C: crec_ct_tv (lj_crecord.c:691) ==29687== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29687== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29687== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29687== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29687== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29687== by 0x40BB16A: trace_state (lj_trace.c:680) ==29687== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29687== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29687== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29687== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29687== by 0x407FA29: lua_resume (lj_api.c:1296) ==29687== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29687== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29687== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29687== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29687== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29687== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29687== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29687== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29687== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29687== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29687== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29687== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29687== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29687== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29687== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29687== by 0x8065F8B: main (nginx.c:385) ==29687== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk64 fun:lj_ir_k64 fun:lj_ir_knum_u64 fun:lj_ir_knum fun:fold_kfold_conv_kint_num fun:lj_opt_fold fun:crec_ct_ct fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 10: incr int - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 10: incr int - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -value: 256 -err: nil ' |
stream/shdict.t | TEST 10: incr int |
==29708== Invalid read of size 4 ==29708== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29708== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29708== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29708== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29708== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29708== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29708== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29708== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29708== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29708== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29708== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29708== by 0x8065F8B: main (nginx.c:385) ==29708== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 10: incr int |
==29708== ==29708== Process terminating with default action of signal 11 (SIGSEGV) ==29708== Access not within mapped region at address 0x0 ==29708== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29708== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29708== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29708== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29708== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29708== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29708== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29708== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29708== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29708== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29708== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29708== by 0x8065F8B: main (nginx.c:385) ==29708== If you believe this happened as a result of a stack ==29708== overflow in your program's main thread (unlikely but ==29708== possible), you can try to increase the size of the ==29708== main thread stack using the --main-stacksize= flag. ==29708== The main thread stack size used in this run was 8388608. ==29708== 2,048 bytes in 1 blocks are definitely lost in loss record 3,125 of 3,187 ==29708== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29708== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29708== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29708== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29708== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29708== by 0x408A6B5: ir_nextk64 (lj_ir.c:187) ==29708== by 0x408A6B5: lj_ir_k64 (lj_ir.c:226) ==29708== by 0x408A726: lj_ir_knum_u64 (lj_ir.c:241) ==29708== by 0x408DF64: lj_ir_knum (lj_iropt.h:63) ==29708== by 0x408DF64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==29708== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29708== by 0x40A453C: crec_ct_ct (lj_crecord.c:465) ==29708== by 0x40A453C: crec_ct_tv (lj_crecord.c:691) ==29708== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29708== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29708== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29708== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29708== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29708== by 0x40BB16A: trace_state (lj_trace.c:680) ==29708== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29708== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29708== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29708== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29708== by 0x407FA29: lua_resume (lj_api.c:1296) ==29708== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29708== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29708== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29708== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29708== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29708== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29708== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29708== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29708== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29708== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29708== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29708== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29708== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29708== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29708== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29708== by 0x8065F8B: main (nginx.c:385) ==29708== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk64 fun:lj_ir_k64 fun:lj_ir_knum_u64 fun:lj_ir_knum fun:fold_kfold_conv_kint_num fun:lj_opt_fold fun:crec_ct_ct fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 10: incr int - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 10: incr int - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -value: 256 -err: nil ' |
stream/shdict.t | TEST 9: get_stale (true) |
==29721== Invalid read of size 4 ==29721== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29721== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29721== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29721== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29721== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29721== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29721== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29721== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29721== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29721== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29721== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29721== by 0x8065F8B: main (nginx.c:385) ==29721== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29721== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 9: get_stale (true) |
==29721== ==29721== Process terminating with default action of signal 11 (SIGSEGV) ==29721== Access not within mapped region at address 0x0 ==29721== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29721== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29721== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29721== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29721== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29721== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29721== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29721== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29721== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29721== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29721== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29721== by 0x8065F8B: main (nginx.c:385) ==29721== If you believe this happened as a result of a stack ==29721== overflow in your program's main thread (unlikely but ==29721== possible), you can try to increase the size of the ==29721== main thread stack using the --main-stacksize= flag. ==29721== The main thread stack size used in this run was 8388608. ==29721== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,189 ==29721== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29721== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29721== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29721== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29721== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29721== by 0x408A511: ir_nextk (lj_ir.c:175) ==29721== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29721== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29721== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29721== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29721== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29721== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29721== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29721== by 0x40BB16A: trace_state (lj_trace.c:680) ==29721== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29721== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29721== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29721== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29721== by 0x407FA29: lua_resume (lj_api.c:1296) ==29721== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29721== by 0x818ED1A: ngx_stream_lua_sleep_resume (ngx_stream_lua_sleep.c:206) ==29721== by 0x818EE41: ngx_stream_lua_sleep_handler (ngx_stream_lua_sleep.c:145) ==29721== by 0x80858DB: ngx_event_expire_timers (ngx_event_timer.c:94) ==29721== by 0x80853A3: ngx_process_events_and_timers (ngx_event.c:271) ==29721== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29721== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29721== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29721== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29721== by 0x8065F8B: main (nginx.c:385) ==29721== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_sleep_resume fun:ngx_stream_lua_sleep_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 9: get_stale (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 9: get_stale (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: true ' |
stream/shdict.t | TEST 9: get_stale (true) |
==29742== Invalid read of size 4 ==29742== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29742== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29742== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29742== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29742== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29742== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29742== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29742== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29742== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29742== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29742== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29742== by 0x8065F8B: main (nginx.c:385) ==29742== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29742== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 9: get_stale (true) |
==29742== ==29742== Process terminating with default action of signal 11 (SIGSEGV) ==29742== Access not within mapped region at address 0x0 ==29742== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29742== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29742== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29742== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29742== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29742== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29742== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29742== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29742== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29742== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29742== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29742== by 0x8065F8B: main (nginx.c:385) ==29742== If you believe this happened as a result of a stack ==29742== overflow in your program's main thread (unlikely but ==29742== possible), you can try to increase the size of the ==29742== main thread stack using the --main-stacksize= flag. ==29742== The main thread stack size used in this run was 8388608. ==29742== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,189 ==29742== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29742== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29742== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29742== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29742== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29742== by 0x408A511: ir_nextk (lj_ir.c:175) ==29742== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29742== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29742== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29742== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29742== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29742== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29742== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29742== by 0x40BB16A: trace_state (lj_trace.c:680) ==29742== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29742== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29742== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29742== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29742== by 0x407FA29: lua_resume (lj_api.c:1296) ==29742== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29742== by 0x818ED1A: ngx_stream_lua_sleep_resume (ngx_stream_lua_sleep.c:206) ==29742== by 0x818EE41: ngx_stream_lua_sleep_handler (ngx_stream_lua_sleep.c:145) ==29742== by 0x80858DB: ngx_event_expire_timers (ngx_event_timer.c:94) ==29742== by 0x80853A3: ngx_process_events_and_timers (ngx_event.c:271) ==29742== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29742== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29742== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29742== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29742== by 0x8065F8B: main (nginx.c:385) ==29742== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_sleep_resume fun:ngx_stream_lua_sleep_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 9: get_stale (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 9: get_stale (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: true ' |
stream/shdict.t | TEST 35: free_space, about half full, no page left |
==29755== Invalid read of size 4 ==29755== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29755== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29755== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29755== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29755== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29755== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29755== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29755== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29755== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29755== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29755== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29755== by 0x8065F8B: main (nginx.c:385) ==29755== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29755== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 35: free_space, about half full, no page left |
==29755== ==29755== Process terminating with default action of signal 11 (SIGSEGV) ==29755== Access not within mapped region at address 0x0 ==29755== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29755== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29755== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29755== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29755== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29755== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29755== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29755== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29755== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29755== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29755== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29755== by 0x8065F8B: main (nginx.c:385) ==29755== If you believe this happened as a result of a stack ==29755== overflow in your program's main thread (unlikely but ==29755== possible), you can try to increase the size of the ==29755== main thread stack using the --main-stacksize= flag. ==29755== The main thread stack size used in this run was 8388608. ==29755== 4,096 bytes in 1 blocks are definitely lost in loss record 3,167 of 3,194 ==29755== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29755== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29755== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29755== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29755== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29755== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29755== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29755== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29755== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29755== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29755== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29755== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29755== by 0x40BB16A: trace_state (lj_trace.c:680) ==29755== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29755== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29755== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29755== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29755== by 0x407FA29: lua_resume (lj_api.c:1296) ==29755== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29755== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29755== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29755== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29755== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29755== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29755== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29755== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29755== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29755== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29755== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29755== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29755== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29755== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29755== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29755== by 0x8065F8B: main (nginx.c:385) ==29755== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 35: free_space, about half full, no page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:0|4096) \z)' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:30 [alert] 28549\#0: worker process 29755 exited on signal 11" (req 0) |
2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:30 [debug] 28549\#0: reap children 2020/10/27 06:21:30 [debug] 28549\#0: child: 0 29755 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 35: free_space, about half full, no page left |
==29776== Invalid read of size 4 ==29776== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29776== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29776== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29776== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29776== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29776== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29776== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29776== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29776== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29776== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29776== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29776== by 0x8065F8B: main (nginx.c:385) ==29776== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29776== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 35: free_space, about half full, no page left |
==29776== ==29776== Process terminating with default action of signal 11 (SIGSEGV) ==29776== Access not within mapped region at address 0x0 ==29776== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29776== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29776== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29776== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29776== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29776== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29776== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29776== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29776== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29776== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29776== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29776== by 0x8065F8B: main (nginx.c:385) ==29776== If you believe this happened as a result of a stack ==29776== overflow in your program's main thread (unlikely but ==29776== possible), you can try to increase the size of the ==29776== main thread stack using the --main-stacksize= flag. ==29776== The main thread stack size used in this run was 8388608. ==29776== 4,096 bytes in 1 blocks are definitely lost in loss record 3,167 of 3,194 ==29776== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29776== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29776== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29776== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29776== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29776== by 0x408AA0C: ir_nextk (lj_ir.c:175) ==29776== by 0x408AA0C: lj_ir_kptr_ (lj_ir.c:326) ==29776== by 0x408E504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==29776== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29776== by 0x40A6029: recff_cdata_index (lj_crecord.c:839) ==29776== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29776== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29776== by 0x40BB16A: trace_state (lj_trace.c:680) ==29776== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29776== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29776== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29776== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29776== by 0x407FA29: lua_resume (lj_api.c:1296) ==29776== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29776== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29776== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29776== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29776== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29776== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29776== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29776== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29776== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29776== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29776== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29776== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29776== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29776== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29776== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29776== by 0x8065F8B: main (nginx.c:385) ==29776== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kptr_ fun:fold_kfold_add_kgc fun:lj_opt_fold fun:recff_cdata_index fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 35: free_space, about half full, no page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:0|4096) \z)' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:30 [alert] 28549\#0: worker process 29755 exited on signal 11" (req 1) |
2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:30 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:30 [debug] 28549\#0: reap children 2020/10/27 06:21:30 [debug] 28549\#0: child: 0 29755 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:21:30 [debug] 28549\#0: channel 3:4 2020/10/27 06:21:30 [notice] 28549\#0: start worker process 29776 ' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:31 [alert] 28549\#0: worker process 29776 exited on signal 11" (req 1) |
2020/10/27 06:21:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:31 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:31 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:31 [debug] 28549\#0: reap children 2020/10/27 06:21:31 [debug] 28549\#0: child: 0 29776 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left |
==29789== Invalid read of size 4 ==29789== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29789== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29789== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29789== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29789== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29789== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29789== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29789== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29789== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29789== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29789== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29789== by 0x8065F8B: main (nginx.c:385) ==29789== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29789== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 34: free_space, about half full, one page left |
==29789== ==29789== Process terminating with default action of signal 11 (SIGSEGV) ==29789== Access not within mapped region at address 0x0 ==29789== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29789== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29789== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29789== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29789== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29789== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29789== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29789== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29789== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29789== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29789== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29789== by 0x8065F8B: main (nginx.c:385) ==29789== If you believe this happened as a result of a stack ==29789== overflow in your program's main thread (unlikely but ==29789== possible), you can try to increase the size of the ==29789== main thread stack using the --main-stacksize= flag. ==29789== The main thread stack size used in this run was 8388608. ==29789== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29789== at 0x402C768: realloc (vg_replace_malloc.c:834) ==29789== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29789== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29789== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==29789== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==29789== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==29789== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==29789== by 0x40A7386: crec_call (lj_crecord.c:1231) ==29789== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==29789== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29789== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29789== by 0x40BB16A: trace_state (lj_trace.c:680) ==29789== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29789== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29789== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29789== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29789== by 0x407FA29: lua_resume (lj_api.c:1296) ==29789== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29789== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29789== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29789== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29789== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29789== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29789== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29789== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29789== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29789== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29789== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29789== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29789== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29789== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29789== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29789== by 0x8065F8B: main (nginx.c:385) ==29789== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 34: free_space, about half full, one page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:35 [alert] 28549\#0: worker process 29789 exited on signal 11" (req 0) |
2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:35 [debug] 28549\#0: reap children 2020/10/27 06:21:35 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:35 [debug] 28549\#0: child: 1 29789 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left |
==29810== Invalid read of size 4 ==29810== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29810== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29810== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29810== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29810== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29810== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29810== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29810== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29810== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29810== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29810== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29810== by 0x8065F8B: main (nginx.c:385) ==29810== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29810== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 34: free_space, about half full, one page left |
==29810== ==29810== Process terminating with default action of signal 11 (SIGSEGV) ==29810== Access not within mapped region at address 0x0 ==29810== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29810== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29810== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29810== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29810== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29810== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29810== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29810== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29810== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29810== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29810== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29810== by 0x8065F8B: main (nginx.c:385) ==29810== If you believe this happened as a result of a stack ==29810== overflow in your program's main thread (unlikely but ==29810== possible), you can try to increase the size of the ==29810== main thread stack using the --main-stacksize= flag. ==29810== The main thread stack size used in this run was 8388608. ==29810== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29810== at 0x402C768: realloc (vg_replace_malloc.c:834) ==29810== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29810== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29810== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==29810== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==29810== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==29810== by 0x40A7386: crec_call_args (lj_crecord.c:1171) ==29810== by 0x40A7386: crec_call (lj_crecord.c:1231) ==29810== by 0x40A7386: recff_cdata_call (lj_crecord.c:1277) ==29810== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29810== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29810== by 0x40BB16A: trace_state (lj_trace.c:680) ==29810== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29810== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29810== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29810== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29810== by 0x407FA29: lua_resume (lj_api.c:1296) ==29810== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29810== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29810== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29810== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29810== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29810== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29810== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29810== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29810== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29810== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29810== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29810== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29810== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29810== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29810== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29810== by 0x8065F8B: main (nginx.c:385) ==29810== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 34: free_space, about half full, one page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:35 [alert] 28549\#0: worker process 29789 exited on signal 11" (req 1) |
2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:35 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:35 [debug] 28549\#0: reap children 2020/10/27 06:21:35 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:35 [debug] 28549\#0: child: 1 29789 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:21:35 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:21:36 [alert] 28549\#0: worker process 29810 exited on signal 11" (req 1) |
2020/10/27 06:21:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:36 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:21:36 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:21:36 [debug] 28549\#0: reap children 2020/10/27 06:21:36 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:21:36 [debug] 28549\#0: child: 1 29810 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 21: replace a string value |
==29823== Invalid read of size 4 ==29823== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29823== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29823== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29823== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29823== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29823== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29823== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29823== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29823== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29823== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29823== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29823== by 0x8065F8B: main (nginx.c:385) ==29823== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29823== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 21: replace a string value |
==29823== ==29823== Process terminating with default action of signal 11 (SIGSEGV) ==29823== Access not within mapped region at address 0x0 ==29823== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29823== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29823== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29823== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29823== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29823== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29823== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29823== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29823== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29823== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29823== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29823== by 0x8065F8B: main (nginx.c:385) ==29823== If you believe this happened as a result of a stack ==29823== overflow in your program's main thread (unlikely but ==29823== possible), you can try to increase the size of the ==29823== main thread stack using the --main-stacksize= flag. ==29823== The main thread stack size used in this run was 8388608. ==29823== 2,048 bytes in 1 blocks are definitely lost in loss record 3,126 of 3,189 ==29823== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29823== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29823== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29823== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29823== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29823== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==29823== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==29823== by 0x409C767: lj_record_mm_lookup (lj_record.c:999) ==29823== by 0x409B444: lj_record_idx (lj_record.c:1415) ==29823== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29823== by 0x40BB16A: trace_state (lj_trace.c:680) ==29823== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29823== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29823== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29823== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29823== by 0x407FA29: lua_resume (lj_api.c:1296) ==29823== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29823== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29823== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29823== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29823== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29823== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29823== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29823== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29823== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29823== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29823== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29823== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29823== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29823== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29823== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29823== by 0x8065F8B: main (nginx.c:385) ==29823== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_mm_lookup fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 21: replace a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 21: replace a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar100 -flags: 72 ' |
stream/shdict.t | TEST 21: replace a string value |
==29846== Invalid read of size 4 ==29846== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29846== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29846== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29846== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29846== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29846== by 0x8065F8B: main (nginx.c:385) ==29846== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 21: replace a string value |
==29846== ==29846== Process terminating with default action of signal 11 (SIGSEGV) ==29846== Access not within mapped region at address 0x0 ==29846== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29846== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29846== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29846== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29846== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29846== by 0x8065F8B: main (nginx.c:385) ==29846== If you believe this happened as a result of a stack ==29846== overflow in your program's main thread (unlikely but ==29846== possible), you can try to increase the size of the ==29846== main thread stack using the --main-stacksize= flag. ==29846== The main thread stack size used in this run was 8388608. ==29846== 2,048 bytes in 1 blocks are definitely lost in loss record 3,126 of 3,189 ==29846== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29846== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29846== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29846== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29846== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29846== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==29846== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==29846== by 0x409C767: lj_record_mm_lookup (lj_record.c:999) ==29846== by 0x409B444: lj_record_idx (lj_record.c:1415) ==29846== by 0x409F552: lj_record_ins (lj_record.c:2339) ==29846== by 0x40BB16A: trace_state (lj_trace.c:680) ==29846== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29846== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29846== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29846== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29846== by 0x407FA29: lua_resume (lj_api.c:1296) ==29846== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29846== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29846== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29846== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29846== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29846== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29846== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29846== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29846== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29846== by 0x8065F8B: main (nginx.c:385) ==29846== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_mm_lookup fun:lj_record_idx fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 21: replace a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 21: replace a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar100 -flags: 72 ' |
stream/shdict.t | TEST 2: get an nonexistent key |
==29859== Invalid read of size 4 ==29859== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29859== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29859== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29859== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29859== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29859== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29859== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29859== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29859== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29859== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29859== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29859== by 0x8065F8B: main (nginx.c:385) ==29859== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29859== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 2: get an nonexistent key |
==29859== ==29859== Process terminating with default action of signal 11 (SIGSEGV) ==29859== Access not within mapped region at address 0x0 ==29859== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29859== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29859== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29859== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29859== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29859== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29859== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29859== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29859== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29859== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29859== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29859== by 0x8065F8B: main (nginx.c:385) ==29859== If you believe this happened as a result of a stack ==29859== overflow in your program's main thread (unlikely but ==29859== possible), you can try to increase the size of the ==29859== main thread stack using the --main-stacksize= flag. ==29859== The main thread stack size used in this run was 8388608. ==29859== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29859== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29859== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29859== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29859== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29859== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29859== by 0x408A511: ir_nextk (lj_ir.c:175) ==29859== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29859== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29859== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29859== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29859== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29859== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29859== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29859== by 0x40BB16A: trace_state (lj_trace.c:680) ==29859== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29859== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29859== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29859== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29859== by 0x407FA29: lua_resume (lj_api.c:1296) ==29859== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29859== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29859== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29859== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29859== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29859== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29859== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29859== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29859== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29859== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29859== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29859== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29859== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29859== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29859== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29859== by 0x8065F8B: main (nginx.c:385) ==29859== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 2: get an nonexistent key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 2: get an nonexistent key |
==29880== Invalid read of size 4 ==29880== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29880== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29880== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29880== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29880== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29880== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29880== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29880== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29880== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29880== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29880== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29880== by 0x8065F8B: main (nginx.c:385) ==29880== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29880== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 2: get an nonexistent key |
==29880== ==29880== Process terminating with default action of signal 11 (SIGSEGV) ==29880== Access not within mapped region at address 0x0 ==29880== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29880== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29880== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29880== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29880== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29880== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29880== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29880== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29880== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29880== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29880== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29880== by 0x8065F8B: main (nginx.c:385) ==29880== If you believe this happened as a result of a stack ==29880== overflow in your program's main thread (unlikely but ==29880== possible), you can try to increase the size of the ==29880== main thread stack using the --main-stacksize= flag. ==29880== The main thread stack size used in this run was 8388608. ==29880== 2,048 bytes in 1 blocks are definitely lost in loss record 3,129 of 3,192 ==29880== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29880== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29880== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29880== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29880== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29880== by 0x408A511: ir_nextk (lj_ir.c:175) ==29880== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29880== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29880== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29880== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29880== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29880== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29880== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29880== by 0x40BB16A: trace_state (lj_trace.c:680) ==29880== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29880== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29880== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29880== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29880== by 0x407FA29: lua_resume (lj_api.c:1296) ==29880== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29880== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29880== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29880== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29880== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29880== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29880== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29880== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29880== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29880== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29880== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29880== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29880== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29880== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29880== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29880== by 0x8065F8B: main (nginx.c:385) ==29880== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 2: get an nonexistent key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 20: safe add a string value |
==29893== Invalid read of size 4 ==29893== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29893== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29893== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29893== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29893== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29893== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29893== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29893== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29893== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29893== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29893== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29893== by 0x8065F8B: main (nginx.c:385) ==29893== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29893== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 20: safe add a string value |
==29893== ==29893== Process terminating with default action of signal 11 (SIGSEGV) ==29893== Access not within mapped region at address 0x0 ==29893== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29893== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29893== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29893== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29893== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29893== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29893== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29893== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29893== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29893== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29893== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29893== by 0x8065F8B: main (nginx.c:385) ==29893== If you believe this happened as a result of a stack ==29893== overflow in your program's main thread (unlikely but ==29893== possible), you can try to increase the size of the ==29893== main thread stack using the --main-stacksize= flag. ==29893== The main thread stack size used in this run was 8388608. ==29893== 2,048 bytes in 1 blocks are definitely lost in loss record 3,136 of 3,201 ==29893== at 0x402C768: realloc (vg_replace_malloc.c:834) ==29893== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29893== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29893== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==29893== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==29893== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==29893== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29893== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==29893== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==29893== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29893== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==29893== by 0x40BB675: trace_state (lj_trace.c:690) ==29893== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29893== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29893== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29893== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29893== by 0x407FA29: lua_resume (lj_api.c:1296) ==29893== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29893== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29893== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29893== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29893== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29893== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29893== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29893== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29893== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29893== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29893== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29893== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29893== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29893== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29893== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29893== by 0x8065F8B: main (nginx.c:385) ==29893== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 20: safe add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 20: safe add a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 20: safe add a string value |
==29914== Invalid read of size 4 ==29914== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29914== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29914== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29914== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29914== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29914== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29914== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29914== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29914== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29914== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29914== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29914== by 0x8065F8B: main (nginx.c:385) ==29914== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29914== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 20: safe add a string value |
==29914== ==29914== Process terminating with default action of signal 11 (SIGSEGV) ==29914== Access not within mapped region at address 0x0 ==29914== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29914== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29914== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29914== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29914== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29914== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29914== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29914== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29914== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29914== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29914== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29914== by 0x8065F8B: main (nginx.c:385) ==29914== If you believe this happened as a result of a stack ==29914== overflow in your program's main thread (unlikely but ==29914== possible), you can try to increase the size of the ==29914== main thread stack using the --main-stacksize= flag. ==29914== The main thread stack size used in this run was 8388608. ==29914== 2,048 bytes in 1 blocks are definitely lost in loss record 3,136 of 3,201 ==29914== at 0x402C768: realloc (vg_replace_malloc.c:834) ==29914== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29914== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29914== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==29914== by 0x408F5A6: lj_ir_nextins (lj_iropt.h:34) ==29914== by 0x408F5A6: lj_opt_cse (lj_opt_fold.c:2549) ==29914== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==29914== by 0x4093E81: loop_unroll (lj_opt_loop.c:329) ==29914== by 0x4093E81: cploop_opt (lj_opt_loop.c:409) ==29914== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29914== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==29914== by 0x40BB675: trace_state (lj_trace.c:690) ==29914== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29914== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29914== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==29914== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29914== by 0x407FA29: lua_resume (lj_api.c:1296) ==29914== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29914== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29914== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29914== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29914== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29914== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29914== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29914== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29914== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29914== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29914== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29914== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29914== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29914== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29914== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29914== by 0x8065F8B: main (nginx.c:385) ==29914== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_opt_cse fun:lj_opt_fold fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 20: safe add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 20: safe add a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 27: flush_all |
==29927== Invalid read of size 4 ==29927== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29927== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29927== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29927== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29927== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29927== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29927== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29927== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29927== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29927== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29927== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29927== by 0x8065F8B: main (nginx.c:385) ==29927== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29927== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 27: flush_all |
==29927== ==29927== Process terminating with default action of signal 11 (SIGSEGV) ==29927== Access not within mapped region at address 0x0 ==29927== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29927== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29927== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29927== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29927== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29927== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29927== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29927== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29927== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29927== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29927== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29927== by 0x8065F8B: main (nginx.c:385) ==29927== If you believe this happened as a result of a stack ==29927== overflow in your program's main thread (unlikely but ==29927== possible), you can try to increase the size of the ==29927== main thread stack using the --main-stacksize= flag. ==29927== The main thread stack size used in this run was 8388608. ==29927== 1,024 bytes in 1 blocks are definitely lost in loss record 3,073 of 3,189 ==29927== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29927== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29927== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29927== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29927== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29927== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==29927== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==29927== by 0x40AC5D9: recff_type (lj_ffrecord.c:204) ==29927== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29927== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29927== by 0x40BB16A: trace_state (lj_trace.c:680) ==29927== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29927== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29927== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29927== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29927== by 0x407FA29: lua_resume (lj_api.c:1296) ==29927== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29927== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29927== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29927== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29927== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29927== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29927== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29927== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29927== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29927== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29927== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29927== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29927== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29927== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29927== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29927== by 0x8065F8B: main (nginx.c:385) ==29927== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:recff_type fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 27: flush_all - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 27: flush_all - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 27: flush_all |
==29948== Invalid read of size 4 ==29948== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29948== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29948== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29948== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29948== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29948== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29948== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29948== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29948== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29948== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29948== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29948== by 0x8065F8B: main (nginx.c:385) ==29948== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29948== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 27: flush_all |
==29948== ==29948== Process terminating with default action of signal 11 (SIGSEGV) ==29948== Access not within mapped region at address 0x0 ==29948== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29948== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29948== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29948== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29948== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29948== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29948== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29948== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29948== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29948== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29948== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29948== by 0x8065F8B: main (nginx.c:385) ==29948== If you believe this happened as a result of a stack ==29948== overflow in your program's main thread (unlikely but ==29948== possible), you can try to increase the size of the ==29948== main thread stack using the --main-stacksize= flag. ==29948== The main thread stack size used in this run was 8388608. ==29948== 1,024 bytes in 1 blocks are definitely lost in loss record 3,073 of 3,189 ==29948== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29948== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29948== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29948== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29948== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29948== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==29948== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==29948== by 0x40AC5D9: recff_type (lj_ffrecord.c:204) ==29948== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29948== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29948== by 0x40BB16A: trace_state (lj_trace.c:680) ==29948== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29948== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29948== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29948== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29948== by 0x407FA29: lua_resume (lj_api.c:1296) ==29948== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29948== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29948== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29948== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29948== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29948== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29948== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29948== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29948== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29948== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29948== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29948== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29948== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29948== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29948== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29948== by 0x8065F8B: main (nginx.c:385) ==29948== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:recff_type fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 27: flush_all - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 27: flush_all - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) |
==29961== Invalid read of size 4 ==29961== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29961== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29961== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29961== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29961== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29961== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29961== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29961== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29961== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29961== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29961== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29961== by 0x8065F8B: main (nginx.c:385) ==29961== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29961== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 33: free_space, empty (100k zone) |
==29961== ==29961== Process terminating with default action of signal 11 (SIGSEGV) ==29961== Access not within mapped region at address 0x0 ==29961== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29961== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29961== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29961== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29961== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29961== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29961== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29961== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29961== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29961== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29961== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29961== by 0x8065F8B: main (nginx.c:385) ==29961== If you believe this happened as a result of a stack ==29961== overflow in your program's main thread (unlikely but ==29961== possible), you can try to increase the size of the ==29961== main thread stack using the --main-stacksize= flag. ==29961== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:90112|94208) \z)' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:00 [alert] 28549\#0: worker process 29961 exited on signal 11" (req 0) |
2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:00 [debug] 28549\#0: reap children 2020/10/27 06:22:00 [debug] 28549\#0: child: 0 29961 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) |
==29982== Invalid read of size 4 ==29982== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29982== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29982== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29982== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29982== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29982== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29982== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29982== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29982== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29982== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29982== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29982== by 0x8065F8B: main (nginx.c:385) ==29982== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29982== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 33: free_space, empty (100k zone) |
==29982== ==29982== Process terminating with default action of signal 11 (SIGSEGV) ==29982== Access not within mapped region at address 0x0 ==29982== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29982== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29982== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29982== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29982== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29982== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29982== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29982== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29982== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29982== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==29982== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==29982== by 0x8065F8B: main (nginx.c:385) ==29982== If you believe this happened as a result of a stack ==29982== overflow in your program's main thread (unlikely but ==29982== possible), you can try to increase the size of the ==29982== main thread stack using the --main-stacksize= flag. ==29982== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:90112|94208) \z)' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:00 [alert] 28549\#0: worker process 29961 exited on signal 11" (req 1) |
2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:00 [debug] 28549\#0: reap children 2020/10/27 06:22:00 [debug] 28549\#0: child: 0 29961 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:00 [debug] 28549\#0: channel 3:4 2020/10/27 06:22:00 [notice] 28549\#0: start worker process 29982 ' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:00 [alert] 28549\#0: worker process 29982 exited on signal 11" (req 1) |
2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:00 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:00 [debug] 28549\#0: reap children 2020/10/27 06:22:00 [debug] 28549\#0: child: 0 29982 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 7: get a large string value |
==29995== Invalid read of size 4 ==29995== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29995== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29995== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29995== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29995== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29995== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29995== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29995== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29995== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29995== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29995== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29995== by 0x8065F8B: main (nginx.c:385) ==29995== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29995== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 7: get a large string value |
==29995== ==29995== Process terminating with default action of signal 11 (SIGSEGV) ==29995== Access not within mapped region at address 0x0 ==29995== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==29995== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==29995== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==29995== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==29995== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==29995== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29995== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29995== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29995== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29995== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29995== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29995== by 0x8065F8B: main (nginx.c:385) ==29995== If you believe this happened as a result of a stack ==29995== overflow in your program's main thread (unlikely but ==29995== possible), you can try to increase the size of the ==29995== main thread stack using the --main-stacksize= flag. ==29995== The main thread stack size used in this run was 8388608. ==29995== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,192 ==29995== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==29995== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==29995== by 0x40CC146: mem_alloc (lib_aux.c:335) ==29995== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==29995== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==29995== by 0x408A511: ir_nextk (lj_ir.c:175) ==29995== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==29995== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==29995== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==29995== by 0x40A711A: crec_call (lj_crecord.c:1231) ==29995== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==29995== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==29995== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==29995== by 0x40BB16A: trace_state (lj_trace.c:680) ==29995== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29995== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==29995== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==29995== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==29995== by 0x407FA29: lua_resume (lj_api.c:1296) ==29995== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==29995== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==29995== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==29995== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==29995== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==29995== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==29995== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==29995== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==29995== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==29995== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==29995== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==29995== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==29995== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==29995== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==29995== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==29995== by 0x8065F8B: main (nginx.c:385) ==29995== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 7: get a large string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 7: get a large string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
stream/shdict.t | TEST 7: get a large string value |
==30018== Invalid read of size 4 ==30018== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30018== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30018== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30018== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30018== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30018== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30018== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30018== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30018== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30018== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30018== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30018== by 0x8065F8B: main (nginx.c:385) ==30018== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30018== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 7: get a large string value |
==30018== ==30018== Process terminating with default action of signal 11 (SIGSEGV) ==30018== Access not within mapped region at address 0x0 ==30018== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30018== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30018== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30018== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30018== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30018== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30018== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30018== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30018== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30018== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30018== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30018== by 0x8065F8B: main (nginx.c:385) ==30018== If you believe this happened as a result of a stack ==30018== overflow in your program's main thread (unlikely but ==30018== possible), you can try to increase the size of the ==30018== main thread stack using the --main-stacksize= flag. ==30018== The main thread stack size used in this run was 8388608. ==30018== 2,048 bytes in 1 blocks are definitely lost in loss record 3,127 of 3,192 ==30018== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==30018== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==30018== by 0x40CC146: mem_alloc (lib_aux.c:335) ==30018== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==30018== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==30018== by 0x408A511: ir_nextk (lj_ir.c:175) ==30018== by 0x408A511: lj_ir_kint (lj_ir.c:206) ==30018== by 0x40A4F4A: crec_ct_tv (lj_crecord.c:644) ==30018== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==30018== by 0x40A711A: crec_call (lj_crecord.c:1231) ==30018== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==30018== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==30018== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==30018== by 0x40BB16A: trace_state (lj_trace.c:680) ==30018== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30018== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==30018== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==30018== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30018== by 0x407FA29: lua_resume (lj_api.c:1296) ==30018== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==30018== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==30018== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==30018== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==30018== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==30018== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==30018== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==30018== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==30018== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==30018== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30018== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30018== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30018== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30018== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30018== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30018== by 0x8065F8B: main (nginx.c:385) ==30018== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 7: get a large string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 7: get a large string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
stream/shdict.t | TEST 17: set a number value and a nil |
==30031== Invalid read of size 4 ==30031== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30031== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30031== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30031== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30031== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30031== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30031== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30031== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30031== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30031== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30031== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30031== by 0x8065F8B: main (nginx.c:385) ==30031== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30031== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 17: set a number value and a nil |
==30031== ==30031== Process terminating with default action of signal 11 (SIGSEGV) ==30031== Access not within mapped region at address 0x0 ==30031== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30031== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30031== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30031== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30031== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30031== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30031== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30031== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30031== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30031== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30031== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30031== by 0x8065F8B: main (nginx.c:385) ==30031== If you believe this happened as a result of a stack ==30031== overflow in your program's main thread (unlikely but ==30031== possible), you can try to increase the size of the ==30031== main thread stack using the --main-stacksize= flag. ==30031== The main thread stack size used in this run was 8388608. ==30031== 2,048 bytes in 1 blocks are definitely lost in loss record 3,125 of 3,189 ==30031== at 0x402C768: realloc (vg_replace_malloc.c:834) ==30031== by 0x40CC146: mem_alloc (lib_aux.c:335) ==30031== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==30031== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==30031== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==30031== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==30031== by 0x4093C52: loop_unroll (lj_opt_loop.c:285) ==30031== by 0x4093C52: cploop_opt (lj_opt_loop.c:409) ==30031== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30031== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==30031== by 0x40BB675: trace_state (lj_trace.c:690) ==30031== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30031== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==30031== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==30031== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30031== by 0x407FA29: lua_resume (lj_api.c:1296) ==30031== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==30031== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==30031== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==30031== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==30031== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==30031== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==30031== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==30031== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==30031== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==30031== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30031== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30031== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30031== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30031== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30031== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30031== by 0x8065F8B: main (nginx.c:385) ==30031== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 17: set a number value and a nil - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 17: set a number value and a nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 17: set a number value and a nil |
==30052== Invalid read of size 4 ==30052== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30052== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30052== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30052== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30052== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30052== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30052== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30052== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30052== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30052== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30052== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30052== by 0x8065F8B: main (nginx.c:385) ==30052== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30052== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 17: set a number value and a nil |
==30052== ==30052== Process terminating with default action of signal 11 (SIGSEGV) ==30052== Access not within mapped region at address 0x0 ==30052== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30052== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30052== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30052== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30052== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30052== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30052== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30052== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30052== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30052== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30052== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30052== by 0x8065F8B: main (nginx.c:385) ==30052== If you believe this happened as a result of a stack ==30052== overflow in your program's main thread (unlikely but ==30052== possible), you can try to increase the size of the ==30052== main thread stack using the --main-stacksize= flag. ==30052== The main thread stack size used in this run was 8388608. ==30052== 2,048 bytes in 1 blocks are definitely lost in loss record 3,125 of 3,189 ==30052== at 0x402C768: realloc (vg_replace_malloc.c:834) ==30052== by 0x40CC146: mem_alloc (lib_aux.c:335) ==30052== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==30052== by 0x408A2A5: lj_ir_growtop (lj_ir.c:77) ==30052== by 0x408A321: lj_ir_nextins (lj_iropt.h:34) ==30052== by 0x408A321: lj_ir_emit (lj_ir.c:118) ==30052== by 0x4093C52: loop_unroll (lj_opt_loop.c:285) ==30052== by 0x4093C52: cploop_opt (lj_opt_loop.c:409) ==30052== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30052== by 0x4094781: lj_opt_loop (lj_opt_loop.c:424) ==30052== by 0x40BB675: trace_state (lj_trace.c:690) ==30052== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30052== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==30052== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==30052== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30052== by 0x407FA29: lua_resume (lj_api.c:1296) ==30052== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==30052== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==30052== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==30052== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==30052== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==30052== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==30052== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==30052== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==30052== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==30052== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30052== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30052== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30052== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30052== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30052== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30052== by 0x8065F8B: main (nginx.c:385) ==30052== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growtop fun:lj_ir_nextins fun:lj_ir_emit fun:loop_unroll fun:cploop_opt fun:lj_vm_cpcall fun:lj_opt_loop fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 17: set a number value and a nil - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 17: set a number value and a nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 11: incr double |
==30065== Invalid read of size 4 ==30065== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30065== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30065== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30065== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30065== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30065== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30065== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30065== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30065== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30065== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30065== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30065== by 0x8065F8B: main (nginx.c:385) ==30065== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30065== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 11: incr double |
==30065== ==30065== Process terminating with default action of signal 11 (SIGSEGV) ==30065== Access not within mapped region at address 0x0 ==30065== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30065== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30065== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30065== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30065== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30065== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30065== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30065== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30065== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30065== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30065== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30065== by 0x8065F8B: main (nginx.c:385) ==30065== If you believe this happened as a result of a stack ==30065== overflow in your program's main thread (unlikely but ==30065== possible), you can try to increase the size of the ==30065== main thread stack using the --main-stacksize= flag. ==30065== The main thread stack size used in this run was 8388608. ==30065== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,179 ==30065== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==30065== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==30065== by 0x40CC146: mem_alloc (lib_aux.c:335) ==30065== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==30065== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==30065== by 0x408A6B5: ir_nextk64 (lj_ir.c:187) ==30065== by 0x408A6B5: lj_ir_k64 (lj_ir.c:226) ==30065== by 0x408A726: lj_ir_knum_u64 (lj_ir.c:241) ==30065== by 0x408DF64: lj_ir_knum (lj_iropt.h:63) ==30065== by 0x408DF64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==30065== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==30065== by 0x40A453C: crec_ct_ct (lj_crecord.c:465) ==30065== by 0x40A453C: crec_ct_tv (lj_crecord.c:691) ==30065== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==30065== by 0x40A711A: crec_call (lj_crecord.c:1231) ==30065== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==30065== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==30065== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==30065== by 0x40BB16A: trace_state (lj_trace.c:680) ==30065== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30065== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==30065== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==30065== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30065== by 0x407FA29: lua_resume (lj_api.c:1296) ==30065== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==30065== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==30065== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==30065== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==30065== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==30065== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==30065== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==30065== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==30065== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==30065== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30065== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30065== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30065== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30065== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30065== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30065== by 0x8065F8B: main (nginx.c:385) ==30065== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk64 fun:lj_ir_k64 fun:lj_ir_knum_u64 fun:lj_ir_knum fun:fold_kfold_conv_kint_num fun:lj_opt_fold fun:crec_ct_ct fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 11: incr double - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 11: incr double - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -value: 371 -err: nil ' |
stream/shdict.t | TEST 11: incr double |
==30086== Invalid read of size 4 ==30086== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30086== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30086== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30086== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30086== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30086== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30086== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30086== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30086== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30086== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30086== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30086== by 0x8065F8B: main (nginx.c:385) ==30086== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 11: incr double |
==30086== ==30086== Process terminating with default action of signal 11 (SIGSEGV) ==30086== Access not within mapped region at address 0x0 ==30086== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30086== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30086== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30086== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30086== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30086== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30086== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30086== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30086== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30086== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30086== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30086== by 0x8065F8B: main (nginx.c:385) ==30086== If you believe this happened as a result of a stack ==30086== overflow in your program's main thread (unlikely but ==30086== possible), you can try to increase the size of the ==30086== main thread stack using the --main-stacksize= flag. ==30086== The main thread stack size used in this run was 8388608. ==30086== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,179 ==30086== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==30086== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==30086== by 0x40CC146: mem_alloc (lib_aux.c:335) ==30086== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==30086== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==30086== by 0x408A6B5: ir_nextk64 (lj_ir.c:187) ==30086== by 0x408A6B5: lj_ir_k64 (lj_ir.c:226) ==30086== by 0x408A726: lj_ir_knum_u64 (lj_ir.c:241) ==30086== by 0x408DF64: lj_ir_knum (lj_iropt.h:63) ==30086== by 0x408DF64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==30086== by 0x4091B2C: lj_opt_fold (lj_opt_fold.c:2506) ==30086== by 0x40A453C: crec_ct_ct (lj_crecord.c:465) ==30086== by 0x40A453C: crec_ct_tv (lj_crecord.c:691) ==30086== by 0x40A711A: crec_call_args (lj_crecord.c:1127) ==30086== by 0x40A711A: crec_call (lj_crecord.c:1231) ==30086== by 0x40A711A: recff_cdata_call (lj_crecord.c:1277) ==30086== by 0x40AE0BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==30086== by 0x409F4CA: lj_record_ins (lj_record.c:2479) ==30086== by 0x40BB16A: trace_state (lj_trace.c:680) ==30086== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30086== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==30086== by 0x407596F: lj_dispatch_call (lj_dispatch.c:488) ==30086== by 0x406904F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==30086== by 0x407FA29: lua_resume (lj_api.c:1296) ==30086== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==30086== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==30086== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==30086== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==30086== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==30086== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==30086== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==30086== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==30086== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==30086== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30086== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30086== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30086== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30086== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30086== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30086== by 0x8065F8B: main (nginx.c:385) ==30086== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk64 fun:lj_ir_k64 fun:lj_ir_knum_u64 fun:lj_ir_knum fun:fold_kfold_conv_kint_num fun:lj_opt_fold fun:crec_ct_ct fun:crec_ct_tv fun:crec_call_args fun:crec_call fun:recff_cdata_call fun:lj_ffrecord_func fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_call fun:lj_vm_hotcall fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 11: incr double - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 11: incr double - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -value: 371 -err: nil ' |
stream/shdict.t | TEST 26: incr key |
==30099== Invalid read of size 4 ==30099== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30099== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30099== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30099== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30099== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30099== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30099== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30099== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30099== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30099== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30099== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30099== by 0x8065F8B: main (nginx.c:385) ==30099== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30099== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 26: incr key |
==30099== ==30099== Process terminating with default action of signal 11 (SIGSEGV) ==30099== Access not within mapped region at address 0x0 ==30099== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30099== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30099== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30099== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30099== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30099== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30099== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30099== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30099== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30099== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30099== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30099== by 0x8065F8B: main (nginx.c:385) ==30099== If you believe this happened as a result of a stack ==30099== overflow in your program's main thread (unlikely but ==30099== possible), you can try to increase the size of the ==30099== main thread stack using the --main-stacksize= flag. ==30099== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 26: incr key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 26: incr key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to incr: nil key ' |
stream/shdict.t | TEST 26: incr key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:20 [alert] 28549\#0: worker process 30099 exited on signal 11" (req 0) |
2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:20 [debug] 28549\#0: reap children 2020/10/27 06:22:20 [debug] 28549\#0: child: 0 30099 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 26: incr key |
==30120== Invalid read of size 4 ==30120== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30120== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30120== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30120== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30120== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30120== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30120== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30120== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30120== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30120== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30120== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30120== by 0x8065F8B: main (nginx.c:385) ==30120== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30120== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 26: incr key |
==30120== ==30120== Process terminating with default action of signal 11 (SIGSEGV) ==30120== Access not within mapped region at address 0x0 ==30120== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30120== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30120== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30120== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30120== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30120== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30120== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30120== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30120== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30120== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30120== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30120== by 0x8065F8B: main (nginx.c:385) ==30120== If you believe this happened as a result of a stack ==30120== overflow in your program's main thread (unlikely but ==30120== possible), you can try to increase the size of the ==30120== main thread stack using the --main-stacksize= flag. ==30120== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 26: incr key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 26: incr key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to incr: nil key ' |
stream/shdict.t | TEST 26: incr key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:20 [alert] 28549\#0: worker process 30099 exited on signal 11" (req 1) |
2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:20 [debug] 28549\#0: reap children 2020/10/27 06:22:20 [debug] 28549\#0: child: 0 30099 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:20 [debug] 28549\#0: channel 3:4 2020/10/27 06:22:20 [notice] 28549\#0: start worker process 30120 ' |
stream/shdict.t | TEST 26: incr key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:20 [alert] 28549\#0: worker process 30120 exited on signal 11" (req 1) |
2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:20 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:20 [debug] 28549\#0: reap children 2020/10/27 06:22:20 [debug] 28549\#0: child: 0 30120 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) |
==30133== Invalid read of size 4 ==30133== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30133== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30133== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30133== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30133== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30133== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30133== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30133== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30133== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30133== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30133== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30133== by 0x8065F8B: main (nginx.c:385) ==30133== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30133== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) |
==30133== ==30133== Process terminating with default action of signal 11 (SIGSEGV) ==30133== Access not within mapped region at address 0x0 ==30133== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30133== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30133== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30133== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30133== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30133== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30133== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30133== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30133== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30133== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30133== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30133== by 0x8065F8B: main (nginx.c:385) ==30133== If you believe this happened as a result of a stack ==30133== overflow in your program's main thread (unlikely but ==30133== possible), you can try to increase the size of the ==30133== main thread stack using the --main-stacksize= flag. ==30133== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:24 [alert] 28549\#0: worker process 30133 exited on signal 11" (req 0) |
2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:24 [debug] 28549\#0: reap children 2020/10/27 06:22:24 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:22:24 [debug] 28549\#0: child: 1 30133 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) |
==30154== Invalid read of size 4 ==30154== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30154== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30154== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30154== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30154== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30154== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30154== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30154== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30154== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30154== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30154== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30154== by 0x8065F8B: main (nginx.c:385) ==30154== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30154== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) |
==30154== ==30154== Process terminating with default action of signal 11 (SIGSEGV) ==30154== Access not within mapped region at address 0x0 ==30154== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30154== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30154== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30154== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30154== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30154== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30154== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30154== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30154== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30154== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30154== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30154== by 0x8065F8B: main (nginx.c:385) ==30154== If you believe this happened as a result of a stack ==30154== overflow in your program's main thread (unlikely but ==30154== possible), you can try to increase the size of the ==30154== main thread stack using the --main-stacksize= flag. ==30154== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:24 [alert] 28549\#0: worker process 30133 exited on signal 11" (req 1) |
2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:24 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:24 [debug] 28549\#0: reap children 2020/10/27 06:22:24 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:22:24 [debug] 28549\#0: child: 1 30133 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:24 [debug] 28549\#0: channel 3:4 ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:25 [alert] 28549\#0: worker process 30154 exited on signal 11" (req 1) |
2020/10/27 06:22:25 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:25 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:25 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:25 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:25 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:25 [debug] 28549\#0: reap children 2020/10/27 06:22:25 [debug] 28549\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:22:25 [debug] 28549\#0: child: 1 30154 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 24: get nil key |
==30167== Invalid read of size 4 ==30167== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30167== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30167== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30167== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30167== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30167== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30167== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30167== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30167== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30167== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30167== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30167== by 0x8065F8B: main (nginx.c:385) ==30167== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30167== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 24: get nil key |
==30167== ==30167== Process terminating with default action of signal 11 (SIGSEGV) ==30167== Access not within mapped region at address 0x0 ==30167== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30167== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30167== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30167== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30167== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30167== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30167== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30167== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30167== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30167== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30167== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30167== by 0x8065F8B: main (nginx.c:385) ==30167== If you believe this happened as a result of a stack ==30167== overflow in your program's main thread (unlikely but ==30167== possible), you can try to increase the size of the ==30167== main thread stack using the --main-stacksize= flag. ==30167== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 24: get nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 24: get nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get: nil key ' |
stream/shdict.t | TEST 24: get nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:29 [alert] 28549\#0: worker process 30167 exited on signal 11" (req 0) |
2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:29 [debug] 28549\#0: reap children 2020/10/27 06:22:29 [debug] 28549\#0: child: 0 30167 e:0 t:1 d:0 r:1 j:0 ' |
stream/shdict.t | TEST 24: get nil key |
==30188== Invalid read of size 4 ==30188== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30188== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30188== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30188== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30188== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30188== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30188== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30188== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30188== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30188== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30188== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30188== by 0x8065F8B: main (nginx.c:385) ==30188== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30188== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/shdict.t | TEST 24: get nil key |
==30188== ==30188== Process terminating with default action of signal 11 (SIGSEGV) ==30188== Access not within mapped region at address 0x0 ==30188== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30188== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30188== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30188== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30188== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30188== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30188== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30188== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30188== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30188== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30188== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30188== by 0x8065F8B: main (nginx.c:385) ==30188== If you believe this happened as a result of a stack ==30188== overflow in your program's main thread (unlikely but ==30188== possible), you can try to increase the size of the ==30188== main thread stack using the --main-stacksize= flag. ==30188== The main thread stack size used in this run was 8388608. |
stream/shdict.t | TEST 24: get nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 24: get nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get: nil key ' |
stream/shdict.t | TEST 24: get nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:29 [alert] 28549\#0: worker process 30167 exited on signal 11" (req 1) |
2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:29 [debug] 28549\#0: reap children 2020/10/27 06:22:29 [debug] 28549\#0: child: 0 30167 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:29 [debug] 28549\#0: channel 3:4 2020/10/27 06:22:29 [notice] 28549\#0: start worker process 30188 ' |
stream/shdict.t | TEST 24: get nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:29 [alert] 28549\#0: worker process 30188 exited on signal 11" (req 1) |
2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: shmtx forced unlock 2020/10/27 06:22:29 [debug] 28549\#0: wake up, sigio 0 2020/10/27 06:22:29 [debug] 28549\#0: reap children 2020/10/27 06:22:29 [debug] 28549\#0: child: 0 30188 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused |
==30200== Invalid read of size 4 ==30200== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30200== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30200== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30200== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30200== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30200== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30200== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30200== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30200== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30200== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30200== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==30200== by 0x8065F8B: main (nginx.c:385) ==30200== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused |
==30200== ==30200== Process terminating with default action of signal 11 (SIGSEGV) ==30200== Access not within mapped region at address 0x0 ==30200== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30200== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30200== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30200== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30200== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30200== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30200== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30200== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30200== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30200== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30200== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==30200== by 0x8065F8B: main (nginx.c:385) ==30200== If you believe this happened as a result of a stack ==30200== overflow in your program's main thread (unlikely but ==30200== possible), you can try to increase the size of the ==30200== main thread stack using the --main-stacksize= flag. ==30200== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:35 [alert] 30197\#0: worker process 30200 exited on signal 11" (req 0) |
2020/10/27 06:22:35 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:35 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:35 [debug] 30197\#0: reap children 2020/10/27 06:22:35 [debug] 30197\#0: child: 0 30200 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:35 [debug] 30197\#0: channel 3:10 ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused |
==30201== Invalid read of size 4 ==30201== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30201== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30201== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30201== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30201== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30201== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30201== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30201== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30201== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30201== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30201== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30201== by 0x8065F8B: main (nginx.c:385) ==30201== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30201== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused |
==30201== ==30201== Process terminating with default action of signal 11 (SIGSEGV) ==30201== Access not within mapped region at address 0x0 ==30201== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30201== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30201== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30201== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30201== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30201== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30201== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30201== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30201== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30201== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30201== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30201== by 0x8065F8B: main (nginx.c:385) ==30201== If you believe this happened as a result of a stack ==30201== overflow in your program's main thread (unlikely but ==30201== possible), you can try to increase the size of the ==30201== main thread stack using the --main-stacksize= flag. ==30201== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:37 [alert] 30197\#0: worker process 30201 exited on signal 11" (req 1) |
2020/10/27 06:22:37 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:37 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:37 [debug] 30197\#0: reap children 2020/10/27 06:22:37 [debug] 30197\#0: child: 0 30201 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:37 [debug] 30197\#0: channel 3:10 2020/10/27 06:22:37 [notice] 30197\#0: start worker process 30202 ' |
stream/ssl.t | TEST 10: tls version - SSLv3 |
==30213== Invalid read of size 4 ==30213== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30213== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30213== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30213== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30213== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30213== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30213== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30213== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30213== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30213== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30213== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30213== by 0x8065F8B: main (nginx.c:385) ==30213== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30213== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 10: tls version - SSLv3 |
==30213== ==30213== Process terminating with default action of signal 11 (SIGSEGV) ==30213== Access not within mapped region at address 0x0 ==30213== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30213== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30213== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30213== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30213== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30213== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30213== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30213== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30213== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30213== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30213== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30213== by 0x8065F8B: main (nginx.c:385) ==30213== If you believe this happened as a result of a stack ==30213== overflow in your program's main thread (unlikely but ==30213== possible), you can try to increase the size of the ==30213== main thread stack using the --main-stacksize= flag. ==30213== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 10: tls version - SSLv3 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:40 [alert] 30197\#0: worker process 30213 exited on signal 11" (req 0) |
2020/10/27 06:22:40 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:40 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:40 [debug] 30197\#0: reap children 2020/10/27 06:22:40 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:22:40 [debug] 30197\#0: child: 1 30213 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:40 [debug] 30197\#0: channel 3:4 2020/10/27 06:22:40 [notice] 30197\#0: start worker process 30234 ' |
stream/ssl.t | TEST 10: tls version - SSLv3 |
==30234== Invalid read of size 4 ==30234== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30234== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30234== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30234== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30234== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30234== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30234== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30234== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30234== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30234== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30234== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30234== by 0x8065F8B: main (nginx.c:385) ==30234== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30234== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 10: tls version - SSLv3 |
==30234== ==30234== Process terminating with default action of signal 11 (SIGSEGV) ==30234== Access not within mapped region at address 0x0 ==30234== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30234== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30234== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30234== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30234== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30234== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30234== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30234== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30234== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30234== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30234== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30234== by 0x8065F8B: main (nginx.c:385) ==30234== If you believe this happened as a result of a stack ==30234== overflow in your program's main thread (unlikely but ==30234== possible), you can try to increase the size of the ==30234== main thread stack using the --main-stacksize= flag. ==30234== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 10: tls version - SSLv3 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:41 [alert] 30197\#0: worker process 30234 exited on signal 11" (req 1) |
2020/10/27 06:22:41 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:41 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:41 [debug] 30197\#0: reap children 2020/10/27 06:22:41 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:22:41 [debug] 30197\#0: child: 1 30234 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:41 [debug] 30197\#0: channel 3:4 2020/10/27 06:22:41 [notice] 30197\#0: start worker process 30235 ' |
stream/ssl.t | TEST 11: tls version - TLSv1 |
==30246== Invalid read of size 4 ==30246== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30246== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30246== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30246== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30246== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30246== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30246== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30246== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30246== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30246== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30246== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30246== by 0x8065F8B: main (nginx.c:385) ==30246== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30246== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 11: tls version - TLSv1 |
==30246== ==30246== Process terminating with default action of signal 11 (SIGSEGV) ==30246== Access not within mapped region at address 0x0 ==30246== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30246== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30246== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30246== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30246== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30246== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30246== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30246== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30246== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30246== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30246== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30246== by 0x8065F8B: main (nginx.c:385) ==30246== If you believe this happened as a result of a stack ==30246== overflow in your program's main thread (unlikely but ==30246== possible), you can try to increase the size of the ==30246== main thread stack using the --main-stacksize= flag. ==30246== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 11: tls version - TLSv1 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:45 [alert] 30197\#0: worker process 30246 exited on signal 11" (req 0) |
2020/10/27 06:22:45 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:45 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:45 [debug] 30197\#0: reap children 2020/10/27 06:22:45 [debug] 30197\#0: child: 0 30246 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:45 [debug] 30197\#0: channel 3:4 2020/10/27 06:22:45 [notice] 30197\#0: start worker process 30267 ' |
stream/ssl.t | TEST 11: tls version - TLSv1 |
==30267== Invalid read of size 4 ==30267== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30267== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30267== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30267== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30267== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30267== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30267== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30267== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30267== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30267== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30267== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30267== by 0x8065F8B: main (nginx.c:385) ==30267== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30267== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 11: tls version - TLSv1 |
==30267== ==30267== Process terminating with default action of signal 11 (SIGSEGV) ==30267== Access not within mapped region at address 0x0 ==30267== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30267== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30267== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30267== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30267== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30267== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30267== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30267== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30267== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30267== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30267== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30267== by 0x8065F8B: main (nginx.c:385) ==30267== If you believe this happened as a result of a stack ==30267== overflow in your program's main thread (unlikely but ==30267== possible), you can try to increase the size of the ==30267== main thread stack using the --main-stacksize= flag. ==30267== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 11: tls version - TLSv1 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:47 [alert] 30197\#0: worker process 30267 exited on signal 11" (req 1) |
2020/10/27 06:22:47 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:47 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:47 [debug] 30197\#0: reap children 2020/10/27 06:22:47 [debug] 30197\#0: child: 0 30267 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:47 [debug] 30197\#0: channel 3:4 2020/10/27 06:22:47 [notice] 30197\#0: start worker process 30268 ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate |
==30279== Invalid read of size 4 ==30279== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30279== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30279== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30279== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30279== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30279== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30279== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30279== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30279== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30279== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30279== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30279== by 0x8065F8B: main (nginx.c:385) ==30279== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30279== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 25: verify client but client provides no certificate |
==30279== ==30279== Process terminating with default action of signal 11 (SIGSEGV) ==30279== Access not within mapped region at address 0x0 ==30279== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30279== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30279== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30279== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30279== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30279== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30279== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30279== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30279== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30279== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30279== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30279== by 0x8065F8B: main (nginx.c:385) ==30279== If you believe this happened as a result of a stack ==30279== overflow in your program's main thread (unlikely but ==30279== possible), you can try to increase the size of the ==30279== main thread stack using the --main-stacksize= flag. ==30279== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 25: verify client but client provides no certificate - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'NONE ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:51 [alert] 30197\#0: worker process 30279 exited on signal 11" (req 0) |
2020/10/27 06:22:51 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:51 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:51 [debug] 30197\#0: reap children 2020/10/27 06:22:51 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:22:51 [debug] 30197\#0: child: 1 30279 e:0 t:1 d:0 r:1 j:0 2020/10/27 06:22:51 [debug] 30197\#0: channel 3:4 2020/10/27 06:22:51 [notice] 30197\#0: start worker process 30300 ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate |
==30300== Invalid read of size 4 ==30300== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30300== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30300== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30300== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30300== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30300== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30300== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30300== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30300== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30300== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30300== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30300== by 0x8065F8B: main (nginx.c:385) ==30300== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30300== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 25: verify client but client provides no certificate |
==30300== ==30300== Process terminating with default action of signal 11 (SIGSEGV) ==30300== Access not within mapped region at address 0x0 ==30300== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30300== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30300== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30300== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30300== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30300== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30300== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30300== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30300== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30300== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30300== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30300== by 0x8065F8B: main (nginx.c:385) ==30300== If you believe this happened as a result of a stack ==30300== overflow in your program's main thread (unlikely but ==30300== possible), you can try to increase the size of the ==30300== main thread stack using the --main-stacksize= flag. ==30300== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 25: verify client but client provides no certificate - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'NONE ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:53 [alert] 30197\#0: worker process 30300 exited on signal 11" (req 1) |
2020/10/27 06:22:53 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:53 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:53 [debug] 30197\#0: reap children 2020/10/27 06:22:53 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:22:53 [debug] 30197\#0: child: 1 30300 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* |
==30312== Invalid read of size 4 ==30312== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30312== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30312== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30312== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30312== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30312== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30312== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30312== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30312== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30312== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30312== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30312== by 0x8065F8B: main (nginx.c:385) ==30312== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30312== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* |
==30312== ==30312== Process terminating with default action of signal 11 (SIGSEGV) ==30312== Access not within mapped region at address 0x0 ==30312== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30312== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30312== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30312== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30312== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30312== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30312== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30312== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30312== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30312== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30312== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30312== by 0x8065F8B: main (nginx.c:385) ==30312== If you believe this happened as a result of a stack ==30312== overflow in your program's main thread (unlikely but ==30312== possible), you can try to increase the size of the ==30312== main thread stack using the --main-stacksize= flag. ==30312== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 0) |
@@ -1,4 +1,3 @@ stream lua semaphore new stream lua semaphore wait stream lua semaphore wait yielding -stream lua semaphore post ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:57 [alert] 30197\#0: worker process 30312 exited on signal 11" (req 0) |
2020/10/27 06:22:57 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:57 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:57 [debug] 30197\#0: reap children 2020/10/27 06:22:57 [debug] 30197\#0: child: 0 30312 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* |
==30333== Invalid read of size 4 ==30333== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30333== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30333== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30333== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30333== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30333== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30333== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30333== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30333== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30333== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30333== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30333== by 0x8065F8B: main (nginx.c:385) ==30333== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30333== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* |
==30333== ==30333== Process terminating with default action of signal 11 (SIGSEGV) ==30333== Access not within mapped region at address 0x0 ==30333== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30333== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30333== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30333== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30333== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30333== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30333== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30333== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30333== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30333== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30333== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30333== by 0x8065F8B: main (nginx.c:385) ==30333== If you believe this happened as a result of a stack ==30333== overflow in your program's main thread (unlikely but ==30333== possible), you can try to increase the size of the ==30333== main thread stack using the --main-stacksize= flag. ==30333== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 1) |
@@ -1,4 +1,3 @@ stream lua semaphore new stream lua semaphore wait stream lua semaphore wait yielding -stream lua semaphore post ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:22:57 [alert] 30197\#0: worker process 30333 exited on signal 11" (req 1) |
2020/10/27 06:22:57 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:22:57 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:22:57 [debug] 30197\#0: reap children 2020/10/27 06:22:57 [debug] 30197\#0: child: 0 30333 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 24: verify client without CA certificates |
==30345== Invalid read of size 4 ==30345== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30345== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30345== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30345== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30345== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30345== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30345== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30345== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30345== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30345== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30345== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30345== by 0x8065F8B: main (nginx.c:385) ==30345== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30345== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 24: verify client without CA certificates |
==30345== ==30345== Process terminating with default action of signal 11 (SIGSEGV) ==30345== Access not within mapped region at address 0x0 ==30345== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30345== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30345== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30345== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30345== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30345== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30345== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30345== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30345== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30345== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30345== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30345== by 0x8065F8B: main (nginx.c:385) ==30345== If you believe this happened as a result of a stack ==30345== overflow in your program's main thread (unlikely but ==30345== possible), you can try to increase the size of the ==30345== main thread stack using the --main-stacksize= flag. ==30345== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 24: verify client without CA certificates - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'FAILED:self signed certificate ' |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:02 [alert] 30197\#0: worker process 30345 exited on signal 11" (req 0) |
2020/10/27 06:23:02 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:02 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:02 [debug] 30197\#0: reap children 2020/10/27 06:23:02 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:02 [debug] 30197\#0: child: 1 30345 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 24: verify client without CA certificates |
==30366== Invalid read of size 4 ==30366== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30366== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30366== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30366== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30366== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30366== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30366== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30366== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30366== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30366== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30366== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30366== by 0x8065F8B: main (nginx.c:385) ==30366== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30366== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 24: verify client without CA certificates |
==30366== ==30366== Process terminating with default action of signal 11 (SIGSEGV) ==30366== Access not within mapped region at address 0x0 ==30366== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30366== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30366== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30366== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30366== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30366== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30366== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30366== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30366== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30366== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30366== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30366== by 0x8065F8B: main (nginx.c:385) ==30366== If you believe this happened as a result of a stack ==30366== overflow in your program's main thread (unlikely but ==30366== possible), you can try to increase the size of the ==30366== main thread stack using the --main-stacksize= flag. ==30366== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 24: verify client without CA certificates - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'FAILED:self signed certificate ' |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:04 [alert] 30197\#0: worker process 30366 exited on signal 11" (req 1) |
2020/10/27 06:23:04 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:04 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:04 [debug] 30197\#0: reap children 2020/10/27 06:23:04 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:04 [debug] 30197\#0: child: 1 30366 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==30380== Invalid read of size 4 ==30380== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30380== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30380== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30380== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30380== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30380== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30380== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30380== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30380== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30380== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30380== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30380== by 0x8065F8B: main (nginx.c:385) ==30380== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30380== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==30380== ==30380== Process terminating with default action of signal 11 (SIGSEGV) ==30380== Access not within mapped region at address 0x0 ==30380== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30380== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30380== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30380== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30380== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30380== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30380== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30380== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30380== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30380== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30380== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30380== by 0x8065F8B: main (nginx.c:385) ==30380== If you believe this happened as a result of a stack ==30380== overflow in your program's main thread (unlikely but ==30380== possible), you can try to increase the size of the ==30380== main thread stack using the --main-stacksize= flag. ==30380== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:09 [alert] 30197\#0: worker process 30380 exited on signal 11" (req 0) |
2020/10/27 06:23:09 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:09 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:09 [debug] 30197\#0: reap children 2020/10/27 06:23:09 [debug] 30197\#0: child: 0 30380 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==30401== Invalid read of size 4 ==30401== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30401== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30401== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30401== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30401== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30401== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30401== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30401== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30401== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30401== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30401== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30401== by 0x8065F8B: main (nginx.c:385) ==30401== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30401== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
==30401== ==30401== Process terminating with default action of signal 11 (SIGSEGV) ==30401== Access not within mapped region at address 0x0 ==30401== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30401== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30401== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30401== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30401== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30401== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30401== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30401== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30401== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30401== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30401== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30401== by 0x8065F8B: main (nginx.c:385) ==30401== If you believe this happened as a result of a stack ==30401== overflow in your program's main thread (unlikely but ==30401== possible), you can try to increase the size of the ==30401== main thread stack using the --main-stacksize= flag. ==30401== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:10 [alert] 30197\#0: worker process 30401 exited on signal 11" (req 1) |
2020/10/27 06:23:10 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:10 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:10 [debug] 30197\#0: reap children 2020/10/27 06:23:10 [debug] 30197\#0: child: 0 30401 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 8: set DER cert chain |
==30413== Invalid read of size 4 ==30413== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30413== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30413== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30413== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30413== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30413== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30413== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30413== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30413== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30413== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30413== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30413== by 0x8065F8B: main (nginx.c:385) ==30413== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30413== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 8: set DER cert chain |
==30413== ==30413== Process terminating with default action of signal 11 (SIGSEGV) ==30413== Access not within mapped region at address 0x0 ==30413== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30413== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30413== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30413== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30413== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30413== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30413== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30413== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30413== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30413== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30413== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30413== by 0x8065F8B: main (nginx.c:385) ==30413== If you believe this happened as a result of a stack ==30413== overflow in your program's main thread (unlikely but ==30413== possible), you can try to increase the size of the ==30413== main thread stack using the --main-stacksize= flag. ==30413== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 8: set DER cert chain - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:14 [alert] 30197\#0: worker process 30413 exited on signal 11" (req 0) |
2020/10/27 06:23:14 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:14 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:14 [debug] 30197\#0: reap children 2020/10/27 06:23:14 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:14 [debug] 30197\#0: child: 1 30413 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 8: set DER cert chain |
==30434== Invalid read of size 4 ==30434== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30434== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30434== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30434== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30434== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30434== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30434== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30434== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30434== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30434== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30434== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30434== by 0x8065F8B: main (nginx.c:385) ==30434== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30434== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 8: set DER cert chain |
==30434== ==30434== Process terminating with default action of signal 11 (SIGSEGV) ==30434== Access not within mapped region at address 0x0 ==30434== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30434== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30434== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30434== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30434== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30434== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30434== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30434== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30434== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30434== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30434== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30434== by 0x8065F8B: main (nginx.c:385) ==30434== If you believe this happened as a result of a stack ==30434== overflow in your program's main thread (unlikely but ==30434== possible), you can try to increase the size of the ==30434== main thread stack using the --main-stacksize= flag. ==30434== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 8: set DER cert chain - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:16 [alert] 30197\#0: worker process 30434 exited on signal 11" (req 1) |
2020/10/27 06:23:16 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:16 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:16 [debug] 30197\#0: reap children 2020/10/27 06:23:16 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:16 [debug] 30197\#0: child: 1 30434 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) |
==30446== Invalid read of size 4 ==30446== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30446== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30446== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30446== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30446== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30446== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30446== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30446== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30446== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30446== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30446== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30446== by 0x8065F8B: main (nginx.c:385) ==30446== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30446== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) |
==30446== ==30446== Process terminating with default action of signal 11 (SIGSEGV) ==30446== Access not within mapped region at address 0x0 ==30446== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30446== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30446== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30446== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30446== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30446== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30446== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30446== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30446== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30446== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30446== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30446== by 0x8065F8B: main (nginx.c:385) ==30446== If you believe this happened as a result of a stack ==30446== overflow in your program's main thread (unlikely but ==30446== possible), you can try to increase the size of the ==30446== main thread stack using the --main-stacksize= flag. ==30446== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:20 [alert] 30197\#0: worker process 30446 exited on signal 11" (req 0) |
2020/10/27 06:23:20 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:20 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:20 [debug] 30197\#0: reap children 2020/10/27 06:23:20 [debug] 30197\#0: child: 0 30446 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) |
==30467== Invalid read of size 4 ==30467== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30467== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30467== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30467== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30467== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30467== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30467== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30467== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30467== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30467== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30467== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30467== by 0x8065F8B: main (nginx.c:385) ==30467== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30467== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) |
==30467== ==30467== Process terminating with default action of signal 11 (SIGSEGV) ==30467== Access not within mapped region at address 0x0 ==30467== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30467== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30467== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30467== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30467== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30467== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30467== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30467== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30467== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30467== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30467== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30467== by 0x8065F8B: main (nginx.c:385) ==30467== If you believe this happened as a result of a stack ==30467== overflow in your program's main thread (unlikely but ==30467== possible), you can try to increase the size of the ==30467== main thread stack using the --main-stacksize= flag. ==30467== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:22 [alert] 30197\#0: worker process 30467 exited on signal 11" (req 1) |
2020/10/27 06:23:22 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:22 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:22 [debug] 30197\#0: reap children 2020/10/27 06:23:22 [debug] 30197\#0: child: 0 30467 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 22: tls version - TLSv1.3 |
==30479== Invalid read of size 4 ==30479== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30479== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30479== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30479== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30479== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30479== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30479== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30479== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30479== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30479== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30479== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30479== by 0x8065F8B: main (nginx.c:385) ==30479== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30479== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 22: tls version - TLSv1.3 |
==30479== ==30479== Process terminating with default action of signal 11 (SIGSEGV) ==30479== Access not within mapped region at address 0x0 ==30479== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30479== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30479== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30479== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30479== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30479== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30479== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30479== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30479== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30479== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30479== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30479== by 0x8065F8B: main (nginx.c:385) ==30479== If you believe this happened as a result of a stack ==30479== overflow in your program's main thread (unlikely but ==30479== possible), you can try to increase the size of the ==30479== main thread stack using the --main-stacksize= flag. ==30479== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:27 [alert] 30197\#0: worker process 30479 exited on signal 11" (req 0) |
2020/10/27 06:23:27 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:27 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:27 [debug] 30197\#0: reap children 2020/10/27 06:23:27 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:27 [debug] 30197\#0: child: 1 30479 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 22: tls version - TLSv1.3 |
==30500== Invalid read of size 4 ==30500== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30500== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30500== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30500== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30500== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30500== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30500== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30500== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30500== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30500== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30500== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30500== by 0x8065F8B: main (nginx.c:385) ==30500== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 22: tls version - TLSv1.3 |
==30500== ==30500== Process terminating with default action of signal 11 (SIGSEGV) ==30500== Access not within mapped region at address 0x0 ==30500== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30500== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30500== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30500== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30500== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30500== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30500== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30500== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30500== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30500== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30500== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30500== by 0x8065F8B: main (nginx.c:385) ==30500== If you believe this happened as a result of a stack ==30500== overflow in your program's main thread (unlikely but ==30500== possible), you can try to increase the size of the ==30500== main thread stack using the --main-stacksize= flag. ==30500== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:28 [alert] 30197\#0: worker process 30500 exited on signal 11" (req 1) |
2020/10/27 06:23:28 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:28 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:28 [debug] 30197\#0: reap children 2020/10/27 06:23:28 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:28 [debug] 30197\#0: child: 1 30500 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==30512== Invalid read of size 4 ==30512== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30512== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30512== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30512== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30512== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30512== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30512== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30512== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30512== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30512== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30512== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30512== by 0x8065F8B: main (nginx.c:385) ==30512== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30512== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==30512== ==30512== Process terminating with default action of signal 11 (SIGSEGV) ==30512== Access not within mapped region at address 0x0 ==30512== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30512== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30512== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30512== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30512== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30512== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30512== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30512== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30512== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30512== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30512== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30512== by 0x8065F8B: main (nginx.c:385) ==30512== If you believe this happened as a result of a stack ==30512== overflow in your program's main thread (unlikely but ==30512== possible), you can try to increase the size of the ==30512== main thread stack using the --main-stacksize= flag. ==30512== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:33 [alert] 30197\#0: worker process 30512 exited on signal 11" (req 0) |
2020/10/27 06:23:33 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:33 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:33 [debug] 30197\#0: reap children 2020/10/27 06:23:33 [debug] 30197\#0: child: 0 30512 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==30533== Invalid read of size 4 ==30533== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30533== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30533== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30533== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30533== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30533== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30533== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30533== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30533== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30533== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30533== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30533== by 0x8065F8B: main (nginx.c:385) ==30533== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30533== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
==30533== ==30533== Process terminating with default action of signal 11 (SIGSEGV) ==30533== Access not within mapped region at address 0x0 ==30533== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30533== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30533== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30533== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30533== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30533== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30533== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30533== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30533== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30533== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30533== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30533== by 0x8065F8B: main (nginx.c:385) ==30533== If you believe this happened as a result of a stack ==30533== overflow in your program's main thread (unlikely but ==30533== possible), you can try to increase the size of the ==30533== main thread stack using the --main-stacksize= flag. ==30533== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:34 [alert] 30197\#0: worker process 30533 exited on signal 11" (req 1) |
2020/10/27 06:23:34 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:34 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:34 [debug] 30197\#0: reap children 2020/10/27 06:23:34 [debug] 30197\#0: child: 0 30533 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) |
==30545== Invalid read of size 4 ==30545== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30545== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30545== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30545== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30545== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30545== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30545== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30545== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30545== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30545== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30545== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30545== by 0x8065F8B: main (nginx.c:385) ==30545== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30545== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) |
==30545== ==30545== Process terminating with default action of signal 11 (SIGSEGV) ==30545== Access not within mapped region at address 0x0 ==30545== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30545== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30545== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30545== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30545== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30545== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30545== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30545== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30545== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30545== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30545== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30545== by 0x8065F8B: main (nginx.c:385) ==30545== If you believe this happened as a result of a stack ==30545== overflow in your program's main thread (unlikely but ==30545== possible), you can try to increase the size of the ==30545== main thread stack using the --main-stacksize= flag. ==30545== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:38 [alert] 30197\#0: worker process 30545 exited on signal 11" (req 0) |
2020/10/27 06:23:38 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:38 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:38 [debug] 30197\#0: reap children 2020/10/27 06:23:38 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:38 [debug] 30197\#0: child: 1 30545 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) |
==30566== Invalid read of size 4 ==30566== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30566== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30566== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30566== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30566== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30566== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30566== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30566== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30566== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30566== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30566== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30566== by 0x8065F8B: main (nginx.c:385) ==30566== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30566== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) |
==30566== ==30566== Process terminating with default action of signal 11 (SIGSEGV) ==30566== Access not within mapped region at address 0x0 ==30566== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30566== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30566== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30566== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30566== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30566== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30566== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30566== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30566== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30566== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30566== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30566== by 0x8065F8B: main (nginx.c:385) ==30566== If you believe this happened as a result of a stack ==30566== overflow in your program's main thread (unlikely but ==30566== possible), you can try to increase the size of the ==30566== main thread stack using the --main-stacksize= flag. ==30566== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:39 [alert] 30197\#0: worker process 30566 exited on signal 11" (req 1) |
2020/10/27 06:23:39 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:39 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:39 [debug] 30197\#0: reap children 2020/10/27 06:23:39 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:39 [debug] 30197\#0: child: 1 30566 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) |
==30578== Invalid read of size 4 ==30578== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30578== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30578== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30578== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30578== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30578== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30578== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30578== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30578== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30578== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30578== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30578== by 0x8065F8B: main (nginx.c:385) ==30578== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30578== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) |
==30578== ==30578== Process terminating with default action of signal 11 (SIGSEGV) ==30578== Access not within mapped region at address 0x0 ==30578== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30578== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30578== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30578== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30578== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30578== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30578== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30578== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30578== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30578== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30578== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30578== by 0x8065F8B: main (nginx.c:385) ==30578== If you believe this happened as a result of a stack ==30578== overflow in your program's main thread (unlikely but ==30578== possible), you can try to increase the size of the ==30578== main thread stack using the --main-stacksize= flag. ==30578== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:43 [alert] 30197\#0: worker process 30578 exited on signal 11" (req 0) |
2020/10/27 06:23:43 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:43 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:43 [debug] 30197\#0: reap children 2020/10/27 06:23:43 [debug] 30197\#0: child: 0 30578 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) |
==30600== Invalid read of size 4 ==30600== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30600== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30600== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30600== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30600== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30600== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30600== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30600== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30600== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30600== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30600== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30600== by 0x8065F8B: main (nginx.c:385) ==30600== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30600== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) |
==30600== ==30600== Process terminating with default action of signal 11 (SIGSEGV) ==30600== Access not within mapped region at address 0x0 ==30600== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30600== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30600== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30600== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30600== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30600== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30600== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30600== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30600== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30600== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30600== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30600== by 0x8065F8B: main (nginx.c:385) ==30600== If you believe this happened as a result of a stack ==30600== overflow in your program's main thread (unlikely but ==30600== possible), you can try to increase the size of the ==30600== main thread stack using the --main-stacksize= flag. ==30600== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:44 [alert] 30197\#0: worker process 30600 exited on signal 11" (req 1) |
2020/10/27 06:23:44 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:44 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:44 [debug] 30197\#0: reap children 2020/10/27 06:23:44 [debug] 30197\#0: child: 0 30600 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata |
==30612== Invalid read of size 4 ==30612== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30612== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30612== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30612== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30612== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30612== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30612== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30612== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30612== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30612== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30612== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30612== by 0x8065F8B: main (nginx.c:385) ==30612== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30612== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata |
==30612== ==30612== Process terminating with default action of signal 11 (SIGSEGV) ==30612== Access not within mapped region at address 0x0 ==30612== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30612== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30612== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30612== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30612== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30612== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30612== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30612== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30612== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30612== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30612== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30612== by 0x8065F8B: main (nginx.c:385) ==30612== If you believe this happened as a result of a stack ==30612== overflow in your program's main thread (unlikely but ==30612== possible), you can try to increase the size of the ==30612== main thread stack using the --main-stacksize= flag. ==30612== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:49 [alert] 30197\#0: worker process 30612 exited on signal 11" (req 0) |
2020/10/27 06:23:49 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:49 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:49 [debug] 30197\#0: reap children 2020/10/27 06:23:49 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:49 [debug] 30197\#0: child: 1 30612 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata |
==30634== Invalid read of size 4 ==30634== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30634== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30634== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30634== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30634== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30634== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30634== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30634== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30634== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30634== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30634== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30634== by 0x8065F8B: main (nginx.c:385) ==30634== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30634== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata |
==30634== ==30634== Process terminating with default action of signal 11 (SIGSEGV) ==30634== Access not within mapped region at address 0x0 ==30634== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30634== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30634== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30634== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30634== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30634== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30634== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30634== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30634== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30634== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30634== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30634== by 0x8065F8B: main (nginx.c:385) ==30634== If you believe this happened as a result of a stack ==30634== overflow in your program's main thread (unlikely but ==30634== possible), you can try to increase the size of the ==30634== main thread stack using the --main-stacksize= flag. ==30634== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:50 [alert] 30197\#0: worker process 30634 exited on signal 11" (req 1) |
2020/10/27 06:23:50 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:50 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:50 [debug] 30197\#0: reap children 2020/10/27 06:23:50 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:23:50 [debug] 30197\#0: child: 1 30634 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL |
==30647== Invalid read of size 4 ==30647== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30647== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30647== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30647== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30647== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30647== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30647== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30647== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30647== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30647== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30647== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30647== by 0x8065F8B: main (nginx.c:385) ==30647== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30647== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL |
==30647== ==30647== Process terminating with default action of signal 11 (SIGSEGV) ==30647== Access not within mapped region at address 0x0 ==30647== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30647== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30647== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30647== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30647== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30647== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30647== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30647== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30647== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30647== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30647== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30647== by 0x8065F8B: main (nginx.c:385) ==30647== If you believe this happened as a result of a stack ==30647== overflow in your program's main thread (unlikely but ==30647== possible), you can try to increase the size of the ==30647== main thread stack using the --main-stacksize= flag. ==30647== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:55 [alert] 30197\#0: worker process 30647 exited on signal 11" (req 0) |
2020/10/27 06:23:55 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:55 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:55 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:55 [debug] 30197\#0: reap children 2020/10/27 06:23:55 [debug] 30197\#0: child: 0 30647 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL |
==30672== Invalid read of size 4 ==30672== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30672== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30672== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30672== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30672== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30672== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30672== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30672== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30672== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30672== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30672== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30672== by 0x8065F8B: main (nginx.c:385) ==30672== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30672== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL |
==30672== ==30672== Process terminating with default action of signal 11 (SIGSEGV) ==30672== Access not within mapped region at address 0x0 ==30672== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30672== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30672== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30672== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30672== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30672== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30672== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30672== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30672== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30672== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30672== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30672== by 0x8065F8B: main (nginx.c:385) ==30672== If you believe this happened as a result of a stack ==30672== overflow in your program's main thread (unlikely but ==30672== possible), you can try to increase the size of the ==30672== main thread stack using the --main-stacksize= flag. ==30672== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:23:57 [alert] 30197\#0: worker process 30672 exited on signal 11" (req 1) |
2020/10/27 06:23:57 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:57 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:23:57 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:23:57 [debug] 30197\#0: reap children 2020/10/27 06:23:57 [debug] 30197\#0: child: 0 30672 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 23: verify client with CA certificates |
==30688== Invalid read of size 4 ==30688== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30688== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30688== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30688== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30688== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30688== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30688== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30688== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30688== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30688== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30688== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30688== by 0x8065F8B: main (nginx.c:385) ==30688== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30688== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 23: verify client with CA certificates |
==30688== ==30688== Process terminating with default action of signal 11 (SIGSEGV) ==30688== Access not within mapped region at address 0x0 ==30688== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30688== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30688== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30688== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30688== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30688== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30688== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30688== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30688== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30688== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30688== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30688== by 0x8065F8B: main (nginx.c:385) ==30688== If you believe this happened as a result of a stack ==30688== overflow in your program's main thread (unlikely but ==30688== possible), you can try to increase the size of the ==30688== main thread stack using the --main-stacksize= flag. ==30688== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 23: verify client with CA certificates - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'SUCCESS ' |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:03 [alert] 30197\#0: worker process 30688 exited on signal 11" (req 0) |
2020/10/27 06:24:03 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:03 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:03 [debug] 30197\#0: reap children 2020/10/27 06:24:03 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:03 [debug] 30197\#0: child: 1 30688 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 23: verify client with CA certificates |
==30710== Invalid read of size 4 ==30710== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30710== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30710== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30710== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30710== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30710== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30710== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30710== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30710== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30710== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30710== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30710== by 0x8065F8B: main (nginx.c:385) ==30710== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30710== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 23: verify client with CA certificates |
==30710== ==30710== Process terminating with default action of signal 11 (SIGSEGV) ==30710== Access not within mapped region at address 0x0 ==30710== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30710== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30710== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30710== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30710== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30710== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30710== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30710== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30710== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30710== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30710== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30710== by 0x8065F8B: main (nginx.c:385) ==30710== If you believe this happened as a result of a stack ==30710== overflow in your program's main thread (unlikely but ==30710== possible), you can try to increase the size of the ==30710== main thread stack using the --main-stacksize= flag. ==30710== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 23: verify client with CA certificates - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'SUCCESS ' |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:05 [alert] 30197\#0: worker process 30710 exited on signal 11" (req 1) |
2020/10/27 06:24:05 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:05 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:05 [debug] 30197\#0: reap children 2020/10/27 06:24:05 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:05 [debug] 30197\#0: child: 1 30710 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==30722== Invalid read of size 4 ==30722== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30722== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30722== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30722== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30722== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30722== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30722== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30722== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30722== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30722== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30722== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30722== by 0x8065F8B: main (nginx.c:385) ==30722== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30722== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==30722== ==30722== Process terminating with default action of signal 11 (SIGSEGV) ==30722== Access not within mapped region at address 0x0 ==30722== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30722== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30722== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30722== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30722== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30722== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30722== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30722== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30722== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30722== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30722== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30722== by 0x8065F8B: main (nginx.c:385) ==30722== If you believe this happened as a result of a stack ==30722== overflow in your program's main thread (unlikely but ==30722== possible), you can try to increase the size of the ==30722== main thread stack using the --main-stacksize= flag. ==30722== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:09 [alert] 30197\#0: worker process 30722 exited on signal 11" (req 0) |
2020/10/27 06:24:09 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:10 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:10 [debug] 30197\#0: reap children 2020/10/27 06:24:10 [debug] 30197\#0: child: 0 30722 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==30744== Invalid read of size 4 ==30744== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30744== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30744== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30744== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30744== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30744== by 0x8065F8B: main (nginx.c:385) ==30744== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30744== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() |
==30744== ==30744== Process terminating with default action of signal 11 (SIGSEGV) ==30744== Access not within mapped region at address 0x0 ==30744== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30744== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30744== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30744== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30744== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30744== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30744== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30744== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30744== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30744== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30744== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30744== by 0x8065F8B: main (nginx.c:385) ==30744== If you believe this happened as a result of a stack ==30744== overflow in your program's main thread (unlikely but ==30744== possible), you can try to increase the size of the ==30744== main thread stack using the --main-stacksize= flag. ==30744== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:11 [alert] 30197\#0: worker process 30744 exited on signal 11" (req 1) |
2020/10/27 06:24:11 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:11 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:11 [debug] 30197\#0: reap children 2020/10/27 06:24:11 [debug] 30197\#0: child: 0 30744 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() |
==30757== Invalid read of size 4 ==30757== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30757== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30757== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30757== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30757== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30757== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30757== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30757== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30757== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30757== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30757== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30757== by 0x8065F8B: main (nginx.c:385) ==30757== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() |
==30757== ==30757== Process terminating with default action of signal 11 (SIGSEGV) ==30757== Access not within mapped region at address 0x0 ==30757== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30757== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30757== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30757== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30757== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30757== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30757== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30757== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30757== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30757== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30757== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30757== by 0x8065F8B: main (nginx.c:385) ==30757== If you believe this happened as a result of a stack ==30757== overflow in your program's main thread (unlikely but ==30757== possible), you can try to increase the size of the ==30757== main thread stack using the --main-stacksize= flag. ==30757== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:16 [alert] 30197\#0: worker process 30757 exited on signal 11" (req 0) |
2020/10/27 06:24:16 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:16 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:16 [debug] 30197\#0: reap children 2020/10/27 06:24:16 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:16 [debug] 30197\#0: child: 1 30757 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() |
==30778== Invalid read of size 4 ==30778== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30778== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30778== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30778== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30778== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30778== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30778== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30778== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30778== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30778== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30778== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30778== by 0x8065F8B: main (nginx.c:385) ==30778== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30778== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() |
==30778== ==30778== Process terminating with default action of signal 11 (SIGSEGV) ==30778== Access not within mapped region at address 0x0 ==30778== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30778== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30778== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30778== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30778== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30778== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30778== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30778== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30778== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30778== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30778== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30778== by 0x8065F8B: main (nginx.c:385) ==30778== If you believe this happened as a result of a stack ==30778== overflow in your program's main thread (unlikely but ==30778== possible), you can try to increase the size of the ==30778== main thread stack using the --main-stacksize= flag. ==30778== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:17 [alert] 30197\#0: worker process 30778 exited on signal 11" (req 1) |
2020/10/27 06:24:17 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:17 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:17 [debug] 30197\#0: reap children 2020/10/27 06:24:17 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:17 [debug] 30197\#0: child: 1 30778 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==30791== Invalid read of size 4 ==30791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30791== by 0x8065F8B: main (nginx.c:385) ==30791== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30791== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==30791== ==30791== Process terminating with default action of signal 11 (SIGSEGV) ==30791== Access not within mapped region at address 0x0 ==30791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30791== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30791== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30791== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30791== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30791== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30791== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30791== by 0x8065F8B: main (nginx.c:385) ==30791== If you believe this happened as a result of a stack ==30791== overflow in your program's main thread (unlikely but ==30791== possible), you can try to increase the size of the ==30791== main thread stack using the --main-stacksize= flag. ==30791== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:22 [alert] 30197\#0: worker process 30791 exited on signal 11" (req 0) |
2020/10/27 06:24:22 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:22 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:22 [debug] 30197\#0: reap children 2020/10/27 06:24:22 [debug] 30197\#0: child: 0 30791 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==30812== Invalid read of size 4 ==30812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30812== by 0x8065F8B: main (nginx.c:385) ==30812== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30812== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
==30812== ==30812== Process terminating with default action of signal 11 (SIGSEGV) ==30812== Access not within mapped region at address 0x0 ==30812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30812== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30812== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30812== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30812== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30812== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30812== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30812== by 0x8065F8B: main (nginx.c:385) ==30812== If you believe this happened as a result of a stack ==30812== overflow in your program's main thread (unlikely but ==30812== possible), you can try to increase the size of the ==30812== main thread stack using the --main-stacksize= flag. ==30812== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:24 [alert] 30197\#0: worker process 30812 exited on signal 11" (req 1) |
2020/10/27 06:24:24 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:24 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:24 [debug] 30197\#0: reap children 2020/10/27 06:24:24 [debug] 30197\#0: child: 0 30812 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 2: set DER cert and private key |
==30825== Invalid read of size 4 ==30825== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30825== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30825== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30825== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30825== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30825== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30825== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30825== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30825== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30825== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30825== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30825== by 0x8065F8B: main (nginx.c:385) ==30825== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30825== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 2: set DER cert and private key |
==30825== ==30825== Process terminating with default action of signal 11 (SIGSEGV) ==30825== Access not within mapped region at address 0x0 ==30825== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30825== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30825== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30825== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30825== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30825== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30825== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30825== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30825== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30825== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30825== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30825== by 0x8065F8B: main (nginx.c:385) ==30825== If you believe this happened as a result of a stack ==30825== overflow in your program's main thread (unlikely but ==30825== possible), you can try to increase the size of the ==30825== main thread stack using the --main-stacksize= flag. ==30825== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 2: set DER cert and private key - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:28 [alert] 30197\#0: worker process 30825 exited on signal 11" (req 0) |
2020/10/27 06:24:28 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:28 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:28 [debug] 30197\#0: reap children 2020/10/27 06:24:28 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:28 [debug] 30197\#0: child: 1 30825 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 2: set DER cert and private key |
==30846== Invalid read of size 4 ==30846== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30846== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30846== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30846== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30846== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30846== by 0x8065F8B: main (nginx.c:385) ==30846== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 2: set DER cert and private key |
==30846== ==30846== Process terminating with default action of signal 11 (SIGSEGV) ==30846== Access not within mapped region at address 0x0 ==30846== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30846== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30846== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30846== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30846== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30846== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30846== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30846== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30846== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30846== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30846== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30846== by 0x8065F8B: main (nginx.c:385) ==30846== If you believe this happened as a result of a stack ==30846== overflow in your program's main thread (unlikely but ==30846== possible), you can try to increase the size of the ==30846== main thread stack using the --main-stacksize= flag. ==30846== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 2: set DER cert and private key - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:30 [alert] 30197\#0: worker process 30846 exited on signal 11" (req 1) |
2020/10/27 06:24:30 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:30 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:30 [debug] 30197\#0: reap children 2020/10/27 06:24:30 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:30 [debug] 30197\#0: child: 1 30846 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) |
==30859== Invalid read of size 4 ==30859== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30859== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30859== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30859== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30859== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30859== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30859== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30859== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30859== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30859== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30859== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30859== by 0x8065F8B: main (nginx.c:385) ==30859== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30859== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) |
==30859== ==30859== Process terminating with default action of signal 11 (SIGSEGV) ==30859== Access not within mapped region at address 0x0 ==30859== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30859== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30859== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30859== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30859== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30859== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30859== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30859== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30859== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30859== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30859== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30859== by 0x8065F8B: main (nginx.c:385) ==30859== If you believe this happened as a result of a stack ==30859== overflow in your program's main thread (unlikely but ==30859== possible), you can try to increase the size of the ==30859== main thread stack using the --main-stacksize= flag. ==30859== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:34 [alert] 30197\#0: worker process 30859 exited on signal 11" (req 0) |
2020/10/27 06:24:34 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:34 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:34 [debug] 30197\#0: reap children 2020/10/27 06:24:34 [debug] 30197\#0: child: 0 30859 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) |
==30880== Invalid read of size 4 ==30880== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30880== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30880== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30880== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30880== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30880== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30880== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30880== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30880== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30880== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30880== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30880== by 0x8065F8B: main (nginx.c:385) ==30880== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30880== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) |
==30880== ==30880== Process terminating with default action of signal 11 (SIGSEGV) ==30880== Access not within mapped region at address 0x0 ==30880== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30880== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30880== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30880== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30880== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30880== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30880== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30880== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30880== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30880== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30880== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30880== by 0x8065F8B: main (nginx.c:385) ==30880== If you believe this happened as a result of a stack ==30880== overflow in your program's main thread (unlikely but ==30880== possible), you can try to increase the size of the ==30880== main thread stack using the --main-stacksize= flag. ==30880== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:35 [alert] 30197\#0: worker process 30880 exited on signal 11" (req 1) |
2020/10/27 06:24:35 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:35 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:35 [debug] 30197\#0: reap children 2020/10/27 06:24:35 [debug] 30197\#0: child: 0 30880 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==30893== Invalid read of size 4 ==30893== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30893== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30893== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30893== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30893== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30893== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30893== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30893== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30893== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30893== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30893== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30893== by 0x8065F8B: main (nginx.c:385) ==30893== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30893== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==30893== ==30893== Process terminating with default action of signal 11 (SIGSEGV) ==30893== Access not within mapped region at address 0x0 ==30893== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30893== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30893== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30893== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30893== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30893== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30893== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30893== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30893== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30893== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30893== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30893== by 0x8065F8B: main (nginx.c:385) ==30893== If you believe this happened as a result of a stack ==30893== overflow in your program's main thread (unlikely but ==30893== possible), you can try to increase the size of the ==30893== main thread stack using the --main-stacksize= flag. ==30893== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:40 [alert] 30197\#0: worker process 30893 exited on signal 11" (req 0) |
2020/10/27 06:24:40 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:40 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:40 [debug] 30197\#0: reap children 2020/10/27 06:24:40 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:40 [debug] 30197\#0: child: 1 30893 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==30914== Invalid read of size 4 ==30914== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30914== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30914== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30914== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30914== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30914== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30914== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30914== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30914== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30914== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30914== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30914== by 0x8065F8B: main (nginx.c:385) ==30914== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30914== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain |
==30914== ==30914== Process terminating with default action of signal 11 (SIGSEGV) ==30914== Access not within mapped region at address 0x0 ==30914== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30914== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30914== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30914== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30914== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30914== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30914== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30914== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30914== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30914== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30914== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30914== by 0x8065F8B: main (nginx.c:385) ==30914== If you believe this happened as a result of a stack ==30914== overflow in your program's main thread (unlikely but ==30914== possible), you can try to increase the size of the ==30914== main thread stack using the --main-stacksize= flag. ==30914== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:42 [alert] 30197\#0: worker process 30914 exited on signal 11" (req 1) |
2020/10/27 06:24:42 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:42 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:42 [debug] 30197\#0: reap children 2020/10/27 06:24:42 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:42 [debug] 30197\#0: child: 1 30914 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 |
==30927== Invalid read of size 4 ==30927== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30927== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30927== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30927== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30927== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30927== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30927== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30927== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30927== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30927== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30927== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30927== by 0x8065F8B: main (nginx.c:385) ==30927== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30927== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 12: tls version - TLSv1.1 |
==30927== ==30927== Process terminating with default action of signal 11 (SIGSEGV) ==30927== Access not within mapped region at address 0x0 ==30927== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30927== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30927== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30927== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30927== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30927== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30927== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30927== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30927== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30927== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30927== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30927== by 0x8065F8B: main (nginx.c:385) ==30927== If you believe this happened as a result of a stack ==30927== overflow in your program's main thread (unlikely but ==30927== possible), you can try to increase the size of the ==30927== main thread stack using the --main-stacksize= flag. ==30927== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:46 [alert] 30197\#0: worker process 30927 exited on signal 11" (req 0) |
2020/10/27 06:24:46 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:46 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:46 [debug] 30197\#0: reap children 2020/10/27 06:24:46 [debug] 30197\#0: child: 0 30927 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 |
==30948== Invalid read of size 4 ==30948== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30948== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30948== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30948== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30948== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30948== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30948== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30948== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30948== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30948== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30948== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30948== by 0x8065F8B: main (nginx.c:385) ==30948== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30948== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 12: tls version - TLSv1.1 |
==30948== ==30948== Process terminating with default action of signal 11 (SIGSEGV) ==30948== Access not within mapped region at address 0x0 ==30948== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30948== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30948== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30948== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30948== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30948== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30948== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30948== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30948== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30948== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30948== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30948== by 0x8065F8B: main (nginx.c:385) ==30948== If you believe this happened as a result of a stack ==30948== overflow in your program's main thread (unlikely but ==30948== possible), you can try to increase the size of the ==30948== main thread stack using the --main-stacksize= flag. ==30948== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: boolean ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:48 [alert] 30197\#0: worker process 30948 exited on signal 11" (req 1) |
2020/10/27 06:24:48 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:48 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:48 [debug] 30197\#0: reap children 2020/10/27 06:24:48 [debug] 30197\#0: child: 0 30948 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 1: clear certs |
==30961== Invalid read of size 4 ==30961== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30961== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30961== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30961== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30961== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30961== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30961== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30961== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30961== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30961== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30961== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30961== by 0x8065F8B: main (nginx.c:385) ==30961== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30961== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 1: clear certs |
==30961== ==30961== Process terminating with default action of signal 11 (SIGSEGV) ==30961== Access not within mapped region at address 0x0 ==30961== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30961== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30961== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30961== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30961== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30961== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30961== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30961== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30961== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30961== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30961== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30961== by 0x8065F8B: main (nginx.c:385) ==30961== If you believe this happened as a result of a stack ==30961== overflow in your program's main thread (unlikely but ==30961== possible), you can try to increase the size of the ==30961== main thread stack using the --main-stacksize= flag. ==30961== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 1: clear certs - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 1: clear certs - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 1: clear certs - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:52 [alert] 30197\#0: worker process 30961 exited on signal 11" (req 0) |
2020/10/27 06:24:52 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:52 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:52 [debug] 30197\#0: reap children 2020/10/27 06:24:52 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:52 [debug] 30197\#0: child: 1 30961 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 1: clear certs |
==30982== Invalid read of size 4 ==30982== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30982== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30982== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30982== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30982== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30982== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30982== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30982== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30982== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30982== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30982== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30982== by 0x8065F8B: main (nginx.c:385) ==30982== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30982== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 1: clear certs |
==30982== ==30982== Process terminating with default action of signal 11 (SIGSEGV) ==30982== Access not within mapped region at address 0x0 ==30982== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30982== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30982== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30982== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30982== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30982== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30982== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30982== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30982== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30982== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==30982== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==30982== by 0x8065F8B: main (nginx.c:385) ==30982== If you believe this happened as a result of a stack ==30982== overflow in your program's main thread (unlikely but ==30982== possible), you can try to increase the size of the ==30982== main thread stack using the --main-stacksize= flag. ==30982== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 1: clear certs - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 1: clear certs - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 1: clear certs - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:53 [alert] 30197\#0: worker process 30982 exited on signal 11" (req 1) |
2020/10/27 06:24:53 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:53 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:53 [debug] 30197\#0: reap children 2020/10/27 06:24:53 [debug] 30197\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0 2020/10/27 06:24:53 [debug] 30197\#0: child: 1 30982 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain |
==30995== Invalid read of size 4 ==30995== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30995== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30995== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30995== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30995== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30995== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30995== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30995== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30995== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30995== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30995== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30995== by 0x8065F8B: main (nginx.c:385) ==30995== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==30995== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain |
==30995== ==30995== Process terminating with default action of signal 11 (SIGSEGV) ==30995== Access not within mapped region at address 0x0 ==30995== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==30995== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==30995== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==30995== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==30995== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==30995== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==30995== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==30995== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==30995== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==30995== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==30995== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==30995== by 0x8065F8B: main (nginx.c:385) ==30995== If you believe this happened as a result of a stack ==30995== overflow in your program's main thread (unlikely but ==30995== possible), you can try to increase the size of the ==30995== main thread stack using the --main-stacksize= flag. ==30995== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:24:58 [alert] 30197\#0: worker process 30995 exited on signal 11" (req 0) |
2020/10/27 06:24:58 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:24:58 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:24:58 [debug] 30197\#0: reap children 2020/10/27 06:24:58 [debug] 30197\#0: child: 0 30995 e:0 t:1 d:0 r:1 j:0 ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain |
==31016== Invalid read of size 4 ==31016== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31016== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31016== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31016== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31016== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31016== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31016== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31016== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31016== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31016== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31016== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31016== by 0x8065F8B: main (nginx.c:385) ==31016== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31016== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain |
==31016== ==31016== Process terminating with default action of signal 11 (SIGSEGV) ==31016== Access not within mapped region at address 0x0 ==31016== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31016== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31016== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31016== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31016== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31016== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31016== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31016== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31016== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31016== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31016== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31016== by 0x8065F8B: main (nginx.c:385) ==31016== If you believe this happened as a result of a stack ==31016== overflow in your program's main thread (unlikely but ==31016== possible), you can try to increase the size of the ==31016== main thread stack using the --main-stacksize= flag. ==31016== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -ssl handshake: userdata -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 06:25:00 [alert] 30197\#0: worker process 31016 exited on signal 11" (req 1) |
2020/10/27 06:25:00 [debug] 30197\#0: shmtx forced unlock 2020/10/27 06:25:00 [debug] 30197\#0: wake up, sigio 0 2020/10/27 06:25:00 [debug] 30197\#0: reap children 2020/10/27 06:25:00 [debug] 30197\#0: child: 0 31016 e:0 t:1 d:0 r:1 j:0 ' |
stream/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused |
==31026== Invalid read of size 4 ==31026== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31026== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31026== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31026== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31026== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31026== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31026== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31026== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31026== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31026== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31026== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==31026== by 0x8065F8B: main (nginx.c:385) ==31026== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused |
==31026== ==31026== Process terminating with default action of signal 11 (SIGSEGV) ==31026== Access not within mapped region at address 0x0 ==31026== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31026== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31026== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31026== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31026== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31026== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31026== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31026== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31026== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31026== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31026== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==31026== by 0x8065F8B: main (nginx.c:385) ==31026== If you believe this happened as a result of a stack ==31026== overflow in your program's main thread (unlikely but ==31026== possible), you can try to increase the size of the ==31026== main thread stack using the --main-stacksize= flag. ==31026== The main thread stack size used in this run was 8388608. ==31026== 512 bytes in 1 blocks are definitely lost in loss record 2,901 of 3,135 ==31026== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31026== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31026== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31026== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31026== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31026== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31026== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31026== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31026== by 0x40BB16A: trace_state (lj_trace.c:680) ==31026== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31026== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31026== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31026== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31026== by 0x407FA29: lua_resume (lj_api.c:1296) ==31026== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31026== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31026== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31026== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31026== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31026== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31026== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31026== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31026== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31026== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31026== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31026== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31026== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31026== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31026== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==31026== by 0x8065F8B: main (nginx.c:385) ==31026== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 2: ngx.time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 2: ngx.time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -true -true ' |
stream/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused |
==31027== Invalid read of size 4 ==31027== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31027== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31027== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31027== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31027== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31027== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31027== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31027== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31027== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31027== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31027== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31027== by 0x8065F8B: main (nginx.c:385) ==31027== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31027== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused |
==31027== ==31027== Process terminating with default action of signal 11 (SIGSEGV) ==31027== Access not within mapped region at address 0x0 ==31027== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31027== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31027== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31027== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31027== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31027== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31027== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31027== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31027== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31027== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31027== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31027== by 0x8065F8B: main (nginx.c:385) ==31027== If you believe this happened as a result of a stack ==31027== overflow in your program's main thread (unlikely but ==31027== possible), you can try to increase the size of the ==31027== main thread stack using the --main-stacksize= flag. ==31027== The main thread stack size used in this run was 8388608. ==31027== 512 bytes in 1 blocks are definitely lost in loss record 2,901 of 3,135 ==31027== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31027== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31027== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31027== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31027== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31027== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31027== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31027== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31027== by 0x40BB16A: trace_state (lj_trace.c:680) ==31027== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31027== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31027== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31027== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31027== by 0x407FA29: lua_resume (lj_api.c:1296) ==31027== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31027== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31027== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31027== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31027== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31027== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31027== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31027== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31027== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31027== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31027== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31027== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31027== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31027== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31027== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31027== by 0x8065F8B: main (nginx.c:385) ==31027== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 2: ngx.time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 2: ngx.time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -true -true ' |
stream/time.t | TEST 1: ngx.now() |
==31039== Invalid read of size 4 ==31039== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31039== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31039== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31039== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31039== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31039== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31039== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31039== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31039== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31039== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31039== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31039== by 0x8065F8B: main (nginx.c:385) ==31039== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31039== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 1: ngx.now() |
==31039== ==31039== Process terminating with default action of signal 11 (SIGSEGV) ==31039== Access not within mapped region at address 0x0 ==31039== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31039== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31039== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31039== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31039== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31039== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31039== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31039== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31039== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31039== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31039== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31039== by 0x8065F8B: main (nginx.c:385) ==31039== If you believe this happened as a result of a stack ==31039== overflow in your program's main thread (unlikely but ==31039== possible), you can try to increase the size of the ==31039== main thread stack using the --main-stacksize= flag. ==31039== The main thread stack size used in this run was 8388608. ==31039== 512 bytes in 1 blocks are definitely lost in loss record 2,901 of 3,135 ==31039== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31039== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31039== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31039== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31039== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31039== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31039== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31039== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31039== by 0x40BB16A: trace_state (lj_trace.c:680) ==31039== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31039== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31039== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31039== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31039== by 0x407FA29: lua_resume (lj_api.c:1296) ==31039== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31039== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31039== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31039== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31039== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31039== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31039== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31039== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31039== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31039== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31039== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31039== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31039== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31039== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31039== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31039== by 0x8065F8B: main (nginx.c:385) ==31039== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 1: ngx.now() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/time.t | TEST 1: ngx.now() |
==31060== Invalid read of size 4 ==31060== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31060== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31060== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31060== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31060== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31060== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31060== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31060== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31060== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31060== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31060== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31060== by 0x8065F8B: main (nginx.c:385) ==31060== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31060== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 1: ngx.now() |
==31060== ==31060== Process terminating with default action of signal 11 (SIGSEGV) ==31060== Access not within mapped region at address 0x0 ==31060== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31060== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31060== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31060== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31060== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31060== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31060== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31060== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31060== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31060== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31060== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31060== by 0x8065F8B: main (nginx.c:385) ==31060== If you believe this happened as a result of a stack ==31060== overflow in your program's main thread (unlikely but ==31060== possible), you can try to increase the size of the ==31060== main thread stack using the --main-stacksize= flag. ==31060== The main thread stack size used in this run was 8388608. ==31060== 512 bytes in 1 blocks are definitely lost in loss record 2,901 of 3,135 ==31060== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31060== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31060== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31060== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31060== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31060== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31060== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31060== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31060== by 0x40BB16A: trace_state (lj_trace.c:680) ==31060== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31060== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31060== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31060== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31060== by 0x407FA29: lua_resume (lj_api.c:1296) ==31060== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31060== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31060== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31060== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31060== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31060== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31060== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31060== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31060== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31060== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31060== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31060== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31060== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31060== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31060== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31060== by 0x8065F8B: main (nginx.c:385) ==31060== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 1: ngx.now() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/time.t | TEST 5: ngx.localtime() |
==31072== Invalid read of size 4 ==31072== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31072== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31072== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31072== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31072== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31072== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31072== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31072== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31072== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31072== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31072== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31072== by 0x8065F8B: main (nginx.c:385) ==31072== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31072== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 5: ngx.localtime() |
==31072== ==31072== Process terminating with default action of signal 11 (SIGSEGV) ==31072== Access not within mapped region at address 0x0 ==31072== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31072== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31072== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31072== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31072== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31072== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31072== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31072== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31072== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31072== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31072== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31072== by 0x8065F8B: main (nginx.c:385) ==31072== If you believe this happened as a result of a stack ==31072== overflow in your program's main thread (unlikely but ==31072== possible), you can try to increase the size of the ==31072== main thread stack using the --main-stacksize= flag. ==31072== The main thread stack size used in this run was 8388608. ==31072== 512 bytes in 1 blocks are definitely lost in loss record 2,901 of 3,135 ==31072== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31072== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31072== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31072== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31072== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31072== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31072== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31072== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31072== by 0x40BB16A: trace_state (lj_trace.c:680) ==31072== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31072== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31072== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31072== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31072== by 0x407FA29: lua_resume (lj_api.c:1296) ==31072== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31072== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31072== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31072== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31072== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31072== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31072== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31072== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31072== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31072== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31072== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31072== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31072== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31072== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31072== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31072== by 0x8065F8B: main (nginx.c:385) ==31072== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 5: ngx.localtime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 5: ngx.localtime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 5: ngx.localtime() |
==31093== Invalid read of size 4 ==31093== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31093== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31093== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31093== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31093== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31093== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31093== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31093== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31093== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31093== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31093== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31093== by 0x8065F8B: main (nginx.c:385) ==31093== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31093== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 5: ngx.localtime() |
==31093== ==31093== Process terminating with default action of signal 11 (SIGSEGV) ==31093== Access not within mapped region at address 0x0 ==31093== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31093== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31093== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31093== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31093== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31093== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31093== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31093== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31093== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31093== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31093== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31093== by 0x8065F8B: main (nginx.c:385) ==31093== If you believe this happened as a result of a stack ==31093== overflow in your program's main thread (unlikely but ==31093== possible), you can try to increase the size of the ==31093== main thread stack using the --main-stacksize= flag. ==31093== The main thread stack size used in this run was 8388608. ==31093== 512 bytes in 1 blocks are definitely lost in loss record 2,901 of 3,135 ==31093== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31093== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31093== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31093== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31093== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31093== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31093== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31093== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31093== by 0x40BB16A: trace_state (lj_trace.c:680) ==31093== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31093== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31093== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31093== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31093== by 0x407FA29: lua_resume (lj_api.c:1296) ==31093== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31093== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31093== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31093== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31093== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31093== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31093== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31093== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31093== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31093== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31093== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31093== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31093== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31093== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31093== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31093== by 0x8065F8B: main (nginx.c:385) ==31093== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 5: ngx.localtime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 5: ngx.localtime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 6: ngx.utctime() |
==31105== Invalid read of size 4 ==31105== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31105== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31105== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31105== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31105== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31105== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31105== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31105== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31105== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31105== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31105== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31105== by 0x8065F8B: main (nginx.c:385) ==31105== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31105== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 6: ngx.utctime() |
==31105== ==31105== Process terminating with default action of signal 11 (SIGSEGV) ==31105== Access not within mapped region at address 0x0 ==31105== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31105== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31105== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31105== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31105== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31105== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31105== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31105== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31105== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31105== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31105== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31105== by 0x8065F8B: main (nginx.c:385) ==31105== If you believe this happened as a result of a stack ==31105== overflow in your program's main thread (unlikely but ==31105== possible), you can try to increase the size of the ==31105== main thread stack using the --main-stacksize= flag. ==31105== The main thread stack size used in this run was 8388608. ==31105== 512 bytes in 1 blocks are definitely lost in loss record 2,902 of 3,136 ==31105== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31105== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31105== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31105== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31105== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31105== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31105== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31105== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31105== by 0x40BB16A: trace_state (lj_trace.c:680) ==31105== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31105== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31105== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31105== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31105== by 0x407FA29: lua_resume (lj_api.c:1296) ==31105== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31105== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31105== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31105== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31105== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31105== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31105== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31105== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31105== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31105== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31105== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31105== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31105== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31105== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31105== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31105== by 0x8065F8B: main (nginx.c:385) ==31105== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 6: ngx.utctime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 6: ngx.utctime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 6: ngx.utctime() |
==31126== Invalid read of size 4 ==31126== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31126== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31126== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31126== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31126== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31126== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31126== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31126== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31126== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31126== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31126== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31126== by 0x8065F8B: main (nginx.c:385) ==31126== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31126== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 6: ngx.utctime() |
==31126== ==31126== Process terminating with default action of signal 11 (SIGSEGV) ==31126== Access not within mapped region at address 0x0 ==31126== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31126== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31126== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31126== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31126== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31126== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31126== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31126== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31126== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31126== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31126== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31126== by 0x8065F8B: main (nginx.c:385) ==31126== If you believe this happened as a result of a stack ==31126== overflow in your program's main thread (unlikely but ==31126== possible), you can try to increase the size of the ==31126== main thread stack using the --main-stacksize= flag. ==31126== The main thread stack size used in this run was 8388608. ==31126== 512 bytes in 1 blocks are definitely lost in loss record 2,902 of 3,136 ==31126== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31126== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31126== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31126== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31126== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31126== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31126== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31126== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31126== by 0x40BB16A: trace_state (lj_trace.c:680) ==31126== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31126== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31126== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31126== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31126== by 0x407FA29: lua_resume (lj_api.c:1296) ==31126== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31126== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31126== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31126== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31126== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31126== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31126== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31126== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31126== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31126== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31126== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31126== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31126== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31126== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31126== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31126== by 0x8065F8B: main (nginx.c:385) ==31126== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 6: ngx.utctime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 6: ngx.utctime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 3: ngx.update_time() |
==31138== Invalid read of size 4 ==31138== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31138== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31138== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31138== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31138== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31138== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31138== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31138== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31138== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31138== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31138== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31138== by 0x8065F8B: main (nginx.c:385) ==31138== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31138== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 3: ngx.update_time() |
==31138== ==31138== Process terminating with default action of signal 11 (SIGSEGV) ==31138== Access not within mapped region at address 0x0 ==31138== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31138== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31138== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31138== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31138== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31138== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31138== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31138== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31138== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31138== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31138== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31138== by 0x8065F8B: main (nginx.c:385) ==31138== If you believe this happened as a result of a stack ==31138== overflow in your program's main thread (unlikely but ==31138== possible), you can try to increase the size of the ==31138== main thread stack using the --main-stacksize= flag. ==31138== The main thread stack size used in this run was 8388608. ==31138== 512 bytes in 1 blocks are definitely lost in loss record 2,904 of 3,137 ==31138== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31138== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31138== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31138== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31138== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31138== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31138== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31138== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31138== by 0x40BB16A: trace_state (lj_trace.c:680) ==31138== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31138== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31138== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31138== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31138== by 0x407FA29: lua_resume (lj_api.c:1296) ==31138== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31138== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31138== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31138== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31138== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31138== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31138== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31138== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31138== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31138== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31138== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31138== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31138== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31138== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31138== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31138== by 0x8065F8B: main (nginx.c:385) ==31138== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 3: ngx.update_time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 3: ngx.update_time() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'true ' |
stream/time.t | TEST 3: ngx.update_time() |
==31159== Invalid read of size 4 ==31159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31159== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31159== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31159== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31159== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31159== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31159== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31159== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31159== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31159== by 0x8065F8B: main (nginx.c:385) ==31159== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31159== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 3: ngx.update_time() |
==31159== ==31159== Process terminating with default action of signal 11 (SIGSEGV) ==31159== Access not within mapped region at address 0x0 ==31159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31159== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31159== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31159== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31159== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31159== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31159== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31159== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31159== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31159== by 0x8065F8B: main (nginx.c:385) ==31159== If you believe this happened as a result of a stack ==31159== overflow in your program's main thread (unlikely but ==31159== possible), you can try to increase the size of the ==31159== main thread stack using the --main-stacksize= flag. ==31159== The main thread stack size used in this run was 8388608. ==31159== 512 bytes in 1 blocks are definitely lost in loss record 2,904 of 3,137 ==31159== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31159== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31159== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31159== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31159== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31159== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31159== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31159== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31159== by 0x40BB16A: trace_state (lj_trace.c:680) ==31159== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31159== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31159== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31159== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31159== by 0x407FA29: lua_resume (lj_api.c:1296) ==31159== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31159== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31159== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31159== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31159== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31159== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31159== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31159== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31159== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31159== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31159== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31159== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31159== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31159== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31159== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31159== by 0x8065F8B: main (nginx.c:385) ==31159== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 3: ngx.update_time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 3: ngx.update_time() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'true ' |
stream/time.t | TEST 4: ngx.today() |
==31171== Invalid read of size 4 ==31171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31171== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31171== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31171== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31171== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31171== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31171== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31171== by 0x8065F8B: main (nginx.c:385) ==31171== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31171== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 4: ngx.today() |
==31171== ==31171== Process terminating with default action of signal 11 (SIGSEGV) ==31171== Access not within mapped region at address 0x0 ==31171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31171== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31171== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31171== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31171== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31171== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31171== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31171== by 0x8065F8B: main (nginx.c:385) ==31171== If you believe this happened as a result of a stack ==31171== overflow in your program's main thread (unlikely but ==31171== possible), you can try to increase the size of the ==31171== main thread stack using the --main-stacksize= flag. ==31171== The main thread stack size used in this run was 8388608. ==31171== 512 bytes in 1 blocks are definitely lost in loss record 2,898 of 3,132 ==31171== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31171== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31171== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31171== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31171== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31171== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31171== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31171== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31171== by 0x40BB16A: trace_state (lj_trace.c:680) ==31171== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31171== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31171== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31171== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31171== by 0x407FA29: lua_resume (lj_api.c:1296) ==31171== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31171== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31171== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31171== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31171== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31171== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31171== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31171== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31171== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31171== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31171== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31171== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31171== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31171== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==31171== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==31171== by 0x8065F8B: main (nginx.c:385) ==31171== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 4: ngx.today() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 4: ngx.today() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2})' |
stream/time.t | TEST 4: ngx.today() |
==31192== Invalid read of size 4 ==31192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31192== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31192== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31192== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31192== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31192== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31192== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31192== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31192== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31192== by 0x8065F8B: main (nginx.c:385) ==31192== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31192== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_read_handler fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 4: ngx.today() |
==31192== ==31192== Process terminating with default action of signal 11 (SIGSEGV) ==31192== Access not within mapped region at address 0x0 ==31192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31192== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==31192== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==31192== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31192== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31192== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31192== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31192== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31192== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31192== by 0x8065F8B: main (nginx.c:385) ==31192== If you believe this happened as a result of a stack ==31192== overflow in your program's main thread (unlikely but ==31192== possible), you can try to increase the size of the ==31192== main thread stack using the --main-stacksize= flag. ==31192== The main thread stack size used in this run was 8388608. ==31192== 512 bytes in 1 blocks are definitely lost in loss record 2,898 of 3,132 ==31192== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==31192== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==31192== by 0x40CC146: mem_alloc (lib_aux.c:335) ==31192== by 0x406BA76: lj_mem_realloc (lj_gc.c:859) ==31192== by 0x4065625: lj_ir_growbot (lj_ir.c:105) ==31192== by 0x408A8C6: ir_nextk (lj_ir.c:175) ==31192== by 0x408A8C6: lj_ir_kgc (lj_ir.c:286) ==31192== by 0x409ED21: lj_record_ins (lj_record.c:2110) ==31192== by 0x40BB16A: trace_state (lj_trace.c:680) ==31192== by 0x40678A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31192== by 0x40BC0CC: lj_trace_ins (lj_trace.c:739) ==31192== by 0x40756E6: lj_dispatch_ins (lj_dispatch.c:417) ==31192== by 0x4068FD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31192== by 0x407FA29: lua_resume (lj_api.c:1296) ==31192== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==31192== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==31192== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==31192== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==31192== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==31192== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==31192== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==31192== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==31192== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==31192== by 0x8090997: ngx_epoll_process_events (ngx_epoll_module.c:901) ==31192== by 0x8085341: ngx_process_events_and_timers (ngx_event.c:257) ==31192== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==31192== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==31192== by 0x808F357: ngx_reap_children (ngx_process_cycle.c:678) ==31192== by 0x808F357: ngx_master_process_cycle (ngx_process_cycle.c:180) ==31192== by 0x8065F8B: main (nginx.c:385) ==31192== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kgc fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_reap_children fun:ngx_master_process_cycle fun:main } |
stream/time.t | TEST 4: ngx.today() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 4: ngx.today() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2})' |
time.t | TEST 7: ngx.cookie_time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ Thu, 18-Nov-10 11:27:35 GMT -Sun, 18-Sep-2039 23:06:40 GMT +Thu, 01-Jan-70 00:00:00 GMT ' |
time.t | TEST 7: ngx.cookie_time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ Thu, 18-Nov-10 11:27:35 GMT -Sun, 18-Sep-2039 23:06:40 GMT +Thu, 01-Jan-70 00:00:00 GMT ' |
File | Name | Details |
---|---|---|
errlog.t | TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#10 log level:6 log body:2020/10/27 05:29:40 [notice] 6128\#0: start worker processes log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *107 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *108 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *109 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *110 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *111 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *112 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *113 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *114 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *115 client 127.0.0.1 closed keepalive connection) |
'log lines: #10 log level:6 log body:2020/10/27 05:29:40 [notice] 6128#0: start worker processes log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *107 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *108 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *109 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *110 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *111 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *112 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *113 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *114 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *115 client 127.0.0.1 closed keepalive connection ' doesn't match '(?^s:\Alog lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" \z)' |
errlog.t | TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#10 log level:7 log body:2020/10/27 05:29:41 [info] 6254\#0: *116 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *117 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *118 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *119 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *120 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *121 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *122 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *123 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *124 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254\#0: *125 client 127.0.0.1 closed keepalive connection) |
'log lines: #10 log level:7 log body:2020/10/27 05:29:41 [info] 6254#0: *116 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *117 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *118 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *119 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *120 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *121 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *122 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *123 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *124 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:42 [info] 6254#0: *125 client 127.0.0.1 closed keepalive connection ' doesn't match '(?^s:\Alog lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" \z)' |
errlog.t | TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:10 ' expected: 'log lines:3 ' |
errlog.t | TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 1, req 0) |
got: 'log lines:10 ' expected: 'log lines:3 ' |
errlog.t | TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected (maybe log lines: \#10 log level:6 log body:2020/10/27 05:29:55 [notice] 6128\#0: start worker processes log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *282 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *283 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *284 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *285 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *286 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *287 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *288 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *289 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *290 client 127.0.0.1 closed keepalive connection end maybe log lines: \#10 log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *291 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *292 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *293 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457\#0: *294 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457\#0: *295 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457\#0: *296 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457\#0: *297 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457\#0: *298 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457\#0: *299 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457\#0: *300 client 127.0.0.1 closed keepalive connection end) |
'maybe log lines: #10 log level:6 log body:2020/10/27 05:29:55 [notice] 6128#0: start worker processes log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *282 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *283 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *284 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *285 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *286 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *287 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *288 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *289 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *290 client 127.0.0.1 closed keepalive connection end maybe log lines: #10 log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *291 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *292 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *293 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:56 [info] 6457#0: *294 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457#0: *295 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457#0: *296 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457#0: *297 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457#0: *298 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457#0: *299 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:29:57 [info] 6457#0: *300 client 127.0.0.1 closed keepalive connection end ' doesn't match '(?^s:\Amaybe log lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end maybe log lines: #1 end \z)' |
errlog.t | TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected (maybe log lines: \#3 log level:7 log body:2020/10/27 05:29:57 [info] 6457\#0: *301 client 127.0.0.1 closed keepalive connection log level:4 log body:2020/10/27 05:29:57 [error] 6457\#0: *302 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level:4 log body:2020/10/27 05:29:57 [error] 6457\#0: *303 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end maybe log lines: \#3 end) |
'maybe log lines: #3 log level:7 log body:2020/10/27 05:29:57 [info] 6457#0: *301 client 127.0.0.1 closed keepalive connection log level:4 log body:2020/10/27 05:29:57 [error] 6457#0: *302 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level:4 log body:2020/10/27 05:29:57 [error] 6457#0: *303 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end maybe log lines: #3 end ' doesn't match '(?^s:\Amaybe log lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end maybe log lines: #1 end \z)' |
errlog.t | TEST 30: ringbuf sentinel bug1 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ log lines: \#2 -AAA +aaa aaa ' |
errlog.t | TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:10 ' expected: 'log lines:2 ' |
errlog.t | TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 1, req 0) |
got: 'log lines:10 ' expected: 'log lines:2 ' |
errlog.t | TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:10 ' expected: 'log lines:0 ' |
errlog.t | TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 1, req 0) |
got: 'log lines:10 ' expected: 'log lines:0 ' |
errlog.t | TEST 29: ringbuf overflow bug - response_body_like - response is expected (log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********21, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********22, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********23, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********24, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********25, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********26, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********27, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********28, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841\#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost") |
'log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********21, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********22, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********23, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********24, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********25, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********26, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********27, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********28, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.069 log body: 2020/10/27 05:30:27 [error] 6841#0: *633 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" ' doesn't match '(?^s:log level: 4 log time: \d+(?:\.\d+)? log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: \d{10}(?:\.\d+)? log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")' |
errlog.t | TEST 29: ringbuf overflow bug - response_body_like - response is expected (log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********31, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********32, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********33, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********34, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********35, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********36, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********37, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841\#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********38, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost") |
'log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********31, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********32, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********33, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********34, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********35, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********36, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********37, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603776627.594 log body: 2020/10/27 05:30:27 [error] 6841#0: *634 [lua] content_by_lua(nginx.conf:84):8: **********38, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" ' doesn't match '(?^s:log level: 4 log time: \d+(?:\.\d+)? log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: \d{10}(?:\.\d+)? log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")' |
errlog.t | TEST 31: ringbuf sentinel bug2 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ log lines: \#18 -log lines: \#8 +log lines: \#10 ' |
errlog.t | nginx: [emerg] | invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua:6: process type: privileged" should match a line in error.log (req 1) |
Looks like you failed 1 test of 8. |
process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "process type: worker\x{0a}" length: 21 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 15 (line 1 column 15) |
process-type-single.t | TEST 1: sanity - grep_error_log_out (req 0) |
'[TRACE 1 init_by_lua:18 loop] [TRACE 2 init_worker_by_lua:4 loop] [TRACE 2 content_by_lua(nginx.conf:84):4 loop] process type in init_by_lua*: master init_worker_by_lua:10: process type: worker ' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua:10: process type: single )' |
process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "process type: worker\x{0a}" length: 21 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 15 (line 1 column 15) |
process-type-single.t | TEST 1: sanity - grep_error_log_out (req 1) |
'[TRACE 1 init_by_lua:18 loop] [TRACE 2 init_worker_by_lua:4 loop] [TRACE 2 content_by_lua(nginx.conf:84):4 loop] process type in init_by_lua*: master init_worker_by_lua:10: process type: worker ' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua:10: process type: single )' |
re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 0, req 0) |
got: 'from: 1 to: 1563 ' expected: 'error: pcre_exec() failed: -27 ' |
re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 1, req 0) |
got: 'from: 1 to: 1563 ' expected: 'error: pcre_exec() failed: -27 ' |
re-sub.t | ERROR: client socket timed out - TEST 5: replace template + submatches (exceeding buffers) |
' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
re-sub.t | ERROR: client socket timed out - TEST 5: replace template + submatches (exceeding buffers) |
' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
request.t | TEST 7: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) |
got: "true\x{0a}>= 0.099: true\x{0a}< 0.11: false\x{0a}" length: 34 expected: "true\x{0a}>= 0.099: true\x{0a}< 0.11: true\x{0a}" length: 33 strings begin to differ at char 29 (line 3 column 9) |
request.t | TEST 7: ngx.req.start_time() - response_body - response is expected (repeated req 1, req 0) |
got: "true\x{0a}>= 0.099: true\x{0a}< 0.11: false\x{0a}" length: 34 expected: "true\x{0a}>= 0.099: true\x{0a}< 0.11: true\x{0a}" length: 33 strings begin to differ at char 29 (line 3 column 9) |
semaphore.t | TEST 17: semaphore post in all phase (in a request) - grep_error_log_out (req 0) |
got: 'sem: timeout, sem: 6 times, ' expected: 'sem: 6 times, ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:20 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:20 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:20 [debug] 18275\#0: *931 event timer add: 0: 1000:8434906 2020/10/27 05:53:20 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:20 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:20 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:20 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:20 [debug] 18275\#0: worker cycle 2020/10/27 05:53:20 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:20 [debug] 18275\#0: epoll: fd:6 ev:0001 d:052B8D8D ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:21 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:21 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:21 [debug] 18275\#0: *931 event timer add: 0: 1000:8435914 2020/10/27 05:53:21 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:21 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:21 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:21 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:21 [debug] 18275\#0: worker cycle 2020/10/27 05:53:21 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:21 [debug] 18308\#0: epoll: fd:7 ev:0001 d:04F0E218 ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:22 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:22 [error] 18275\#0: *931 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer 2020/10/27 05:53:22 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:22 [debug] 18275\#0: *931 event timer add: 0: 1000:8436918 2020/10/27 05:53:22 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:22 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:22 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:22 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:22 [debug] 18275\#0: worker cycle 2020/10/27 05:53:22 [debug] 18275\#0: epoll timer: 1000 ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:22 [error] 18275\#0: *931 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer" (req 0) |
2020/10/27 05:53:22 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:22 [debug] 18275\#0: *931 event timer add: 0: 1000:8436918 2020/10/27 05:53:22 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:22 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:22 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:22 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:22 [debug] 18275\#0: worker cycle 2020/10/27 05:53:22 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:22 [debug] 18308\#0: epoll: fd:7 ev:0001 d:04F0E218 ' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:23 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:23 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:23 [debug] 18275\#0: *931 event timer add: 0: 1000:8437922 2020/10/27 05:53:23 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:23 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:23 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:23 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:23 [debug] 18275\#0: worker cycle 2020/10/27 05:53:23 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:23 [debug] 17198\#0: malloc: 056FA660:17 ' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:24 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:24 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:24 [debug] 18275\#0: *931 event timer add: 0: 1000:8438922 2020/10/27 05:53:24 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:24 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:24 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:24 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:24 [debug] 18275\#0: worker cycle 2020/10/27 05:53:24 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:24 [debug] 18340\#0: *985 accept: 127.0.0.1:51873 fd:4 ' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:25 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:25 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:25 [debug] 18275\#0: *931 event timer add: 0: 1000:8439926 2020/10/27 05:53:25 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:25 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:25 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:25 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:25 [debug] 18275\#0: worker cycle 2020/10/27 05:53:25 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:25 [debug] 18340\#0: epoll: fd:7 ev:0001 d:056F7070 ' |
semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:27 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:27 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:27 [debug] 18275\#0: *931 event timer add: 0: 1000:8441930 2020/10/27 05:53:27 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:27 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:27 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:27 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:27 [debug] 18275\#0: worker cycle 2020/10/27 05:53:27 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:27 [debug] 18340\#0: *1011 free: 05F409A0, unused: 0 ' |
semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:28 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:28 [debug] 18372\#0: *1019 writev: 168 of 168 2020/10/27 05:53:28 [debug] 18372\#0: *1019 http write filter 00000000 2020/10/27 05:53:28 [error] 18275\#0: *931 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer 2020/10/27 05:53:28 [debug] 18372\#0: *1019 http copy filter: 0 "/ver?" 2020/10/27 05:53:28 [debug] 18372\#0: *1019 http finalize request: 0, "/ver?" a:1, c:1 2020/10/27 05:53:28 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:28 [debug] 18372\#0: *1019 set http keepalive handler 2020/10/27 05:53:28 [debug] 18275\#0: *931 event timer add: 0: 1000:8442930 2020/10/27 05:53:28 [debug] 18372\#0: *1019 http close request ' |
semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:28 [error] 18275\#0: *931 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer" (req 0) |
2020/10/27 05:53:28 [debug] 18372\#0: *1019 http copy filter: 0 "/ver?" 2020/10/27 05:53:28 [debug] 18372\#0: *1019 http finalize request: 0, "/ver?" a:1, c:1 2020/10/27 05:53:28 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:28 [debug] 18372\#0: *1019 set http keepalive handler 2020/10/27 05:53:28 [debug] 18275\#0: *931 event timer add: 0: 1000:8442930 2020/10/27 05:53:28 [debug] 18372\#0: *1019 http close request 2020/10/27 05:53:28 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:28 [debug] 18372\#0: *1019 http log handler 2020/10/27 05:53:28 [debug] 18275\#0: *931 lua resume returned 1 ' |
semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:29 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:29 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:29 [debug] 18275\#0: *931 event timer add: 0: 1000:8443934 2020/10/27 05:53:29 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:29 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:29 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:29 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:29 [debug] 18275\#0: worker cycle 2020/10/27 05:53:29 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:29 [debug] 18372\#0: malloc: 064AC398:327612 ' |
semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:30 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:30 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:30 [debug] 18275\#0: *931 event timer add: 0: 1000:8444938 2020/10/27 05:53:30 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:30 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:30 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:30 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:30 [debug] 18275\#0: worker cycle 2020/10/27 05:53:30 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:30 [debug] 17198\#0: malloc: 05CDCF00:2048 ' |
semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:31 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:31 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:31 [debug] 18275\#0: *931 event timer add: 0: 1000:8445942 2020/10/27 05:53:31 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:31 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:31 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:31 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:31 [debug] 18275\#0: worker cycle 2020/10/27 05:53:31 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:31 [debug] 18405\#0: epoll: fd:7 ev:0001 d:0543BEF8 ' |
semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:53:32 [error] 18275\#0: *931 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 05:53:32 [debug] 18275\#0: http lua semaphore wait: 0637702C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 05:53:32 [debug] 18275\#0: *931 event timer add: 0: 1000:8446946 2020/10/27 05:53:32 [debug] 18275\#0: http lua semaphore wait yielding 2020/10/27 05:53:32 [debug] 18275\#0: *931 lua resume returned 1 2020/10/27 05:53:32 [debug] 18275\#0: *931 lua thread yielded 2020/10/27 05:53:32 [debug] 18275\#0: *931 lua run thread returned -2 2020/10/27 05:53:32 [debug] 18275\#0: worker cycle 2020/10/27 05:53:32 [debug] 18275\#0: epoll timer: 1000 2020/10/27 05:53:32 [debug] 18405\#0: epoll: fd:7 ev:0001 d:0543BEF8 ' |
shared.t | TEST 3: shared.ttl returns error on not found key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get ttl: not found ' |
shared.t | TEST 3: shared.ttl returns error on not found key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get ttl: not found ' |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - response_body_like - response is expected (0.2 sleep for 0.1s... -0.042) |
'0.2 sleep for 0.1s... -0.042 ' doesn't match '(?^s:\A0.2 sleep for 0.1s... 0.\d* \z)' |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:received memc reply: STORED)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:received memc reply: STORED)" should match a line in error.log (req 1) | |
stream/errlog.t | TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#2 log level:6 log body:2020/10/27 06:06:18 [notice] 23210\#0: start worker processes log level:4 log body:2020/10/27 06:06:20 [error] 23311\#0: *123 stream [lua] content_by_lua(nginx.conf:67):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985) |
'log lines: #2 log level:6 log body:2020/10/27 06:06:18 [notice] 23210#0: start worker processes log level:4 log body:2020/10/27 06:06:20 [error] 23311#0: *123 stream [lua] content_by_lua(nginx.conf:67):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\Alog lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:4 ' expected: 'log lines:3 ' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected (log lines: \#32 log level:5 log body:2020/10/27 06:06:29 [warn] 23431\#0: *243 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:29 [error] 23431\#0: *243 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:29 [warn] 23431\#0: *243 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:29 [error] 23431\#0: *243 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:29 [warn] 23431\#0: *243 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:29 [error] 23431\#0: *243 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) |
'log lines: #32 log level:5 log body:2020/10/27 06:06:29 [warn] 23431#0: *243 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:29 [error] 23431#0: *243 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:29 [warn] 23431#0: *243 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:29 [error] 23431#0: *243 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:29 [warn] 23431#0: *243 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:29 [error] 23431#0: *243 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\A(?:log lines: #33 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected (log lines: \#32 log level:5 log body:2020/10/27 06:06:30 [warn] 23431\#0: *246 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:30 [error] 23431\#0: *246 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:30 [warn] 23431\#0: *246 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:30 [error] 23431\#0: *246 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:30 [warn] 23431\#0: *246 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:30 [error] 23431\#0: *246 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) |
'log lines: #32 log level:5 log body:2020/10/27 06:06:30 [warn] 23431#0: *246 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:30 [error] 23431#0: *246 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:30 [warn] 23431#0: *246 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:30 [error] 23431#0: *246 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:06:30 [warn] 23431#0: *246 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:06:30 [error] 23431#0: *246 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\A(?:log lines: #33 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17 |
stream/errlog.t | TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:1 ' expected: 'log lines:0 ' |
stream/errlog.t | TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2020/10/27 06:07:05 [warn] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:05 [warn] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2020/10/27 06:07:05 [error] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:05 [warn] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810\#0: *123 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985) |
'msg count: 3 log level:5 log body:2020/10/27 06:07:05 [warn] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:05 [warn] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2020/10/27 06:07:05 [error] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:05 [warn] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:05 [error] 23810#0: *123 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\Amsg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2020/10/27 06:07:06 [warn] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:06 [warn] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2020/10/27 06:07:06 [error] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:06 [warn] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810\#0: *126 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985) |
'msg count: 3 log level:5 log body:2020/10/27 06:07:06 [warn] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:06 [warn] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2020/10/27 06:07:06 [error] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 06:07:06 [warn] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 06:07:06 [error] 23810#0: *126 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\Amsg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | TEST 3: client connected info - grep_error_log_out (req 0) |
'client 127.0.0.1:47268 connected to capture log line:10 ' doesn't match '(?^:^client .*? connected to .*? capture log line:1 $)' |
stream/errlog.t | TEST 3: client connected info - grep_error_log_out (req 1) |
'client 127.0.0.1:47270 connected to capture log line:10 ' doesn't match '(?^:^client .*? connected to .*? capture log line:2 $)' |
stream/errlog.t | TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:3 ' expected: 'log lines:2 ' |
stream/errlog.t | TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected (maybe log lines: \#2 log level:6 log body:2020/10/27 06:07:11 [notice] 23707\#0: start worker processes log level:4 log body:2020/10/27 06:07:13 [error] 23900\#0: *213 stream [lua] content_by_lua(nginx.conf:75):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985 end maybe log lines: \#2 end) |
'maybe log lines: #2 log level:6 log body:2020/10/27 06:07:11 [notice] 23707#0: start worker processes log level:4 log body:2020/10/27 06:07:13 [error] 23900#0: *213 stream [lua] content_by_lua(nginx.conf:75):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985 end maybe log lines: #2 end ' doesn't match '(?^s:\Amaybe log lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: 0.0.0.0:\d+ end maybe log lines: #1 end \z)' |
stream/errlog.t | nginx: [emerg] | invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17 |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - grep_error_log_out (req 1) |
got: '' expected: 'free semaphore block ' |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - grep_error_log_out (req 1) |
got: 'sem count: 1, sem wait: API disabled in the context of init_worker_by_lua*, ' expected: '' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - grep_error_log_out (req 0) |
got: 'sem: timeout, sem: 3 times, ' expected: 'sem: 3 times, ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:18 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:18 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:18 [debug] 28007\#0: *420 event timer add: 0: 1000:9872622 2020/10/27 06:17:18 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:18 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:18 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:18 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:18 [debug] 28007\#0: worker cycle 2020/10/27 06:17:18 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:18 [debug] 28007\#0: epoll: fd:8 ev:0001 d:04A0CFAC ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:19 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:19 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:19 [debug] 28007\#0: *420 event timer add: 0: 1000:9873630 2020/10/27 06:17:19 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:19 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:19 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:19 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:19 [debug] 28007\#0: worker cycle 2020/10/27 06:17:19 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:19 [debug] 28018\#0: epoll: fd:8 ev:0001 d:05F7550C ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:20 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:20 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:17:20 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:20 [debug] 28007\#0: *420 event timer add: 0: 1000:9874634 2020/10/27 06:17:20 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:20 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:20 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:20 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:20 [debug] 28007\#0: worker cycle 2020/10/27 06:17:20 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:20 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:17:20 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:20 [debug] 28007\#0: *420 event timer add: 0: 1000:9874634 2020/10/27 06:17:20 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:20 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:20 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:20 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:20 [debug] 28007\#0: worker cycle 2020/10/27 06:17:20 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:20 [debug] 28018\#0: *446 malloc: 05E2DB38:16 ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:26 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:26 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:17:26 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:26 [debug] 28007\#0: *420 event timer add: 0: 1000:9880658 2020/10/27 06:17:26 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:26 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:26 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:26 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:26 [debug] 28007\#0: worker cycle 2020/10/27 06:17:26 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:26 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:17:26 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:26 [debug] 28007\#0: *420 event timer add: 0: 1000:9880658 2020/10/27 06:17:26 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:26 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:26 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:26 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:26 [debug] 28007\#0: worker cycle 2020/10/27 06:17:26 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:26 [debug] 28073\#0: epoll: fd:8 ev:0001 d:061E50BC ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:27 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:27 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:27 [debug] 28007\#0: *420 event timer add: 0: 1000:9881662 2020/10/27 06:17:27 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:27 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:27 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:27 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:27 [debug] 28007\#0: worker cycle 2020/10/27 06:17:27 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:27 [debug] 28084\#0: epoll: fd:8 ev:0001 d:04AA351C ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:28 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:28 [debug] 28084\#0: *505 lua capture header filter, uri "/ver" 2020/10/27 06:17:28 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:28 [debug] 28084\#0: *505 malloc: 04ED0B70:52 2020/10/27 06:17:28 [debug] 28007\#0: *420 event timer add: 0: 1000:9882666 2020/10/27 06:17:28 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:28 [debug] 28084\#0: *505 malloc: 04ED57A0:8 2020/10/27 06:17:28 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:28 [debug] 28084\#0: *505 malloc: 04EB5BA8:176 2020/10/27 06:17:28 [debug] 28007\#0: *420 lua thread yielded ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:29 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 1) |
2020/10/27 06:17:29 [debug] 28105\#0: *513 stream socket 6 2020/10/27 06:17:29 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:17:29 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:29 [debug] 28007\#0: *420 event timer add: 0: 1000:9883666 2020/10/27 06:17:29 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:29 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:29 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:29 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:29 [debug] 28007\#0: worker cycle ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:29 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 1) |
2020/10/27 06:17:29 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:29 [debug] 28007\#0: *420 event timer add: 0: 1000:9883666 2020/10/27 06:17:29 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:29 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:29 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:29 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:29 [debug] 28007\#0: worker cycle 2020/10/27 06:17:29 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:29 [debug] 28105\#0: *513 epoll add connection: fd:6 ev:80002005 ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:30 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:29 [debug] 27569\#0: malloc: 04D3CF40:32 2020/10/27 06:17:29 [debug] 27569\#0: malloc: 04EB9938:8 2020/10/27 06:17:30 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:29 [debug] 27569\#0: malloc: 04D3CF90:28 2020/10/27 06:17:30 [debug] 28007\#0: *420 event timer add: 0: 1000:9884666 2020/10/27 06:17:29 [debug] 27569\#0: malloc: 04EEB858:8 2020/10/27 06:17:30 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:29 [debug] 27569\#0: malloc: 04F04C48:8 2020/10/27 06:17:30 [debug] 28007\#0: *420 lua resume returned 1 ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:31 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:31 [debug] 28117\#0: epoll timer: 60000 2020/10/27 06:17:31 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:31 [debug] 28007\#0: *420 event timer add: 0: 1000:9885670 2020/10/27 06:17:31 [debug] 28117\#0: epoll: fd:4 ev:0001 d:04DFA3C0 2020/10/27 06:17:31 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:31 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:31 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:31 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:31 [debug] 28007\#0: worker cycle ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:32 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:32 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:17:32 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:32 [debug] 28007\#0: *420 event timer add: 0: 1000:9886674 2020/10/27 06:17:32 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:32 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:32 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:32 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:32 [debug] 28007\#0: worker cycle 2020/10/27 06:17:32 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:32 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:17:32 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:32 [debug] 28007\#0: *420 event timer add: 0: 1000:9886674 2020/10/27 06:17:32 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:32 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:32 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:32 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:32 [debug] 28007\#0: worker cycle 2020/10/27 06:17:32 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:32 [debug] 28117\#0: epoll: fd:8 ev:0001 d:04DFA264 ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:33 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 1) |
2020/10/27 06:17:33 [notice] 27569\#0: start worker process 28138 2020/10/27 06:17:33 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:33 [debug] 28007\#0: *420 event timer add: 0: 1000:9887674 2020/10/27 06:17:33 [debug] 27569\#0: pass channel s:2 pid:28138 fd:6 to s:1 pid:28007 fd:3 2020/10/27 06:17:33 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:33 [debug] 27569\#0: sigsuspend 2020/10/27 06:17:33 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:33 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:33 [debug] 28007\#0: *420 lua run thread returned -2 ' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - grep_error_log_out (req 1) |
got: 'new block, alloc semaphore ' expected: 'from head of free queue, alloc semaphore ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +1,8 @@ sem: timeout, +sem: 3 times, +sem: timeout, +sem: timeout, +sem: timeout, sem: 1, +sem: timeout, +sem: 3 times, ' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - grep_error_log_out (req 0) |
@@ -1,2 +1,7 @@ +sem: timeout, +sem: timeout, +sem: timeout, +sem: 3 times, +sem: timeout, sem: 1 while returning text, sem: API disabled in the context of log_by_lua* while returning text, ' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - grep_error_log_out (req 1) |
@@ -1,2 +1,3 @@ sem: 1 while returning text, sem: API disabled in the context of log_by_lua* while returning text, +sem: timeout, ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:59 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:17:59 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:17:59 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:59 [debug] 28007\#0: *420 event timer add: 0: 1000:9913750 2020/10/27 06:17:59 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:59 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:59 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:59 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:59 [debug] 28007\#0: worker cycle 2020/10/27 06:17:59 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:17:59 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:17:59 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:17:59 [debug] 28007\#0: *420 event timer add: 0: 1000:9913750 2020/10/27 06:17:59 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:17:59 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:17:59 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:17:59 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:17:59 [debug] 28007\#0: worker cycle 2020/10/27 06:17:59 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:17:58 [debug] 27569\#0: malloc: 04CFF660:8 ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:00 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:00 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:00 [debug] 28007\#0: *420 event timer add: 0: 1000:9914750 2020/10/27 06:18:00 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:00 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:00 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:00 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:00 [debug] 28007\#0: worker cycle 2020/10/27 06:18:00 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:00 [debug] 28318\#0: *708 http request line: "GET /ver HTTP/1.1" ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:01 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:01 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:01 [debug] 28007\#0: *420 event timer add: 0: 1000:9915754 2020/10/27 06:18:01 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:01 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:01 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:01 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:01 [debug] 28007\#0: worker cycle 2020/10/27 06:18:01 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:01 [debug] 28318\#0: timer delta: 16 ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - grep_error_log_out (req 1) |
got: 'sem count: 2, ' expected: '' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:02 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 1) |
2020/10/27 06:18:02 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:18:02 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:02 [debug] 28007\#0: *420 event timer add: 0: 1000:9916758 2020/10/27 06:18:02 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:02 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:02 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:02 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:02 [debug] 28007\#0: worker cycle 2020/10/27 06:18:02 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:02 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 1) |
2020/10/27 06:18:02 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:02 [debug] 28007\#0: *420 event timer add: 0: 1000:9916758 2020/10/27 06:18:02 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:02 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:02 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:02 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:02 [debug] 28007\#0: worker cycle 2020/10/27 06:18:02 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:02 [debug] 28339\#0: testing the EPOLLRDHUP flag: success ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:03 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:03 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:03 [debug] 28007\#0: *420 event timer add: 0: 1000:9917762 2020/10/27 06:18:03 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:03 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:03 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:03 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:03 [debug] 28007\#0: worker cycle 2020/10/27 06:18:03 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:03 [debug] 28340\#0: reopen file "/home/ec2-user/git/lua-resty-core/t/servroot/logs/access.log", old:13 new:12 ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:04 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:04 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:04 [debug] 28007\#0: *420 event timer add: 0: 1000:9918762 2020/10/27 06:18:04 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:04 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:04 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:04 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:04 [debug] 28007\#0: worker cycle 2020/10/27 06:18:04 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:03 [debug] 27569\#0: child: 0 28351 e:0 t:0 d:0 r:1 j:1 ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:05 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:05 [debug] 28351\#0: *748 malloc: 04AF8D68:8 2020/10/27 06:18:05 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:18:05 [debug] 28351\#0: *748 malloc: 04B11788:8 2020/10/27 06:18:05 [debug] 28351\#0: *748 write new buf t:0 f:0 00000000, pos 04E0D700, size: 10 file: 0, size: 0 2020/10/27 06:18:05 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:05 [debug] 28351\#0: *748 http write filter: l:1 f:0 s:168 2020/10/27 06:18:05 [debug] 28007\#0: *420 event timer add: 0: 1000:9919766 2020/10/27 06:18:05 [debug] 28351\#0: *748 http write filter limit 0 2020/10/27 06:18:05 [debug] 28007\#0: stream lua semaphore wait yielding ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:05 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:18:05 [debug] 28351\#0: *748 malloc: 04B11788:8 2020/10/27 06:18:05 [debug] 28351\#0: *748 write new buf t:0 f:0 00000000, pos 04E0D700, size: 10 file: 0, size: 0 2020/10/27 06:18:05 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:05 [debug] 28351\#0: *748 http write filter: l:1 f:0 s:168 2020/10/27 06:18:05 [debug] 28007\#0: *420 event timer add: 0: 1000:9919766 2020/10/27 06:18:05 [debug] 28351\#0: *748 http write filter limit 0 2020/10/27 06:18:05 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:05 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:05 [debug] 28351\#0: *748 writev: 168 of 168 ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:06 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:06 [debug] 28351\#0: malloc: 061C6AF0:8 2020/10/27 06:18:06 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:06 [debug] 28007\#0: *420 event timer add: 0: 1000:9920766 2020/10/27 06:18:06 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:06 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:06 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:06 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:06 [debug] 28007\#0: worker cycle 2020/10/27 06:18:06 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:08 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:08 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:18:08 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:08 [debug] 28007\#0: *420 event timer add: 0: 1000:9922770 2020/10/27 06:18:08 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:08 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:08 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:08 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:08 [debug] 28007\#0: worker cycle 2020/10/27 06:18:08 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:08 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:18:08 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:08 [debug] 28007\#0: *420 event timer add: 0: 1000:9922770 2020/10/27 06:18:08 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:08 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:08 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:08 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:08 [debug] 28007\#0: worker cycle 2020/10/27 06:18:08 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:07 [debug] 27569\#0: malloc: 049CF070:2048 ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:09 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:09 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:09 [debug] 28007\#0: *420 event timer add: 0: 1000:9923770 2020/10/27 06:18:09 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:09 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:09 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:09 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:09 [debug] 28007\#0: worker cycle 2020/10/27 06:18:09 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:09 [debug] 28384\#0: epoll: fd:8 ev:0001 d:04B03B7C ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:10 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:10 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:10 [debug] 28007\#0: *420 event timer add: 0: 1000:9924774 2020/10/27 06:18:10 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:10 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:10 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:10 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:10 [debug] 28007\#0: worker cycle 2020/10/27 06:18:10 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:10 [debug] 28384\#0: epoll: fd:8 ev:0001 d:04B03B7C ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:11 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 1) |
2020/10/27 06:18:11 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:18:11 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:11 [debug] 28007\#0: *420 event timer add: 0: 1000:9925774 2020/10/27 06:18:11 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:11 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:11 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:11 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:11 [debug] 28007\#0: worker cycle 2020/10/27 06:18:11 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:11 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 1) |
2020/10/27 06:18:11 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:11 [debug] 28007\#0: *420 event timer add: 0: 1000:9925774 2020/10/27 06:18:11 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:11 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:11 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:11 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:11 [debug] 28007\#0: worker cycle 2020/10/27 06:18:11 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:11 [debug] 28407\#0: *795 malloc: 04AB17B0:10 ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:12 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:12 [debug] 27569\#0: malloc: 05C6BE20:2048 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04F13728:168 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04DA0438:8 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04FED340:2240 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04DFD110:8 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04FA17A8:64 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04E64E48:8 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04F13800:144 2020/10/27 06:18:12 [debug] 27569\#0: malloc: 04A55340:8 ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:13 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:13 [debug] 28408\#0: setproctitle: "nginx: worker process is shutting down" 2020/10/27 06:18:13 [debug] 28408\#0: epoll del event: fd:7 op:2 ev:00000000 2020/10/27 06:18:13 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:13 [debug] 28408\#0: close listening 0.0.0.0:1985 \#7 2020/10/27 06:18:13 [debug] 28007\#0: *420 event timer add: 0: 1000:9927782 2020/10/27 06:18:13 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:13 [debug] 28408\#0: epoll del event: fd:8 op:2 ev:00000000 2020/10/27 06:18:13 [debug] 28408\#0: close listening 0.0.0.0:1984 \#8 2020/10/27 06:18:13 [debug] 28007\#0: *420 lua resume returned 1 ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:14 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:14 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:18:14 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:14 [debug] 28007\#0: *420 event timer add: 0: 1000:9928782 2020/10/27 06:18:14 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:14 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:14 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:14 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:14 [debug] 28007\#0: worker cycle 2020/10/27 06:18:14 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:14 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:18:14 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:14 [debug] 28007\#0: *420 event timer add: 0: 1000:9928782 2020/10/27 06:18:14 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:14 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:14 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:14 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:14 [debug] 28007\#0: worker cycle 2020/10/27 06:18:14 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:14 [debug] 28419\#0: epoll: fd:8 ev:0001 d:04B6EF54 ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:15 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:15 [debug] 28419\#0: stream lua semaphore wait: 064A221C, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:15 [debug] 28419\#0: *825 event timer add: 0: 1000:9929662 2020/10/27 06:18:15 [debug] 28419\#0: stream lua semaphore wait yielding 2020/10/27 06:18:15 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:15 [debug] 28007\#0: *420 event timer add: 0: 1000:9929810 2020/10/27 06:18:15 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:15 [debug] 28419\#0: *825 lua resume returned 1 2020/10/27 06:18:15 [debug] 28419\#0: *825 lua thread yielded 2020/10/27 06:18:15 [debug] 28007\#0: *420 lua resume returned 1 ' |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +1,6 @@ sem: timeout, +sem: timeout, +sem: timeout, +sem: 3 times, +sem: timeout, sem: 1, ' |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +1,3 @@ sem: timeout, +sem: timeout, sem: 1, ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:28 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:28 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:28 [debug] 28007\#0: *420 event timer add: 0: 1000:9942854 2020/10/27 06:18:28 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:28 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:28 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:28 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:28 [debug] 28007\#0: worker cycle 2020/10/27 06:18:28 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:28 [debug] 28506\#0: *891 http log handler ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:29 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:29 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer 2020/10/27 06:18:29 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:29 [debug] 28007\#0: *420 event timer add: 0: 1000:9943858 2020/10/27 06:18:29 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:29 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:29 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:29 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:29 [debug] 28007\#0: worker cycle 2020/10/27 06:18:29 [debug] 28007\#0: epoll timer: 1000 ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:29 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 0) |
2020/10/27 06:18:29 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:29 [debug] 28007\#0: *420 event timer add: 0: 1000:9943858 2020/10/27 06:18:29 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:29 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:29 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:29 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:29 [debug] 28007\#0: worker cycle 2020/10/27 06:18:29 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:28 [debug] 27569\#0: child: 0 28506 e:0 t:0 d:0 r:1 j:0 ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:30 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:30 [debug] 28517\#0: malloc: 05756300:8 2020/10/27 06:18:30 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:30 [debug] 28517\#0: malloc: 058AC3C0:12 2020/10/27 06:18:30 [debug] 28007\#0: *420 event timer add: 0: 1000:9944862 2020/10/27 06:18:30 [debug] 28517\#0: malloc: 058CC158:8 2020/10/27 06:18:30 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:30 [debug] 28517\#0: *904 event timer add: 4: 60000:10003858 2020/10/27 06:18:30 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:30 [debug] 28517\#0: *904 reusable connection: 1 ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 06:18:31 [error] 28007\#0: *420 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
2020/10/27 06:18:31 [debug] 28007\#0: stream lua semaphore wait: 0607A9C4, timeout: 1000, resources: 0, event posted: 0 2020/10/27 06:18:31 [debug] 28007\#0: *420 event timer add: 0: 1000:9945866 2020/10/27 06:18:31 [debug] 28007\#0: stream lua semaphore wait yielding 2020/10/27 06:18:31 [debug] 28007\#0: *420 lua resume returned 1 2020/10/27 06:18:31 [debug] 28007\#0: *420 lua thread yielded 2020/10/27 06:18:31 [debug] 28007\#0: *420 lua run thread returned -2 2020/10/27 06:18:31 [debug] 28007\#0: worker cycle 2020/10/27 06:18:31 [debug] 28007\#0: epoll timer: 1000 2020/10/27 06:18:31 [debug] 28517\#0: malloc: 06237790:327612 ' |
stream/shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 1) | |
time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ true >= 0.099: true -< 0.11: true +< 0.11: false ' |
Go back to the index page.