(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:37 GMT | 1930 | 26 | 78 | 8988 | 5192 sec |
File | Name | Details |
---|---|---|
balancer-timeout.t | TEST 1: set_timeouts - grep_error_log_out (req 0) |
'event timer add: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 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: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 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: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 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: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 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: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 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: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 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 0) |
'event timer add: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 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: 9: 1234: event timer add: 9: 5678: event timer add: 9: 7689: event timer add: 9: 7689: ' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer.t | ERROR: client socket timed out - TEST 6: get last peer failure status (500) |
' |
balancer.t | TEST 6: get last peer failure status (500) - status code ok |
got: '' expected: '500' |
balancer.t | TEST 6: get last peer failure status (500) - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
balancer.t | ERROR: client socket timed out - TEST 6: get last peer failure status (500) |
' |
balancer.t | TEST 6: get last peer failure status (500) - status code ok |
got: '' expected: '500' |
balancer.t | TEST 6: get last peer failure status (500) - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
balancer.t | ERROR: client socket timed out - TEST 11: keepalive after balancer |
' |
balancer.t | TEST 11: keepalive after balancer - status code ok |
got: '' expected: '200' |
balancer.t | TEST 11: keepalive after balancer - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello keepalive! ' |
balancer.t | TEST 11: keepalive after balancer - grep_error_log_out (req 0) |
@@ -2,4 +2,3 @@ get keepalive peer: using connection free keepalive peer: saving connection get keepalive peer: using connection -free keepalive peer: saving connection ' |
balancer.t | ERROR: client socket timed out - TEST 11: keepalive after balancer |
' |
balancer.t | TEST 11: keepalive after balancer - status code ok |
got: '' expected: '200' |
balancer.t | TEST 11: keepalive after balancer - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello keepalive! ' |
balancer.t | TEST 11: keepalive after balancer - grep_error_log_out (req 1) |
@@ -1,6 +1,5 @@ -get keepalive peer: using connection free keepalive peer: saving connection -get keepalive peer: using connection free keepalive peer: saving connection get keepalive peer: using connection free keepalive peer: saving connection +get keepalive peer: using connection ' |
balancer.t | ERROR: client socket timed out - TEST 7: get last peer failure status (503) |
' |
balancer.t | TEST 7: get last peer failure status (503) - status code ok |
got: '' expected: '503' |
balancer.t | TEST 7: get last peer failure status (503) - response_body_like - response is expected () |
'' doesn't match '(?^s:503 Service Temporarily Unavailable)' |
balancer.t | ERROR: client socket timed out - TEST 7: get last peer failure status (503) |
' |
balancer.t | TEST 7: get last peer failure status (503) - status code ok |
got: '' expected: '503' |
balancer.t | TEST 7: get last peer failure status (503) - response_body_like - response is expected () |
'' doesn't match '(?^s:503 Service Temporarily Unavailable)' |
balancer.t | ERROR: client socket timed out - TEST 5: get last peer failure status (404) |
' |
balancer.t | TEST 5: get last peer failure status (404) - status code ok |
got: '' expected: '404' |
balancer.t | TEST 5: get last peer failure status (404) - response_body_like - response is expected () |
'' doesn't match '(?^s:404 Not Found)' |
balancer.t | ERROR: client socket timed out - TEST 5: get last peer failure status (404) |
' |
balancer.t | TEST 5: get last peer failure status (404) - status code ok |
got: '' expected: '404' |
balancer.t | TEST 5: get last peer failure status (404) - response_body_like - response is expected () |
'' doesn't match '(?^s:404 Not Found)' |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - Can't connect to 127.0.0.1:1984: Connection refused |
==22068== Invalid read of size 4 ==22068== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22068== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22068== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22068== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22068== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22068== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22068== by 0x4084A29: lua_resume (lj_api.c:1296) ==22068== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22068== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22068== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22068== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22068== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22068== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22068== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22068== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22068== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22068== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22068== by 0x8065F7E: main (nginx.c:382) ==22068== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22068== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - Can't connect to 127.0.0.1:1984: Connection refused |
==22068== ==22068== Process terminating with default action of signal 11 (SIGSEGV) ==22068== Access not within mapped region at address 0x0 ==22068== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22068== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22068== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22068== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22068== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22068== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22068== by 0x4084A29: lua_resume (lj_api.c:1296) ==22068== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22068== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22068== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22068== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22068== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22068== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22068== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22068== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22068== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22068== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22068== by 0x8065F7E: main (nginx.c:382) ==22068== If you believe this happened as a result of a stack ==22068== overflow in your program's main thread (unlikely but ==22068== possible), you can try to increase the size of the ==22068== main thread stack using the --main-stacksize= flag. ==22068== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22070== Invalid read of size 4 ==22070== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22070== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22070== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22070== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22070== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22070== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22070== by 0x4084A29: lua_resume (lj_api.c:1296) ==22070== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22070== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22070== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22070== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22070== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22070== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22070== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22070== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22070== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22070== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22070== by 0x8065F7E: main (nginx.c:382) ==22070== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22070== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22070== ==22070== Process terminating with default action of signal 11 (SIGSEGV) ==22070== Access not within mapped region at address 0x0 ==22070== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22070== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22070== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22070== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22070== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22070== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22070== by 0x4084A29: lua_resume (lj_api.c:1296) ==22070== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22070== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22070== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22070== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22070== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22070== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22070== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22070== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22070== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22070== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22070== by 0x8065F7E: main (nginx.c:382) ==22070== If you believe this happened as a result of a stack ==22070== overflow in your program's main thread (unlikely but ==22070== possible), you can try to increase the size of the ==22070== main thread stack using the --main-stacksize= flag. ==22070== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22073== by 0x4084A29: 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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22073== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22073== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22073== by 0x8065F7E: main (nginx.c:382) ==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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ctx.t | TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22073== by 0x4084A29: 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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22073== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22073== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22073== by 0x8065F7E: main (nginx.c:382) ==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. |
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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==22075== Invalid read of size 4 ==22075== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22075== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22075== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22075== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22075== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22075== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22075== by 0x4084A29: lua_resume (lj_api.c:1296) ==22075== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22075== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22075== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22075== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22075== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22075== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22075== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22075== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22075== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22075== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22075== by 0x8065F7E: main (nginx.c:382) ==22075== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22075== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22075== ==22075== Process terminating with default action of signal 11 (SIGSEGV) ==22075== Access not within mapped region at address 0x0 ==22075== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22075== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22075== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22075== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22075== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22075== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22075== by 0x4084A29: lua_resume (lj_api.c:1296) ==22075== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22075== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22075== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22075== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22075== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22075== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22075== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22075== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22075== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22075== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22075== by 0x8065F7E: main (nginx.c:382) ==22075== If you believe this happened as a result of a stack ==22075== overflow in your program's main thread (unlikely but ==22075== possible), you can try to increase the size of the ==22075== main thread stack using the --main-stacksize= flag. ==22075== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==22077== Invalid read of size 4 ==22077== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22077== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22077== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22077== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22077== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22077== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22077== by 0x4084A29: lua_resume (lj_api.c:1296) ==22077== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22077== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22077== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22077== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22077== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22077== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22077== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22077== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22077== by 0x8065F7E: main (nginx.c:382) ==22077== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22077== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 |
==22077== ==22077== Process terminating with default action of signal 11 (SIGSEGV) ==22077== Access not within mapped region at address 0x0 ==22077== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22077== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22077== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22077== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22077== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22077== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22077== by 0x4084A29: lua_resume (lj_api.c:1296) ==22077== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22077== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22077== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22077== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22077== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22077== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22077== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22077== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22077== by 0x8065F7E: main (nginx.c:382) ==22077== If you believe this happened as a result of a stack ==22077== overflow in your program's main thread (unlikely but ==22077== possible), you can try to increase the size of the ==22077== main thread stack using the --main-stacksize= flag. ==22077== 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 (aborted) |
' |
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 11: overwrite values will only take affect in the current http request - Can't connect to 127.0.0.1:1984: Connection refused |
==22079== Invalid read of size 4 ==22079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22079== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22079== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22079== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22079== by 0x4084A29: lua_resume (lj_api.c:1296) ==22079== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22079== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22079== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22079== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22079== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22079== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22079== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22079== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22079== by 0x8065F7E: main (nginx.c:382) ==22079== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22079== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - Can't connect to 127.0.0.1:1984: Connection refused |
==22079== ==22079== Process terminating with default action of signal 11 (SIGSEGV) ==22079== Access not within mapped region at address 0x0 ==22079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==22079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==22079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==22079== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==22079== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==22079== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==22079== by 0x4084A29: lua_resume (lj_api.c:1296) ==22079== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==22079== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==22079== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==22079== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==22079== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==22079== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==22079== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==22079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==22079== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==22079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==22079== by 0x8065F7E: main (nginx.c:382) ==22079== If you believe this happened as a result of a stack ==22079== overflow in your program's main thread (unlikely but ==22079== possible), you can try to increase the size of the ==22079== main thread stack using the --main-stacksize= flag. ==22079== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) |
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 04:04:38 [error] 22609\#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,2 @@ -stdout: ok +stdout err: timeout -stderr err: closed +stderr err: timeout ' |
pipe-stdin.t | TEST 8: write and read process - response_body - response is expected (repeated req 0, req 0) |
got: 'pipe busy reading ' expected: 'payload ' |
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-stdout.t | TEST 33: read 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 +stderr err: timeout ' |
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 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) | |
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 | TEST 36: basic semaphore_mm free insert head - pattern "add to free queue head" 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 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, 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 1, 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 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 ' |
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) | |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - Can't connect to 127.0.0.1:1984: Connection refused |
==23397== Invalid read of size 4 ==23397== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23397== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23397== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23397== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23397== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23397== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23397== by 0x4084A29: lua_resume (lj_api.c:1296) ==23397== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23397== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23397== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23397== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23397== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23397== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23397== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23397== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23397== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23397== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23397== by 0x8065F7E: main (nginx.c:382) ==23397== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23397== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - Can't connect to 127.0.0.1:1984: Connection refused |
==23397== ==23397== Process terminating with default action of signal 11 (SIGSEGV) ==23397== Access not within mapped region at address 0x0 ==23397== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23397== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23397== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23397== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23397== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23397== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23397== by 0x4084A29: lua_resume (lj_api.c:1296) ==23397== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23397== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23397== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23397== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23397== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23397== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23397== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23397== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23397== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23397== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23397== by 0x8065F7E: main (nginx.c:382) ==23397== If you believe this happened as a result of a stack ==23397== overflow in your program's main thread (unlikely but ==23397== possible), you can try to increase the size of the ==23397== main thread stack using the --main-stacksize= flag. ==23397== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "Using IPv4 address: 127.0.0.1" should match a line in error.log (req 1) | |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==23400== Invalid read of size 4 ==23400== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23400== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23400== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23400== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23400== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23400== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23400== by 0x4084A29: lua_resume (lj_api.c:1296) ==23400== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23400== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23400== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23400== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23400== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23400== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23400== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23400== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23400== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23400== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23400== by 0x8065F7E: main (nginx.c:382) ==23400== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23400== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==23400== ==23400== Process terminating with default action of signal 11 (SIGSEGV) ==23400== Access not within mapped region at address 0x0 ==23400== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23400== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23400== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23400== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23400== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23400== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23400== by 0x4084A29: lua_resume (lj_api.c:1296) ==23400== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23400== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23400== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23400== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23400== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23400== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23400== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23400== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23400== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23400== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23400== by 0x8065F7E: main (nginx.c:382) ==23400== If you believe this happened as a result of a stack ==23400== overflow in your program's main thread (unlikely but ==23400== possible), you can try to increase the size of the ==23400== main thread stack using the --main-stacksize= flag. ==23400== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 16: parse PEM cert and key to cdata - Can't connect to 127.0.0.1:1984: Connection refused |
==23714== Invalid read of size 4 ==23714== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23714== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23714== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23714== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23714== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23714== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23714== by 0x4084A29: lua_resume (lj_api.c:1296) ==23714== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23714== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23714== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23714== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23714== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23714== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23714== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23714== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23714== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23714== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23714== by 0x8065F7E: main (nginx.c:382) ==23714== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23714== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 16: parse PEM cert and key to cdata - Can't connect to 127.0.0.1:1984: Connection refused |
==23714== ==23714== Process terminating with default action of signal 11 (SIGSEGV) ==23714== Access not within mapped region at address 0x0 ==23714== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23714== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23714== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23714== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23714== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23714== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23714== by 0x4084A29: lua_resume (lj_api.c:1296) ==23714== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23714== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23714== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23714== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23714== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23714== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23714== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23714== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23714== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23714== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23714== by 0x8065F7E: main (nginx.c:382) ==23714== If you believe this happened as a result of a stack ==23714== overflow in your program's main thread (unlikely but ==23714== possible), you can try to increase the size of the ==23714== main thread stack using the --main-stacksize= flag. ==23714== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - Can't connect to 127.0.0.1:1984: Connection refused |
==23716== Invalid read of size 4 ==23716== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23716== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23716== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23716== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23716== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23716== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23716== by 0x4084A29: lua_resume (lj_api.c:1296) ==23716== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23716== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23716== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23716== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23716== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23716== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23716== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23716== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23716== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23716== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23716== by 0x8065F7E: main (nginx.c:382) ==23716== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23716== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - Can't connect to 127.0.0.1:1984: Connection refused |
==23716== ==23716== Process terminating with default action of signal 11 (SIGSEGV) ==23716== Access not within mapped region at address 0x0 ==23716== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23716== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23716== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23716== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23716== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23716== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23716== by 0x4084A29: lua_resume (lj_api.c:1296) ==23716== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23716== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23716== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23716== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23716== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23716== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23716== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23716== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23716== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23716== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23716== by 0x8065F7E: main (nginx.c:382) ==23716== If you believe this happened as a result of a stack ==23716== overflow in your program's main thread (unlikely but ==23716== possible), you can try to increase the size of the ==23716== main thread stack using the --main-stacksize= flag. ==23716== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "read SNI name from Lua: nil, type: nil" should match a line in error.log (req 1) | |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - Can't connect to 127.0.0.1:1984: Connection refused |
==23721== Invalid read of size 4 ==23721== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23721== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23721== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23721== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23721== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23721== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23721== by 0x4084A29: lua_resume (lj_api.c:1296) ==23721== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23721== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23721== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23721== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23721== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23721== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23721== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23721== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23721== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23721== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23721== by 0x8065F7E: main (nginx.c:382) ==23721== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23721== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - Can't connect to 127.0.0.1:1984: Connection refused |
==23721== ==23721== Process terminating with default action of signal 11 (SIGSEGV) ==23721== Access not within mapped region at address 0x0 ==23721== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23721== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23721== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23721== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23721== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23721== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23721== by 0x4084A29: lua_resume (lj_api.c:1296) ==23721== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23721== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23721== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23721== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23721== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23721== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23721== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23721== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23721== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23721== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23721== by 0x8065F7E: main (nginx.c:382) ==23721== If you believe this happened as a result of a stack ==23721== overflow in your program's main thread (unlikely but ==23721== possible), you can try to increase the size of the ==23721== main thread stack using the --main-stacksize= flag. ==23721== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "read server port from Lua: nilunix domain has no port" should match a line in error.log (req 1) | |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - Can't connect to 127.0.0.1:1984: Connection refused |
==23725== Invalid read of size 4 ==23725== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23725== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23725== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23725== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23725== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23725== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23725== by 0x4084A29: lua_resume (lj_api.c:1296) ==23725== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23725== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23725== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23725== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23725== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23725== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23725== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23725== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23725== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23725== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23725== by 0x8065F7E: main (nginx.c:382) ==23725== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23725== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - Can't connect to 127.0.0.1:1984: Connection refused |
==23725== ==23725== Process terminating with default action of signal 11 (SIGSEGV) ==23725== Access not within mapped region at address 0x0 ==23725== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23725== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23725== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23725== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23725== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23725== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23725== by 0x4084A29: lua_resume (lj_api.c:1296) ==23725== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23725== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23725== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23725== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23725== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23725== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23725== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23725== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23725== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23725== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23725== by 0x8065F7E: main (nginx.c:382) ==23725== If you believe this happened as a result of a stack ==23725== overflow in your program's main thread (unlikely but ==23725== possible), you can try to increase the size of the ==23725== main thread stack using the --main-stacksize= flag. ==23725== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "read server port from Lua: 12345" should match a line in error.log (req 1) | |
ssl.t | TEST 2: set DER cert and private key - Can't connect to 127.0.0.1:1984: Connection refused |
==23729== Invalid read of size 4 ==23729== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23729== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23729== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23729== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23729== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23729== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23729== by 0x4084A29: lua_resume (lj_api.c:1296) ==23729== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23729== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23729== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23729== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23729== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23729== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23729== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23729== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23729== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23729== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23729== by 0x8065F7E: main (nginx.c:382) ==23729== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23729== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 2: set DER cert and private key - Can't connect to 127.0.0.1:1984: Connection refused |
==23729== ==23729== Process terminating with default action of signal 11 (SIGSEGV) ==23729== Access not within mapped region at address 0x0 ==23729== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23729== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23729== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23729== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23729== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23729== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23729== by 0x4084A29: lua_resume (lj_api.c:1296) ==23729== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23729== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23729== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23729== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23729== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23729== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23729== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23729== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23729== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23729== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23729== by 0x8065F7E: main (nginx.c:382) ==23729== If you believe this happened as a result of a stack ==23729== overflow in your program's main thread (unlikely but ==23729== possible), you can try to increase the size of the ==23729== main thread stack using the --main-stacksize= flag. ==23729== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 15: read PEM key chain but set DER key chain - Can't connect to 127.0.0.1:1984: Connection refused |
==23731== Invalid read of size 4 ==23731== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23731== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23731== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23731== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23731== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23731== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23731== by 0x4084A29: lua_resume (lj_api.c:1296) ==23731== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23731== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23731== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23731== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23731== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23731== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23731== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23731== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23731== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23731== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23731== by 0x8065F7E: main (nginx.c:382) ==23731== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23731== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 15: read PEM key chain but set DER key chain - Can't connect to 127.0.0.1:1984: Connection refused |
==23731== ==23731== Process terminating with default action of signal 11 (SIGSEGV) ==23731== Access not within mapped region at address 0x0 ==23731== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23731== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23731== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23731== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23731== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23731== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23731== by 0x4084A29: lua_resume (lj_api.c:1296) ==23731== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23731== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23731== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23731== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23731== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23731== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23731== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23731== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23731== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23731== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23731== by 0x8065F7E: main (nginx.c:382) ==23731== If you believe this happened as a result of a stack ==23731== overflow in your program's main thread (unlikely but ==23731== possible), you can try to increase the size of the ==23731== main thread stack using the --main-stacksize= flag. ==23731== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 3: read SNI name via ssl.server_name() - Can't connect to 127.0.0.1:1984: Connection refused |
==23745== Invalid read of size 4 ==23745== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23745== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23745== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23745== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23745== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23745== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23745== by 0x4084A29: lua_resume (lj_api.c:1296) ==23745== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23745== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23745== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23745== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23745== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23745== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23745== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23745== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23745== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23745== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23745== by 0x8065F7E: main (nginx.c:382) ==23745== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23745== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 3: read SNI name via ssl.server_name() - Can't connect to 127.0.0.1:1984: Connection refused |
==23745== ==23745== Process terminating with default action of signal 11 (SIGSEGV) ==23745== Access not within mapped region at address 0x0 ==23745== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23745== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23745== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23745== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23745== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23745== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23745== by 0x4084A29: lua_resume (lj_api.c:1296) ==23745== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23745== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23745== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23745== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23745== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23745== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23745== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23745== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23745== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23745== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23745== by 0x8065F7E: main (nginx.c:382) ==23745== If you believe this happened as a result of a stack ==23745== overflow in your program's main thread (unlikely but ==23745== possible), you can try to increase the size of the ==23745== main thread stack using the --main-stacksize= flag. ==23745== 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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "read SNI name from Lua: test.com" should match a line in error.log (req 1) | |
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 |
==23747== Invalid read of size 4 ==23747== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23747== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23747== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23747== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23747== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23747== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23747== by 0x4084A29: lua_resume (lj_api.c:1296) ==23747== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23747== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23747== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23747== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23747== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23747== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23747== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23747== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23747== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23747== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23747== by 0x8065F7E: main (nginx.c:382) ==23747== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23747== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 |
==23747== ==23747== Process terminating with default action of signal 11 (SIGSEGV) ==23747== Access not within mapped region at address 0x0 ==23747== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23747== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23747== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23747== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23747== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23747== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23747== by 0x4084A29: lua_resume (lj_api.c:1296) ==23747== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23747== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23747== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23747== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23747== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23747== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23747== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23747== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23747== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23747== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23747== by 0x8065F7E: main (nginx.c:382) ==23747== If you believe this happened as a result of a stack ==23747== overflow in your program's main thread (unlikely but ==23747== possible), you can try to increase the size of the ==23747== main thread stack using the --main-stacksize= flag. ==23747== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "(?^:Using unix socket file .*?nginx\.sock)" should match a line in error.log (req 1) | |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - Can't connect to 127.0.0.1:1984: Connection refused |
==23751== Invalid read of size 4 ==23751== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23751== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23751== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23751== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23751== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23751== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23751== by 0x4084A29: lua_resume (lj_api.c:1296) ==23751== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23751== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23751== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23751== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23751== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23751== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23751== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23751== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23751== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23751== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23751== by 0x8065F7E: main (nginx.c:382) ==23751== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23751== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - Can't connect to 127.0.0.1:1984: Connection refused |
==23751== ==23751== Process terminating with default action of signal 11 (SIGSEGV) ==23751== Access not within mapped region at address 0x0 ==23751== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23751== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23751== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23751== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23751== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23751== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23751== by 0x4084A29: lua_resume (lj_api.c:1296) ==23751== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23751== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23751== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23751== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23751== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23751== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23751== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23751== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23751== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23751== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23751== by 0x8065F7E: main (nginx.c:382) ==23751== If you believe this happened as a result of a stack ==23751== overflow in your program's main thread (unlikely but ==23751== possible), you can try to increase the size of the ==23751== main thread stack using the --main-stacksize= flag. ==23751== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "Using IPv6 address: 0.0.0.1" should match a line in error.log (req 1) | |
ssl.t | TEST 8: set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==23753== Invalid read of size 4 ==23753== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23753== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23753== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23753== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23753== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23753== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23753== by 0x4084A29: lua_resume (lj_api.c:1296) ==23753== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23753== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23753== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23753== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23753== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23753== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23753== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23753== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23753== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23753== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23753== by 0x8065F7E: main (nginx.c:382) ==23753== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23753== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 8: set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==23753== ==23753== Process terminating with default action of signal 11 (SIGSEGV) ==23753== Access not within mapped region at address 0x0 ==23753== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23753== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23753== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23753== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23753== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23753== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23753== by 0x4084A29: lua_resume (lj_api.c:1296) ==23753== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23753== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23753== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23753== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23753== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23753== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23753== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23753== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23753== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23753== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23753== by 0x8065F7E: main (nginx.c:382) ==23753== If you believe this happened as a result of a stack ==23753== overflow in your program's main thread (unlikely but ==23753== possible), you can try to increase the size of the ==23753== main thread stack using the --main-stacksize= flag. ==23753== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - Can't connect to 127.0.0.1:1984: Connection refused |
==23756== Invalid read of size 4 ==23756== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23756== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23756== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23756== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23756== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23756== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23756== by 0x4084A29: lua_resume (lj_api.c:1296) ==23756== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23756== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23756== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23756== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23756== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23756== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23756== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23756== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23756== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23756== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23756== by 0x8065F7E: main (nginx.c:382) ==23756== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23756== { <insert_a_suppression_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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - Can't connect to 127.0.0.1:1984: Connection refused |
==23756== ==23756== Process terminating with default action of signal 11 (SIGSEGV) ==23756== Access not within mapped region at address 0x0 ==23756== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23756== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23756== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23756== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==23756== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==23756== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==23756== by 0x4084A29: lua_resume (lj_api.c:1296) ==23756== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==23756== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==23756== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==23756== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==23756== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==23756== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==23756== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==23756== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23756== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23756== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23756== by 0x8065F7E: main (nginx.c:382) ==23756== If you believe this happened as a result of a stack ==23756== overflow in your program's main thread (unlikely but ==23756== possible), you can try to increase the size of the ==23756== main thread stack using the --main-stacksize= flag. ==23756== 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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "client ip: 127.0.0.1" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 2: set ngx.status - Can't connect to 127.0.0.1:1984: Connection refused |
==23766== Invalid read of size 4 ==23766== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23766== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23766== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23766== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23766== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23766== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23766== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23766== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23766== by 0x8065F7E: main (nginx.c:382) ==23766== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23766== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 2: set ngx.status - Can't connect to 127.0.0.1:1984: Connection refused |
==23766== ==23766== Process terminating with default action of signal 11 (SIGSEGV) ==23766== Access not within mapped region at address 0x0 ==23766== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23766== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23766== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23766== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23766== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23766== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23766== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23766== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23766== by 0x8065F7E: main (nginx.c:382) ==23766== If you believe this happened as a result of a stack ==23766== overflow in your program's main thread (unlikely but ==23766== possible), you can try to increase the size of the ==23766== main thread stack using the --main-stacksize= flag. ==23766== 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 10 set read timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/balancer-timeout.t | TEST 10 set read timeout to -1 - status code ok |
got: '' expected: '200' |
stream/balancer-timeout.t | TEST 10 set read timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad read timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==23768== Invalid read of size 4 ==23768== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23768== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23768== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23768== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23768== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23768== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23768== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23768== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23768== by 0x8065F7E: main (nginx.c:382) ==23768== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23768== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==23768== ==23768== Process terminating with default action of signal 11 (SIGSEGV) ==23768== Access not within mapped region at address 0x0 ==23768== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23768== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23768== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23768== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23768== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23768== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23768== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23768== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23768== by 0x8065F7E: main (nginx.c:382) ==23768== If you believe this happened as a result of a stack ==23768== overflow in your program's main thread (unlikely but ==23768== possible), you can try to increase the size of the ==23768== main thread stack using the --main-stacksize= flag. ==23768== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: \z)' |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==23770== Invalid read of size 4 ==23770== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23770== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23770== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23770== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23770== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23770== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23770== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23770== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23770== by 0x8065F7E: main (nginx.c:382) ==23770== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23770== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==23770== ==23770== Process terminating with default action of signal 11 (SIGSEGV) ==23770== Access not within mapped region at address 0x0 ==23770== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23770== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23770== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23770== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23770== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23770== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23770== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23770== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23770== by 0x8065F7E: main (nginx.c:382) ==23770== If you believe this happened as a result of a stack ==23770== overflow in your program's main thread (unlikely but ==23770== possible), you can try to increase the size of the ==23770== main thread stack using the --main-stacksize= flag. ==23770== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 3: set_timeouts (nil send timeout) - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 7689: \z)' |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==23772== Invalid read of size 4 ==23772== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23772== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23772== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23772== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23772== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23772== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23772== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23772== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23772== by 0x8065F7E: main (nginx.c:382) ==23772== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23772== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==23772== ==23772== Process terminating with default action of signal 11 (SIGSEGV) ==23772== Access not within mapped region at address 0x0 ==23772== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23772== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23772== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23772== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23772== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23772== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23772== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23772== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23772== by 0x8065F7E: main (nginx.c:382) ==23772== If you believe this happened as a result of a stack ==23772== overflow in your program's main thread (unlikely but ==23772== possible), you can try to increase the size of the ==23772== main thread stack using the --main-stacksize= flag. ==23772== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 2: set_timeouts (nil connect timeout) - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 7689: \z)' |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==23774== Invalid read of size 4 ==23774== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23774== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23774== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23774== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23774== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23774== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23774== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23774== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23774== by 0x8065F7E: main (nginx.c:382) ==23774== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23774== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==23774== ==23774== Process terminating with default action of signal 11 (SIGSEGV) ==23774== Access not within mapped region at address 0x0 ==23774== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23774== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23774== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23774== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23774== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23774== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23774== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23774== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23774== by 0x8065F7E: main (nginx.c:382) ==23774== If you believe this happened as a result of a stack ==23774== overflow in your program's main thread (unlikely but ==23774== possible), you can try to increase the size of the ==23774== main thread stack using the --main-stacksize= flag. ==23774== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad read timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==23776== Invalid read of size 4 ==23776== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23776== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23776== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23776== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23776== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23776== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23776== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23776== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23776== by 0x8065F7E: main (nginx.c:382) ==23776== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23776== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==23776== ==23776== Process terminating with default action of signal 11 (SIGSEGV) ==23776== Access not within mapped region at address 0x0 ==23776== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23776== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23776== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23776== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23776== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23776== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23776== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23776== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23776== by 0x8065F7E: main (nginx.c:382) ==23776== If you believe this happened as a result of a stack ==23776== overflow in your program's main thread (unlikely but ==23776== possible), you can try to increase the size of the ==23776== main thread stack using the --main-stacksize= flag. ==23776== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad connect timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==23778== Invalid read of size 4 ==23778== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23778== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23778== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23778== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23778== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23778== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23778== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23778== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23778== by 0x8065F7E: main (nginx.c:382) ==23778== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23778== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==23778== ==23778== Process terminating with default action of signal 11 (SIGSEGV) ==23778== Access not within mapped region at address 0x0 ==23778== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23778== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23778== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23778== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23778== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23778== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23778== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23778== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23778== by 0x8065F7E: main (nginx.c:382) ==23778== If you believe this happened as a result of a stack ==23778== overflow in your program's main thread (unlikely but ==23778== possible), you can try to increase the size of the ==23778== main thread stack using the --main-stacksize= flag. ==23778== 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 (aborted) |
' |
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 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad connect timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==23780== Invalid read of size 4 ==23780== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23780== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23780== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23780== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23780== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23780== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23780== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23780== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23780== by 0x8065F7E: main (nginx.c:382) ==23780== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23780== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==23780== ==23780== Process terminating with default action of signal 11 (SIGSEGV) ==23780== Access not within mapped region at address 0x0 ==23780== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23780== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23780== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23780== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23780== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23780== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23780== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23780== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23780== by 0x8065F7E: main (nginx.c:382) ==23780== If you believe this happened as a result of a stack ==23780== overflow in your program's main thread (unlikely but ==23780== possible), you can try to increase the size of the ==23780== main thread stack using the --main-stacksize= flag. ==23780== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad send timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - Can't connect to 127.0.0.1:1984: Connection refused |
==23782== Invalid read of size 4 ==23782== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23782== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23782== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23782== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23782== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23782== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23782== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23782== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23782== by 0x8065F7E: main (nginx.c:382) ==23782== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23782== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - Can't connect to 127.0.0.1:1984: Connection refused |
==23782== ==23782== Process terminating with default action of signal 11 (SIGSEGV) ==23782== Access not within mapped region at address 0x0 ==23782== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23782== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23782== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23782== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23782== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23782== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23782== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23782== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23782== by 0x8065F7E: main (nginx.c:382) ==23782== If you believe this happened as a result of a stack ==23782== overflow in your program's main thread (unlikely but ==23782== possible), you can try to increase the size of the ==23782== main thread stack using the --main-stacksize= flag. ==23782== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "(?^:\[error\] .*? bad connect timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==23784== Invalid read of size 4 ==23784== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23784== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23784== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23784== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23784== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23784== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23784== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23784== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23784== by 0x8065F7E: main (nginx.c:382) ==23784== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23784== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==23784== ==23784== Process terminating with default action of signal 11 (SIGSEGV) ==23784== Access not within mapped region at address 0x0 ==23784== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23784== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23784== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23784== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23784== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23784== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23784== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23784== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23784== by 0x8065F7E: main (nginx.c:382) ==23784== If you believe this happened as a result of a stack ==23784== overflow in your program's main thread (unlikely but ==23784== possible), you can try to increase the size of the ==23784== main thread stack using the --main-stacksize= flag. ==23784== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad send timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - Can't connect to 127.0.0.1:1984: Connection refused |
==23786== Invalid read of size 4 ==23786== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23786== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23786== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23786== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23786== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23786== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23786== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23786== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23786== by 0x8065F7E: main (nginx.c:382) ==23786== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - Can't connect to 127.0.0.1:1984: Connection refused |
==23786== ==23786== Process terminating with default action of signal 11 (SIGSEGV) ==23786== Access not within mapped region at address 0x0 ==23786== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23786== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23786== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23786== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23786== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23786== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23786== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23786== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23786== by 0x8065F7E: main (nginx.c:382) ==23786== If you believe this happened as a result of a stack ==23786== overflow in your program's main thread (unlikely but ==23786== possible), you can try to increase the size of the ==23786== main thread stack using the --main-stacksize= flag. ==23786== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: set_timeouts - Can't connect to 127.0.0.1:1984: Connection refused |
==23788== Invalid read of size 4 ==23788== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23788== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23788== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23788== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23788== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23788== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23788== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23788== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23788== by 0x8065F7E: main (nginx.c:382) ==23788== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23788== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer-timeout.t | TEST 1: set_timeouts - Can't connect to 127.0.0.1:1984: Connection refused |
==23788== ==23788== Process terminating with default action of signal 11 (SIGSEGV) ==23788== Access not within mapped region at address 0x0 ==23788== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23788== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23788== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23788== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23788== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23788== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23788== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23788== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23788== by 0x8065F7E: main (nginx.c:382) ==23788== If you believe this happened as a result of a stack ==23788== overflow in your program's main thread (unlikely but ==23788== possible), you can try to increase the size of the ==23788== main thread stack using the --main-stacksize= flag. ==23788== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: set_timeouts - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 7689: \z)' |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) - Can't connect to 127.0.0.1:1984: Connection refused |
==23794== Invalid read of size 4 ==23794== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23794== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23794== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23794== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23794== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23794== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23794== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23794== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23794== by 0x8065F7E: main (nginx.c:382) ==23794== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23794== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) - Can't connect to 127.0.0.1:1984: Connection refused |
==23794== ==23794== Process terminating with default action of signal 11 (SIGSEGV) ==23794== Access not within mapped region at address 0x0 ==23794== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23794== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23794== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23794== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23794== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23794== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23794== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23794== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23794== by 0x8065F7E: main (nginx.c:382) ==23794== If you believe this happened as a result of a stack ==23794== overflow in your program's main thread (unlikely but ==23794== possible), you can try to increase the size of the ==23794== main thread stack using the --main-stacksize= flag. ==23794== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) - pattern "[lua] balancer_by_lua:2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 1) | |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) - pattern "(?^:connect\(\) failed .*?, upstream: "127\.0\.0\.3:12345")" should match a line in error.log (req 1) | |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) - Can't connect to 127.0.0.1:1984: Connection refused |
==23796== Invalid read of size 4 ==23796== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23796== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23796== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23796== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23796== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23796== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23796== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23796== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23796== by 0x8065F7E: main (nginx.c:382) ==23796== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23796== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer.t | TEST 5: get last peer failure status (connect failed) - Can't connect to 127.0.0.1:1984: Connection refused |
==23796== ==23796== Process terminating with default action of signal 11 (SIGSEGV) ==23796== Access not within mapped region at address 0x0 ==23796== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23796== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23796== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23796== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23796== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23796== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23796== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23796== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23796== by 0x8065F7E: main (nginx.c:382) ==23796== If you believe this happened as a result of a stack ==23796== overflow in your program's main thread (unlikely but ==23796== possible), you can try to increase the size of the ==23796== main thread stack using the --main-stacksize= flag. ==23796== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ -last peer failure: nil nil -last peer failure: failed 0 -last peer failure: failed 0 ' |
stream/balancer.t | TEST 1: set current peer (separate addr and port) - Can't connect to 127.0.0.1:1984: Connection refused |
==23798== Invalid read of size 4 ==23798== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23798== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23798== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23798== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23798== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23798== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23798== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23798== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23798== by 0x8065F7E: main (nginx.c:382) ==23798== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23798== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer.t | TEST 1: set current peer (separate addr and port) - Can't connect to 127.0.0.1:1984: Connection refused |
==23798== ==23798== Process terminating with default action of signal 11 (SIGSEGV) ==23798== Access not within mapped region at address 0x0 ==23798== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23798== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23798== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23798== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23798== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23798== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23798== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23798== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23798== by 0x8065F7E: main (nginx.c:382) ==23798== If you believe this happened as a result of a stack ==23798== overflow in your program's main thread (unlikely but ==23798== possible), you can try to increase the size of the ==23798== main thread stack using the --main-stacksize= flag. ==23798== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) - pattern "[lua] balancer_by_lua:2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 1) | |
stream/balancer.t | TEST 1: set current peer (separate addr and port) - pattern "(?^:connect\(\) failed .*?, upstream: "127\.0\.0\.3:12345")" should match a line in error.log (req 1) | |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - Can't connect to 127.0.0.1:1984: Connection refused |
==23800== Invalid read of size 4 ==23800== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23800== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23800== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23800== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23800== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23800== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23800== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23800== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23800== by 0x8065F7E: main (nginx.c:382) ==23800== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23800== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==23800== ==23800== Process terminating with default action of signal 11 (SIGSEGV) ==23800== Access not within mapped region at address 0x0 ==23800== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23800== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23800== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23800== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23800== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23800== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23800== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23800== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23800== by 0x8065F7E: main (nginx.c:382) ==23800== If you believe this happened as a result of a stack ==23800== overflow in your program's main thread (unlikely but ==23800== possible), you can try to increase the size of the ==23800== main thread stack using the --main-stacksize= flag. ==23800== 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 (aborted) |
' |
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) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "127.0.0.3:12345"\n){3}$)' |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - Can't connect to 127.0.0.1:1984: Connection refused |
==23802== Invalid read of size 4 ==23802== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23802== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23802== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23802== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23802== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23802== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23802== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23802== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23802== by 0x8065F7E: main (nginx.c:382) ==23802== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23802== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - Can't connect to 127.0.0.1:1984: Connection refused |
==23802== ==23802== Process terminating with default action of signal 11 (SIGSEGV) ==23802== Access not within mapped region at address 0x0 ==23802== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23802== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23802== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23802== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23802== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23802== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23802== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23802== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23802== by 0x8065F7E: main (nginx.c:382) ==23802== If you believe this happened as a result of a stack ==23802== overflow in your program's main thread (unlikely but ==23802== possible), you can try to increase the size of the ==23802== main thread stack using the --main-stacksize= flag. ==23802== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "127.0.0.3:12345"\n){2}$)' |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - pattern "set more tries: reduced tries due to limit" should match a line in error.log (req 1) | |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) - Can't connect to 127.0.0.1:1984: Connection refused |
==23804== Invalid read of size 4 ==23804== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23804== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23804== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23804== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23804== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23804== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23804== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23804== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23804== by 0x8065F7E: main (nginx.c:382) ==23804== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23804== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) - Can't connect to 127.0.0.1:1984: Connection refused |
==23804== ==23804== Process terminating with default action of signal 11 (SIGSEGV) ==23804== Access not within mapped region at address 0x0 ==23804== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23804== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23804== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23804== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23804== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23804== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23804== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23804== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23804== by 0x8065F7E: main (nginx.c:382) ==23804== If you believe this happened as a result of a stack ==23804== overflow in your program's main thread (unlikely but ==23804== possible), you can try to increase the size of the ==23804== main thread stack using the --main-stacksize= flag. ==23804== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "127.0.0.3:12345"\n){1}$)' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==23810== Invalid read of size 4 ==23810== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23810== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23810== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23810== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23810== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23810== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23810== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23810== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23810== by 0x8065F7E: main (nginx.c:382) ==23810== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23810== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==23810== ==23810== Process terminating with default action of signal 11 (SIGSEGV) ==23810== Access not within mapped region at address 0x0 ==23810== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23810== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23810== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23810== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23810== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23810== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23810== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23810== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23810== by 0x8065F7E: main (nginx.c:382) ==23810== If you believe this happened as a result of a stack ==23810== overflow in your program's main thread (unlikely but ==23810== possible), you can try to increase the size of the ==23810== main thread stack using the --main-stacksize= flag. ==23810== 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 (aborted) |
' |
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 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused |
==23812== Invalid read of size 4 ==23812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23812== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23812== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23812== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23812== by 0x8065F7E: main (nginx.c:382) ==23812== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23812== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused |
==23812== ==23812== Process terminating with default action of signal 11 (SIGSEGV) ==23812== Access not within mapped region at address 0x0 ==23812== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23812== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23812== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23812== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23812== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23812== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23812== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23812== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23812== by 0x8065F7E: main (nginx.c:382) ==23812== If you believe this happened as a result of a stack ==23812== overflow in your program's main thread (unlikely but ==23812== possible), you can try to increase the size of the ==23812== main thread stack using the --main-stacksize= flag. ==23812== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - grep_error_log_out (req 1) |
@@ -1,2 +1 @@ lua release ngx.ctx at ref 1 -lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - Can't connect to 127.0.0.1:1984: Connection refused |
==23814== Invalid read of size 4 ==23814== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23814== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23814== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23814== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23814== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23814== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23814== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23814== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23814== by 0x8065F7E: main (nginx.c:382) ==23814== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23814== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - Can't connect to 127.0.0.1:1984: Connection refused |
==23814== ==23814== Process terminating with default action of signal 11 (SIGSEGV) ==23814== Access not within mapped region at address 0x0 ==23814== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23814== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23814== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23814== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23814== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23814== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23814== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23814== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23814== by 0x8065F7E: main (nginx.c:382) ==23814== If you believe this happened as a result of a stack ==23814== overflow in your program's main thread (unlikely but ==23814== possible), you can try to increase the size of the ==23814== main thread stack using the --main-stacksize= flag. ==23814== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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/errlog.t | TEST 23: the system default filter level is "debug" - Can't connect to 127.0.0.1:1984: Connection refused |
==23856== Invalid read of size 4 ==23856== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23856== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23856== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23856== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23856== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23856== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23856== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23856== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23856== by 0x8065F7E: main (nginx.c:382) ==23856== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23856== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/errlog.t | TEST 23: the system default filter level is "debug" - Can't connect to 127.0.0.1:1984: Connection refused |
==23856== ==23856== Process terminating with default action of signal 11 (SIGSEGV) ==23856== Access not within mapped region at address 0x0 ==23856== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23856== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23856== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23856== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23856== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23856== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23856== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23856== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23856== by 0x8065F7E: main (nginx.c:382) ==23856== If you believe this happened as a result of a stack ==23856== overflow in your program's main thread (unlikely but ==23856== possible), you can try to increase the size of the ==23856== main thread stack using the --main-stacksize= flag. ==23856== 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" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 |
==23896== Invalid read of size 4 ==23896== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23896== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23896== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23896== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23896== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23896== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23896== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23896== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23896== by 0x8065F7E: main (nginx.c:382) ==23896== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23896== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==23896== ==23896== Process terminating with default action of signal 11 (SIGSEGV) ==23896== Access not within mapped region at address 0x0 ==23896== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23896== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23896== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23896== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23896== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23896== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23896== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23896== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23896== by 0x8065F7E: main (nginx.c:382) ==23896== If you believe this happened as a result of a stack ==23896== overflow in your program's main thread (unlikely but ==23896== possible), you can try to increase the size of the ==23896== main thread stack using the --main-stacksize= flag. ==23896== 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 (aborted) |
' |
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 - pattern "unsupported subsystem: stream" should match a line in error.log (req 1) | |
stream/misc.t | TEST 1: base.check_subsystem - Can't connect to 127.0.0.1:1984: Connection refused |
==23899== Invalid read of size 4 ==23899== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23899== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23899== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23899== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23899== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23899== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23899== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23899== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23899== by 0x8065F7E: main (nginx.c:382) ==23899== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23899== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/misc.t | TEST 1: base.check_subsystem - Can't connect to 127.0.0.1:1984: Connection refused |
==23899== ==23899== Process terminating with default action of signal 11 (SIGSEGV) ==23899== Access not within mapped region at address 0x0 ==23899== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23899== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23899== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23899== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23899== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23899== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23899== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23899== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==23899== by 0x8065F7E: main (nginx.c:382) ==23899== If you believe this happened as a result of a stack ==23899== overflow in your program's main thread (unlikely but ==23899== possible), you can try to increase the size of the ==23899== main thread stack using the --main-stacksize= flag. ==23899== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 |
==23909== Invalid read of size 4 ==23909== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23909== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23909== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23909== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23909== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23909== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23909== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23909== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23909== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23909== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23909== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==23909== by 0x8065F8B: main (nginx.c:385) ==23909== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23909== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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/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 |
==23909== ==23909== Process terminating with default action of signal 11 (SIGSEGV) ==23909== Access not within mapped region at address 0x0 ==23909== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23909== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23909== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23909== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23909== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23909== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23909== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23909== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23909== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23909== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23909== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==23909== by 0x8065F8B: main (nginx.c:385) ==23909== If you believe this happened as a result of a stack ==23909== overflow in your program's main thread (unlikely but ==23909== possible), you can try to increase the size of the ==23909== main thread stack using the --main-stacksize= flag. ==23909== 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) |
==23918== Invalid read of size 4 ==23918== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23918== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23918== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23918== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23918== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23918== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23918== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23918== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23918== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23918== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23918== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23918== by 0x8065F8B: main (nginx.c:385) ==23918== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23918== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) |
==23918== ==23918== Process terminating with default action of signal 11 (SIGSEGV) ==23918== Access not within mapped region at address 0x0 ==23918== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23918== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23918== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23918== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23918== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23918== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23918== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23918== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23918== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23918== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23918== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23918== by 0x8065F8B: main (nginx.c:385) ==23918== If you believe this happened as a result of a stack ==23918== overflow in your program's main thread (unlikely but ==23918== possible), you can try to increase the size of the ==23918== main thread stack using the --main-stacksize= flag. ==23918== 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) |
==23946== Invalid read of size 4 ==23946== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23946== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23946== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23946== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23946== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23946== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23946== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23946== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23946== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23946== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23946== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23946== by 0x8065F8B: main (nginx.c:385) ==23946== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23946== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) |
==23946== ==23946== Process terminating with default action of signal 11 (SIGSEGV) ==23946== Access not within mapped region at address 0x0 ==23946== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23946== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23946== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23946== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23946== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23946== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23946== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23946== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23946== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23946== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23946== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23946== by 0x8065F8B: main (nginx.c:385) ==23946== If you believe this happened as a result of a stack ==23946== overflow in your program's main thread (unlikely but ==23946== possible), you can try to increase the size of the ==23946== main thread stack using the --main-stacksize= flag. ==23946== 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) |
==23974== Invalid read of size 4 ==23974== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23974== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23974== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23974== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23974== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23974== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23974== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23974== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23974== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23974== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23974== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23974== by 0x8065F8B: main (nginx.c:385) ==23974== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==23974== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) |
==23974== ==23974== Process terminating with default action of signal 11 (SIGSEGV) ==23974== Access not within mapped region at address 0x0 ==23974== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==23974== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==23974== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==23974== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==23974== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==23974== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==23974== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==23974== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==23974== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==23974== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==23974== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==23974== by 0x8065F8B: main (nginx.c:385) ==23974== If you believe this happened as a result of a stack ==23974== overflow in your program's main thread (unlikely but ==23974== possible), you can try to increase the size of the ==23974== main thread stack using the --main-stacksize= flag. ==23974== 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) |
==24002== Invalid read of size 4 ==24002== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24002== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24002== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24002== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24002== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24002== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24002== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24002== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24002== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24002== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24002== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24002== by 0x8065F8B: main (nginx.c:385) ==24002== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24002== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) |
==24002== ==24002== Process terminating with default action of signal 11 (SIGSEGV) ==24002== Access not within mapped region at address 0x0 ==24002== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24002== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24002== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24002== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24002== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24002== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24002== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24002== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24002== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24002== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24002== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24002== by 0x8065F8B: main (nginx.c:385) ==24002== If you believe this happened as a result of a stack ==24002== overflow in your program's main thread (unlikely but ==24002== possible), you can try to increase the size of the ==24002== main thread stack using the --main-stacksize= flag. ==24002== 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) |
==24030== Invalid read of size 4 ==24030== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24030== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24030== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24030== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24030== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24030== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24030== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24030== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24030== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24030== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24030== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24030== by 0x8065F8B: main (nginx.c:385) ==24030== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24030== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) |
==24030== ==24030== Process terminating with default action of signal 11 (SIGSEGV) ==24030== Access not within mapped region at address 0x0 ==24030== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24030== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24030== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24030== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24030== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24030== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24030== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24030== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==24030== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==24030== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==24030== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==24030== by 0x8065F8B: main (nginx.c:385) ==24030== If you believe this happened as a result of a stack ==24030== overflow in your program's main thread (unlikely but ==24030== possible), you can try to increase the size of the ==24030== main thread stack using the --main-stacksize= flag. ==24030== 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 5: env is visible from environment - Can't connect to 127.0.0.1:1984: Connection refused |
==24056== Invalid read of size 4 ==24056== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24056== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24056== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24056== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24056== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24056== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24056== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24056== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24056== by 0x8065F7E: main (nginx.c:382) ==24056== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24056== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 5: env is visible from environment - Can't connect to 127.0.0.1:1984: Connection refused |
==24056== ==24056== Process terminating with default action of signal 11 (SIGSEGV) ==24056== Access not within mapped region at address 0x0 ==24056== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24056== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24056== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24056== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24056== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24056== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24056== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24056== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24056== by 0x8065F7E: main (nginx.c:382) ==24056== If you believe this happened as a result of a stack ==24056== overflow in your program's main thread (unlikely but ==24056== possible), you can try to increase the size of the ==24056== main thread stack using the --main-stacksize= flag. ==24056== 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/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - Can't connect to 127.0.0.1:1984: Connection refused |
==24057== Invalid read of size 4 ==24057== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24057== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24057== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24057== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24057== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24057== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24057== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24057== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24057== by 0x8065F7E: main (nginx.c:382) ==24057== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24057== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - Can't connect to 127.0.0.1:1984: Connection refused |
==24057== ==24057== Process terminating with default action of signal 11 (SIGSEGV) ==24057== Access not within mapped region at address 0x0 ==24057== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24057== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24057== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24057== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24057== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24057== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24057== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24057== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24057== by 0x8065F7E: main (nginx.c:382) ==24057== If you believe this happened as a result of a stack ==24057== overflow in your program's main thread (unlikely but ==24057== possible), you can try to increase the size of the ==24057== main thread stack using the --main-stacksize= flag. ==24057== 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 4: env directives with no value are ignored - Can't connect to 127.0.0.1:1984: Connection refused |
==24058== Invalid read of size 4 ==24058== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24058== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24058== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24058== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24058== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24058== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24058== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24058== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24058== by 0x8065F7E: main (nginx.c:382) ==24058== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24058== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 4: env directives with no value are ignored - Can't connect to 127.0.0.1:1984: Connection refused |
==24058== ==24058== Process terminating with default action of signal 11 (SIGSEGV) ==24058== Access not within mapped region at address 0x0 ==24058== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24058== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24058== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24058== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24058== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24058== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24058== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24058== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24058== by 0x8065F7E: main (nginx.c:382) ==24058== If you believe this happened as a result of a stack ==24058== overflow in your program's main thread (unlikely but ==24058== possible), you can try to increase the size of the ==24058== main thread stack using the --main-stacksize= flag. ==24058== 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 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - Can't connect to 127.0.0.1:1984: Connection refused |
==24059== Invalid read of size 4 ==24059== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24059== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24059== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24059== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24059== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24059== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24059== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24059== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24059== by 0x8065F7E: main (nginx.c:382) ==24059== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24059== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - Can't connect to 127.0.0.1:1984: Connection refused |
==24059== ==24059== Process terminating with default action of signal 11 (SIGSEGV) ==24059== Access not within mapped region at address 0x0 ==24059== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24059== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24059== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24059== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24059== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24059== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24059== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24059== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24059== by 0x8065F7E: main (nginx.c:382) ==24059== If you believe this happened as a result of a stack ==24059== overflow in your program's main thread (unlikely but ==24059== possible), you can try to increase the size of the ==24059== main thread stack using the --main-stacksize= flag. ==24059== 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 8: os.getenv() overwrite is reverted in worker phases - Can't connect to 127.0.0.1:1984: Connection refused |
==24060== Invalid read of size 4 ==24060== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24060== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24060== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24060== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24060== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24060== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24060== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24060== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24060== by 0x8065F7E: main (nginx.c:382) ==24060== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24060== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24060== ==24060== Process terminating with default action of signal 11 (SIGSEGV) ==24060== Access not within mapped region at address 0x0 ==24060== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24060== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24060== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24060== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24060== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24060== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24060== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24060== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24060== by 0x8065F7E: main (nginx.c:382) ==24060== If you believe this happened as a result of a stack ==24060== overflow in your program's main thread (unlikely but ==24060== possible), you can try to increase the size of the ==24060== main thread stack using the --main-stacksize= flag. ==24060== 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* - Can't connect to 127.0.0.1:1984: Connection refused |
==24061== Invalid read of size 4 ==24061== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24061== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24061== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24061== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24061== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24061== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24061== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24061== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24061== by 0x8065F7E: main (nginx.c:382) ==24061== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24061== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==24061== ==24061== Process terminating with default action of signal 11 (SIGSEGV) ==24061== Access not within mapped region at address 0x0 ==24061== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24061== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24061== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24061== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24061== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24061== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24061== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24061== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24061== by 0x8065F7E: main (nginx.c:382) ==24061== If you believe this happened as a result of a stack ==24061== overflow in your program's main thread (unlikely but ==24061== possible), you can try to increase the size of the ==24061== main thread stack using the --main-stacksize= flag. ==24061== 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 7: env directive with empty value - Can't connect to 127.0.0.1:1984: Connection refused |
==24062== Invalid read of size 4 ==24062== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24062== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24062== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24062== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24062== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24062== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24062== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24062== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24062== by 0x8065F7E: main (nginx.c:382) ==24062== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24062== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 7: env directive with empty value - Can't connect to 127.0.0.1:1984: Connection refused |
==24062== ==24062== Process terminating with default action of signal 11 (SIGSEGV) ==24062== Access not within mapped region at address 0x0 ==24062== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24062== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24062== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24062== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24062== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24062== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24062== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24062== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24062== by 0x8065F7E: main (nginx.c:382) ==24062== If you believe this happened as a result of a stack ==24062== overflow in your program's main thread (unlikely but ==24062== possible), you can try to increase the size of the ==24062== main thread stack using the --main-stacksize= flag. ==24062== 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 3: env directive explicit value is case-sensitive within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==24063== Invalid read of size 4 ==24063== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24063== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24063== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24063== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24063== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24063== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24063== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24063== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24063== by 0x8065F7E: main (nginx.c:382) ==24063== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24063== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==24063== ==24063== Process terminating with default action of signal 11 (SIGSEGV) ==24063== Access not within mapped region at address 0x0 ==24063== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24063== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24063== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24063== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24063== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24063== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24063== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24063== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24063== by 0x8065F7E: main (nginx.c:382) ==24063== If you believe this happened as a result of a stack ==24063== overflow in your program's main thread (unlikely but ==24063== possible), you can try to increase the size of the ==24063== main thread stack using the --main-stacksize= flag. ==24063== 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 6: env explicit set vs environment set - Can't connect to 127.0.0.1:1984: Connection refused |
==24064== Invalid read of size 4 ==24064== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24064== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24064== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24064== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24064== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24064== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24064== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24064== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24064== by 0x8065F7E: main (nginx.c:382) ==24064== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24064== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - Can't connect to 127.0.0.1:1984: Connection refused |
==24064== ==24064== Process terminating with default action of signal 11 (SIGSEGV) ==24064== Access not within mapped region at address 0x0 ==24064== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24064== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24064== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24064== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24064== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24064== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24064== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24064== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24064== by 0x8065F7E: main (nginx.c:382) ==24064== If you believe this happened as a result of a stack ==24064== overflow in your program's main thread (unlikely but ==24064== possible), you can try to increase the size of the ==24064== main thread stack using the --main-stacksize= flag. ==24064== 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/re-base.t | TEST 2: bad UTF-8 - Can't connect to 127.0.0.1:1984: Connection refused |
==24069== Invalid read of size 4 ==24069== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24069== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24069== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24069== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24069== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24069== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24069== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24069== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24069== by 0x8065F7E: main (nginx.c:382) ==24069== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24069== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-base.t | TEST 2: bad UTF-8 - Can't connect to 127.0.0.1:1984: Connection refused |
==24069== ==24069== Process terminating with default action of signal 11 (SIGSEGV) ==24069== Access not within mapped region at address 0x0 ==24069== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24069== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24069== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24069== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24069== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24069== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24069== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24069== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24069== by 0x8065F7E: main (nginx.c:382) ==24069== If you believe this happened as a result of a stack ==24069== overflow in your program's main thread (unlikely but ==24069== possible), you can try to increase the size of the ==24069== main thread stack using the --main-stacksize= flag. ==24069== The main thread stack size used in this run was 8388608. ==24069== 1,024 bytes in 1 blocks are definitely lost in loss record 3,053 of 3,164 ==24069== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24069== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24069== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24069== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24069== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24069== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24069== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24069== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24069== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24069== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24069== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24069== by 0x40C0675: trace_state (lj_trace.c:690) ==24069== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24069== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24069== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24069== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24069== by 0x4084A29: lua_resume (lj_api.c:1296) ==24069== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24069== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24069== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24069== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24069== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24069== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24069== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24069== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24069== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24069== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24069== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24069== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24069== by 0x8065F7E: main (nginx.c:382) ==24069== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==24071== Invalid read of size 4 ==24071== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24071== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24071== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24071== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24071== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24071== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24071== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24071== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24071== by 0x8065F7E: main (nginx.c:382) ==24071== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24071== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24071== ==24071== Process terminating with default action of signal 11 (SIGSEGV) ==24071== Access not within mapped region at address 0x0 ==24071== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24071== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24071== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24071== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24071== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24071== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24071== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24071== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24071== by 0x8065F7E: main (nginx.c:382) ==24071== If you believe this happened as a result of a stack ==24071== overflow in your program's main thread (unlikely but ==24071== possible), you can try to increase the size of the ==24071== main thread stack using the --main-stacksize= flag. ==24071== The main thread stack size used in this run was 8388608. ==24071== 1,024 bytes in 1 blocks are definitely lost in loss record 3,064 of 3,175 ==24071== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24071== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24071== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24071== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24071== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24071== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24071== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24071== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24071== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24071== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24071== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24071== by 0x40C0675: trace_state (lj_trace.c:690) ==24071== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24071== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24071== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24071== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24071== by 0x4084A29: lua_resume (lj_api.c:1296) ==24071== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24071== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24071== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24071== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24071== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24071== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24071== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24071== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24071== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24071== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24071== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24071== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24071== by 0x8065F7E: main (nginx.c:382) ==24071== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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 1: bad pattern - Can't connect to 127.0.0.1:1984: Connection refused |
==24073== Invalid read of size 4 ==24073== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24073== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24073== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24073== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24073== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24073== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24073== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24073== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24073== by 0x8065F7E: main (nginx.c:382) ==24073== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24073== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-base.t | TEST 1: bad pattern - Can't connect to 127.0.0.1:1984: Connection refused |
==24073== ==24073== Process terminating with default action of signal 11 (SIGSEGV) ==24073== Access not within mapped region at address 0x0 ==24073== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24073== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24073== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24073== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24073== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24073== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24073== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24073== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24073== by 0x8065F7E: main (nginx.c:382) ==24073== If you believe this happened as a result of a stack ==24073== overflow in your program's main thread (unlikely but ==24073== possible), you can try to increase the size of the ==24073== main thread stack using the --main-stacksize= flag. ==24073== The main thread stack size used in this run was 8388608. ==24073== 1,024 bytes in 1 blocks are definitely lost in loss record 3,052 of 3,163 ==24073== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24073== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24073== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24073== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24073== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24073== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24073== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24073== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24073== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24073== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24073== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24073== by 0x40C0675: trace_state (lj_trace.c:690) ==24073== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24073== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24073== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24073== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24073== by 0x4084A29: lua_resume (lj_api.c:1296) ==24073== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24073== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24073== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24073== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24073== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24073== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24073== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24073== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24073== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24073== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24073== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24073== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24073== by 0x8065F7E: main (nginx.c:382) ==24073== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-base.t | TEST 5: just hit match limit - Can't connect to 127.0.0.1:1984: Connection refused |
==24075== Invalid read of size 4 ==24075== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24075== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24075== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24075== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24075== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24075== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24075== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24075== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24075== by 0x8065F7E: main (nginx.c:382) ==24075== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24075== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-base.t | TEST 5: just hit match limit - Can't connect to 127.0.0.1:1984: Connection refused |
==24075== ==24075== Process terminating with default action of signal 11 (SIGSEGV) ==24075== Access not within mapped region at address 0x0 ==24075== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24075== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24075== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24075== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24075== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24075== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24075== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24075== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24075== by 0x8065F7E: main (nginx.c:382) ==24075== If you believe this happened as a result of a stack ==24075== overflow in your program's main thread (unlikely but ==24075== possible), you can try to increase the size of the ==24075== main thread stack using the --main-stacksize= flag. ==24075== The main thread stack size used in this run was 8388608. ==24075== 1,024 bytes in 1 blocks are definitely lost in loss record 3,065 of 3,176 ==24075== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24075== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24075== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24075== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24075== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24075== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24075== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24075== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24075== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24075== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24075== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24075== by 0x40C0675: trace_state (lj_trace.c:690) ==24075== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24075== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24075== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24075== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24075== by 0x4084A29: lua_resume (lj_api.c:1296) ==24075== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24075== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24075== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==24075== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24075== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24075== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24075== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24075== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24075== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24075== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24075== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24075== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24075== by 0x8065F7E: main (nginx.c:382) ==24075== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 3: UTF-8 mode without UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==24077== Invalid read of size 4 ==24077== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24077== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24077== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24077== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24077== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24077== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24077== by 0x8065F7E: main (nginx.c:382) ==24077== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24077== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==24077== ==24077== Process terminating with default action of signal 11 (SIGSEGV) ==24077== Access not within mapped region at address 0x0 ==24077== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24077== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24077== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24077== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24077== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24077== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24077== by 0x8065F7E: main (nginx.c:382) ==24077== If you believe this happened as a result of a stack ==24077== overflow in your program's main thread (unlikely but ==24077== possible), you can try to increase the size of the ==24077== main thread stack using the --main-stacksize= flag. ==24077== The main thread stack size used in this run was 8388608. ==24077== 1,024 bytes in 1 blocks are definitely lost in loss record 3,063 of 3,174 ==24077== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24077== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24077== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24077== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24077== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24077== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24077== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24077== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24077== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24077== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24077== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24077== by 0x40C0675: trace_state (lj_trace.c:690) ==24077== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24077== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24077== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24077== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24077== by 0x4084A29: lua_resume (lj_api.c:1296) ==24077== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24077== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24077== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24077== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24077== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24077== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24077== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24077== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24077== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24077== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24077== by 0x8065F7E: main (nginx.c:382) ==24077== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==24079== Invalid read of size 4 ==24079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24079== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24079== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24079== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24079== by 0x8065F7E: main (nginx.c:382) ==24079== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24079== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-base.t | TEST 6: just not hit match limit - Can't connect to 127.0.0.1:1984: Connection refused |
==24079== ==24079== Process terminating with default action of signal 11 (SIGSEGV) ==24079== Access not within mapped region at address 0x0 ==24079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24079== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24079== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24079== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24079== by 0x8065F7E: main (nginx.c:382) ==24079== If you believe this happened as a result of a stack ==24079== overflow in your program's main thread (unlikely but ==24079== possible), you can try to increase the size of the ==24079== main thread stack using the --main-stacksize= flag. ==24079== The main thread stack size used in this run was 8388608. ==24079== 1,024 bytes in 1 blocks are definitely lost in loss record 3,066 of 3,177 ==24079== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24079== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24079== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24079== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24079== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24079== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24079== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24079== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24079== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24079== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24079== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24079== by 0x40C0675: trace_state (lj_trace.c:690) ==24079== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24079== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24079== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24079== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24079== by 0x4084A29: lua_resume (lj_api.c:1296) ==24079== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24079== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24079== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==24079== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24079== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24079== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24079== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24079== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24079== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24079== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24079== by 0x8065F7E: main (nginx.c:382) ==24079== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24085== Invalid read of size 4 ==24085== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24085== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24085== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24085== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24085== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24085== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24085== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24085== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24085== by 0x8065F7E: main (nginx.c:382) ==24085== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24085== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24085== ==24085== Process terminating with default action of signal 11 (SIGSEGV) ==24085== Access not within mapped region at address 0x0 ==24085== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24085== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24085== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24085== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24085== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24085== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24085== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24085== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24085== by 0x8065F7E: main (nginx.c:382) ==24085== If you believe this happened as a result of a stack ==24085== overflow in your program's main thread (unlikely but ==24085== possible), you can try to increase the size of the ==24085== main thread stack using the --main-stacksize= flag. ==24085== The main thread stack size used in this run was 8388608. ==24085== 2,048 bytes in 1 blocks are definitely lost in loss record 3,122 of 3,185 ==24085== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24085== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24085== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24085== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24085== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24085== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24085== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24085== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24085== by 0x40C016A: trace_state (lj_trace.c:680) ==24085== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24085== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24085== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24085== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24085== by 0x4084A29: lua_resume (lj_api.c:1296) ==24085== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24085== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24085== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24085== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24085== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24085== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24085== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24085== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24085== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24085== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24085== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24085== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24085== by 0x8065F7E: main (nginx.c:382) ==24085== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24087== Invalid read of size 4 ==24087== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24087== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24087== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24087== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24087== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24087== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24087== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24087== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24087== by 0x8065F7E: main (nginx.c:382) ==24087== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24087== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24087== ==24087== Process terminating with default action of signal 11 (SIGSEGV) ==24087== Access not within mapped region at address 0x0 ==24087== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24087== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24087== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24087== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24087== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24087== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24087== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24087== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24087== by 0x8065F7E: main (nginx.c:382) ==24087== If you believe this happened as a result of a stack ==24087== overflow in your program's main thread (unlikely but ==24087== possible), you can try to increase the size of the ==24087== main thread stack using the --main-stacksize= flag. ==24087== The main thread stack size used in this run was 8388608. ==24087== 2,048 bytes in 1 blocks are definitely lost in loss record 3,124 of 3,194 ==24087== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24087== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24087== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24087== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24087== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24087== by 0x408F511: ir_nextk (lj_ir.c:175) ==24087== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24087== by 0x40AB72C: recff_cdata_index (lj_crecord.c:918) ==24087== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24087== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24087== by 0x40C016A: trace_state (lj_trace.c:680) ==24087== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24087== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24087== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24087== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24087== by 0x4084A29: lua_resume (lj_api.c:1296) ==24087== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24087== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24087== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24087== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24087== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24087== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24087== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24087== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24087== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24087== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24087== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24087== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24087== by 0x8065F7E: main (nginx.c:382) ==24087== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 6: specify the group (2) - Can't connect to 127.0.0.1:1984: Connection refused |
==24089== Invalid read of size 4 ==24089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24089== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24089== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24089== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24089== by 0x8065F7E: main (nginx.c:382) ==24089== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24089== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-find.t | TEST 6: specify the group (2) - Can't connect to 127.0.0.1:1984: Connection refused |
==24089== ==24089== Process terminating with default action of signal 11 (SIGSEGV) ==24089== Access not within mapped region at address 0x0 ==24089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24089== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24089== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24089== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24089== by 0x8065F7E: main (nginx.c:382) ==24089== If you believe this happened as a result of a stack ==24089== overflow in your program's main thread (unlikely but ==24089== possible), you can try to increase the size of the ==24089== main thread stack using the --main-stacksize= flag. ==24089== The main thread stack size used in this run was 8388608. ==24089== 4,096 bytes in 1 blocks are definitely lost in loss record 3,159 of 3,184 ==24089== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24089== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24089== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24089== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24089== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24089== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24089== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24089== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24089== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24089== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24089== by 0x40C0675: trace_state (lj_trace.c:690) ==24089== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24089== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24089== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24089== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24089== by 0x4084A29: lua_resume (lj_api.c:1296) ==24089== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24089== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24089== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24089== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24089== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24089== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24089== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24089== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24089== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24089== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24089== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24089== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24089== by 0x8065F7E: main (nginx.c:382) ==24089== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24091== Invalid read of size 4 ==24091== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24091== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24091== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24091== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24091== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24091== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24091== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24091== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24091== by 0x8065F7E: main (nginx.c:382) ==24091== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24091== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24091== ==24091== Process terminating with default action of signal 11 (SIGSEGV) ==24091== Access not within mapped region at address 0x0 ==24091== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24091== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24091== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24091== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24091== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24091== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24091== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24091== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24091== by 0x8065F7E: main (nginx.c:382) ==24091== If you believe this happened as a result of a stack ==24091== overflow in your program's main thread (unlikely but ==24091== possible), you can try to increase the size of the ==24091== main thread stack using the --main-stacksize= flag. ==24091== The main thread stack size used in this run was 8388608. ==24091== 2,048 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,183 ==24091== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24091== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24091== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24091== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24091== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24091== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24091== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24091== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24091== by 0x40C016A: trace_state (lj_trace.c:680) ==24091== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24091== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24091== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24091== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24091== by 0x4084A29: lua_resume (lj_api.c:1296) ==24091== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24091== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24091== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24091== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24091== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24091== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24091== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24091== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24091== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24091== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24091== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24091== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24091== by 0x8065F7E: main (nginx.c:382) ==24091== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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) - Can't connect to 127.0.0.1:1984: Connection refused |
==24093== Invalid read of size 4 ==24093== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24093== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24093== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24093== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24093== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24093== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24093== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24093== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24093== by 0x8065F7E: main (nginx.c:382) ==24093== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24093== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-find.t | TEST 4: nil submatch (2nd) - Can't connect to 127.0.0.1:1984: Connection refused |
==24093== ==24093== Process terminating with default action of signal 11 (SIGSEGV) ==24093== Access not within mapped region at address 0x0 ==24093== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24093== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24093== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24093== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24093== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24093== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24093== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24093== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24093== by 0x8065F7E: main (nginx.c:382) ==24093== If you believe this happened as a result of a stack ==24093== overflow in your program's main thread (unlikely but ==24093== possible), you can try to increase the size of the ==24093== main thread stack using the --main-stacksize= flag. ==24093== The main thread stack size used in this run was 8388608. ==24093== 2,048 bytes in 1 blocks are definitely lost in loss record 3,139 of 3,204 ==24093== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24093== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24093== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24093== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24093== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24093== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24093== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24093== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24093== by 0x40C016A: trace_state (lj_trace.c:680) ==24093== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24093== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24093== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24093== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24093== by 0x4084A29: lua_resume (lj_api.c:1296) ==24093== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24093== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24093== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24093== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24093== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24093== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24093== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24093== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24093== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24093== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24093== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24093== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24093== by 0x8065F7E: main (nginx.c:382) ==24093== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 5: nil submatch (1st) - Can't connect to 127.0.0.1:1984: Connection refused |
==24095== Invalid read of size 4 ==24095== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24095== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24095== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24095== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24095== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24095== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24095== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24095== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24095== by 0x8065F7E: main (nginx.c:382) ==24095== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24095== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-find.t | TEST 5: nil submatch (1st) - Can't connect to 127.0.0.1:1984: Connection refused |
==24095== ==24095== Process terminating with default action of signal 11 (SIGSEGV) ==24095== Access not within mapped region at address 0x0 ==24095== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24095== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24095== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24095== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24095== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24095== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24095== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24095== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24095== by 0x8065F7E: main (nginx.c:382) ==24095== If you believe this happened as a result of a stack ==24095== overflow in your program's main thread (unlikely but ==24095== possible), you can try to increase the size of the ==24095== main thread stack using the --main-stacksize= flag. ==24095== The main thread stack size used in this run was 8388608. ==24095== 4,096 bytes in 1 blocks are definitely lost in loss record 3,162 of 3,188 ==24095== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24095== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24095== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24095== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24095== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24095== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24095== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24095== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24095== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24095== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24095== by 0x40C0675: trace_state (lj_trace.c:690) ==24095== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24095== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24095== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24095== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24095== by 0x4084A29: lua_resume (lj_api.c:1296) ==24095== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24095== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24095== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24095== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24095== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24095== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24095== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24095== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24095== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24095== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24095== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24095== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24095== by 0x8065F7E: main (nginx.c:382) ==24095== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-gmatch.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24101== Invalid read of size 4 ==24101== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24101== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24101== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24101== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24101== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24101== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24101== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24101== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24101== by 0x8065F7E: main (nginx.c:382) ==24101== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24101== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24101== ==24101== Process terminating with default action of signal 11 (SIGSEGV) ==24101== Access not within mapped region at address 0x0 ==24101== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24101== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24101== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24101== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24101== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24101== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24101== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24101== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24101== by 0x8065F7E: main (nginx.c:382) ==24101== If you believe this happened as a result of a stack ==24101== overflow in your program's main thread (unlikely but ==24101== possible), you can try to increase the size of the ==24101== main thread stack using the --main-stacksize= flag. ==24101== The main thread stack size used in this run was 8388608. ==24101== 2,048 bytes in 1 blocks are definitely lost in loss record 3,128 of 3,202 ==24101== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24101== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24101== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24101== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24101== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24101== by 0x408F511: ir_nextk (lj_ir.c:175) ==24101== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24101== by 0x40A8789: crec_tv_ct (lj_crecord.c:595) ==24101== by 0x40AB0EB: recff_cdata_index (lj_crecord.c:932) ==24101== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24101== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24101== by 0x40C016A: trace_state (lj_trace.c:680) ==24101== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24101== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24101== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24101== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24101== by 0x4084A29: lua_resume (lj_api.c:1296) ==24101== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24101== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24101== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24101== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24101== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24101== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24101== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24101== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24101== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24101== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24101== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24101== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24101== by 0x8065F7E: main (nginx.c:382) ==24101== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24103== Invalid read of size 4 ==24103== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24103== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24103== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24103== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24103== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24103== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24103== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24103== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24103== by 0x8065F7E: main (nginx.c:382) ==24103== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24103== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24103== ==24103== Process terminating with default action of signal 11 (SIGSEGV) ==24103== Access not within mapped region at address 0x0 ==24103== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24103== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24103== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24103== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24103== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24103== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24103== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24103== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24103== by 0x8065F7E: main (nginx.c:382) ==24103== If you believe this happened as a result of a stack ==24103== overflow in your program's main thread (unlikely but ==24103== possible), you can try to increase the size of the ==24103== main thread stack using the --main-stacksize= flag. ==24103== The main thread stack size used in this run was 8388608. ==24103== 1,024 bytes in 1 blocks are definitely lost in loss record 3,062 of 3,169 ==24103== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24103== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24103== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24103== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24103== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24103== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24103== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24103== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24103== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24103== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24103== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24103== by 0x40C0675: trace_state (lj_trace.c:690) ==24103== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24103== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24103== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24103== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24103== by 0x4084A29: lua_resume (lj_api.c:1296) ==24103== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24103== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24103== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24103== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24103== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24103== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24103== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24103== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24103== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24103== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24103== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24103== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24103== by 0x8065F7E: main (nginx.c:382) ==24103== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24105== Invalid read of size 4 ==24105== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24105== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24105== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24105== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24105== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24105== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24105== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24105== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24105== by 0x8065F7E: main (nginx.c:382) ==24105== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24105== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24105== ==24105== Process terminating with default action of signal 11 (SIGSEGV) ==24105== Access not within mapped region at address 0x0 ==24105== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24105== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24105== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24105== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24105== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24105== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24105== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24105== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24105== by 0x8065F7E: main (nginx.c:382) ==24105== If you believe this happened as a result of a stack ==24105== overflow in your program's main thread (unlikely but ==24105== possible), you can try to increase the size of the ==24105== main thread stack using the --main-stacksize= flag. ==24105== The main thread stack size used in this run was 8388608. ==24105== 2,048 bytes in 1 blocks are definitely lost in loss record 3,095 of 3,159 ==24105== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24105== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24105== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24105== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24105== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24105== by 0x408FAB5: ir_nextk (lj_ir.c:175) ==24105== by 0x408FAB5: lj_ir_knull (lj_ir.c:347) ==24105== by 0x40915C6: lj_opt_fwd_fload (lj_opt_mem.c:597) ==24105== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24105== by 0x40A1603: lj_record_mm_lookup (lj_record.c:976) ==24105== by 0x40A07DA: lj_record_idx (lj_record.c:1497) ==24105== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24105== by 0x40C016A: trace_state (lj_trace.c:680) ==24105== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24105== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24105== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24105== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24105== by 0x4084A29: lua_resume (lj_api.c:1296) ==24105== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24105== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24105== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24105== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24105== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24105== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24105== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24105== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24105== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24105== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24105== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24105== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24105== by 0x8065F7E: main (nginx.c:382) ==24105== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 8: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24107== Invalid read of size 4 ==24107== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24107== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24107== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24107== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24107== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24107== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24107== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24107== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24107== by 0x8065F7E: main (nginx.c:382) ==24107== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24107== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 8: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24107== ==24107== Process terminating with default action of signal 11 (SIGSEGV) ==24107== Access not within mapped region at address 0x0 ==24107== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24107== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24107== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24107== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24107== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24107== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24107== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24107== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24107== by 0x8065F7E: main (nginx.c:382) ==24107== If you believe this happened as a result of a stack ==24107== overflow in your program's main thread (unlikely but ==24107== possible), you can try to increase the size of the ==24107== main thread stack using the --main-stacksize= flag. ==24107== The main thread stack size used in this run was 8388608. ==24107== 1,024 bytes in 1 blocks are definitely lost in loss record 3,064 of 3,173 ==24107== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24107== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24107== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24107== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24107== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24107== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24107== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24107== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24107== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24107== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24107== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24107== by 0x40C0675: trace_state (lj_trace.c:690) ==24107== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24107== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24107== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24107== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24107== by 0x4084A29: lua_resume (lj_api.c:1296) ==24107== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24107== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24107== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24107== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24107== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24107== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24107== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24107== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24107== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24107== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24107== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24107== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24107== by 0x8065F7E: main (nginx.c:382) ==24107== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 9: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24109== Invalid read of size 4 ==24109== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24109== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24109== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24109== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24109== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24109== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24109== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24109== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24109== by 0x8065F7E: main (nginx.c:382) ==24109== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24109== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24109== ==24109== Process terminating with default action of signal 11 (SIGSEGV) ==24109== Access not within mapped region at address 0x0 ==24109== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24109== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24109== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24109== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24109== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24109== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24109== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24109== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24109== by 0x8065F7E: main (nginx.c:382) ==24109== If you believe this happened as a result of a stack ==24109== overflow in your program's main thread (unlikely but ==24109== possible), you can try to increase the size of the ==24109== main thread stack using the --main-stacksize= flag. ==24109== The main thread stack size used in this run was 8388608. ==24109== 1,024 bytes in 1 blocks are definitely lost in loss record 3,075 of 3,185 ==24109== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24109== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24109== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24109== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24109== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24109== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24109== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24109== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24109== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24109== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24109== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24109== by 0x40C0675: trace_state (lj_trace.c:690) ==24109== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24109== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24109== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24109== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24109== by 0x4084A29: lua_resume (lj_api.c:1296) ==24109== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24109== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24109== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24109== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24109== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24109== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24109== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24109== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24109== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24109== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24109== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24109== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24109== by 0x8065F7E: main (nginx.c:382) ==24109== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24111== Invalid read of size 4 ==24111== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24111== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24111== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24111== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24111== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24111== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24111== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24111== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24111== by 0x8065F7E: main (nginx.c:382) ==24111== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24111== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24111== ==24111== Process terminating with default action of signal 11 (SIGSEGV) ==24111== Access not within mapped region at address 0x0 ==24111== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24111== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24111== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24111== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24111== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24111== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24111== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24111== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24111== by 0x8065F7E: main (nginx.c:382) ==24111== If you believe this happened as a result of a stack ==24111== overflow in your program's main thread (unlikely but ==24111== possible), you can try to increase the size of the ==24111== main thread stack using the --main-stacksize= flag. ==24111== The main thread stack size used in this run was 8388608. ==24111== 2,048 bytes in 1 blocks are definitely lost in loss record 3,136 of 3,206 ==24111== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24111== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24111== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24111== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24111== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24111== by 0x408F511: ir_nextk (lj_ir.c:175) ==24111== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24111== by 0x40A8789: crec_tv_ct (lj_crecord.c:595) ==24111== by 0x40AB0EB: recff_cdata_index (lj_crecord.c:932) ==24111== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24111== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24111== by 0x40C016A: trace_state (lj_trace.c:680) ==24111== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24111== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24111== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24111== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24111== by 0x4084A29: lua_resume (lj_api.c:1296) ==24111== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24111== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24111== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24111== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24111== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24111== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24111== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24111== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24111== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24111== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24111== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24111== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24111== by 0x8065F7E: main (nginx.c:382) ==24111== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24113== Invalid read of size 4 ==24113== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24113== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24113== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24113== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24113== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24113== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24113== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24113== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24113== by 0x8065F7E: main (nginx.c:382) ==24113== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24113== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24113== ==24113== Process terminating with default action of signal 11 (SIGSEGV) ==24113== Access not within mapped region at address 0x0 ==24113== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24113== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24113== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24113== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24113== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24113== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24113== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24113== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24113== by 0x8065F7E: main (nginx.c:382) ==24113== If you believe this happened as a result of a stack ==24113== overflow in your program's main thread (unlikely but ==24113== possible), you can try to increase the size of the ==24113== main thread stack using the --main-stacksize= flag. ==24113== The main thread stack size used in this run was 8388608. ==24113== 4,096 bytes in 1 blocks are definitely lost in loss record 3,193 of 3,226 ==24113== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24113== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24113== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24113== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24113== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24113== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24113== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24113== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24113== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24113== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24113== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24113== by 0x40C0675: trace_state (lj_trace.c:690) ==24113== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24113== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24113== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24113== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24113== by 0x4084A29: lua_resume (lj_api.c:1296) ==24113== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24113== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24113== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24113== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24113== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24113== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24113== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24113== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24113== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24113== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24113== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24113== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24113== by 0x8065F7E: main (nginx.c:382) ==24113== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 13: an error-ed out gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused |
==24115== Invalid read of size 4 ==24115== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24115== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24115== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24115== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24115== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24115== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24115== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24115== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24115== by 0x8065F7E: main (nginx.c:382) ==24115== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24115== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused |
==24115== ==24115== Process terminating with default action of signal 11 (SIGSEGV) ==24115== Access not within mapped region at address 0x0 ==24115== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24115== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24115== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24115== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24115== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24115== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24115== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24115== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24115== by 0x8065F7E: main (nginx.c:382) ==24115== If you believe this happened as a result of a stack ==24115== overflow in your program's main thread (unlikely but ==24115== possible), you can try to increase the size of the ==24115== main thread stack using the --main-stacksize= flag. ==24115== The main thread stack size used in this run was 8388608. ==24115== 1,024 bytes in 1 blocks are definitely lost in loss record 3,048 of 3,157 ==24115== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24115== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24115== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24115== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24115== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24115== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24115== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24115== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24115== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24115== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24115== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24115== by 0x40C0675: trace_state (lj_trace.c:690) ==24115== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24115== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24115== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24115== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24115== by 0x4084A29: lua_resume (lj_api.c:1296) ==24115== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24115== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24115== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24115== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24115== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24115== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24115== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24115== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24115== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24115== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24115== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24115== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24115== by 0x8065F7E: main (nginx.c:382) ==24115== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-gmatch.t | TEST 7: named submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==24117== Invalid read of size 4 ==24117== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24117== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24117== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24117== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24117== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24117== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24117== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24117== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24117== by 0x8065F7E: main (nginx.c:382) ==24117== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24117== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 7: named submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==24117== ==24117== Process terminating with default action of signal 11 (SIGSEGV) ==24117== Access not within mapped region at address 0x0 ==24117== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24117== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24117== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24117== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24117== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24117== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24117== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24117== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24117== by 0x8065F7E: main (nginx.c:382) ==24117== If you believe this happened as a result of a stack ==24117== overflow in your program's main thread (unlikely but ==24117== possible), you can try to increase the size of the ==24117== main thread stack using the --main-stacksize= flag. ==24117== The main thread stack size used in this run was 8388608. ==24117== 2,048 bytes in 1 blocks are definitely lost in loss record 3,141 of 3,214 ==24117== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24117== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24117== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24117== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24117== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24117== by 0x408F511: ir_nextk (lj_ir.c:175) ==24117== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24117== by 0x40A0D2D: rec_idx_key (lj_record.c:1376) ==24117== by 0x40A0D2D: lj_record_idx (lj_record.c:1455) ==24117== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24117== by 0x40C016A: trace_state (lj_trace.c:680) ==24117== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24117== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24117== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24117== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24117== by 0x4084A29: lua_resume (lj_api.c:1296) ==24117== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24117== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24117== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24117== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24117== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24117== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24117== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24117== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24117== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24117== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24117== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24117== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24117== by 0x8065F7E: main (nginx.c:382) ==24117== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24119== Invalid read of size 4 ==24119== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24119== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24119== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24119== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24119== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24119== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24119== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24119== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24119== by 0x8065F7E: main (nginx.c:382) ==24119== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24119== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24119== ==24119== Process terminating with default action of signal 11 (SIGSEGV) ==24119== Access not within mapped region at address 0x0 ==24119== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24119== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24119== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24119== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24119== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24119== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24119== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24119== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24119== by 0x8065F7E: main (nginx.c:382) ==24119== If you believe this happened as a result of a stack ==24119== overflow in your program's main thread (unlikely but ==24119== possible), you can try to increase the size of the ==24119== main thread stack using the --main-stacksize= flag. ==24119== The main thread stack size used in this run was 8388608. ==24119== 4,096 bytes in 1 blocks are definitely lost in loss record 3,192 of 3,223 ==24119== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24119== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24119== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24119== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24119== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24119== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24119== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==24119== by 0x40AC386: crec_call (lj_crecord.c:1231) ==24119== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==24119== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24119== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24119== by 0x40C016A: trace_state (lj_trace.c:680) ==24119== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24119== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24119== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24119== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24119== by 0x4084A29: lua_resume (lj_api.c:1296) ==24119== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24119== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24119== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24119== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24119== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24119== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24119== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24119== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24119== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24119== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24119== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24119== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24119== by 0x8065F7E: main (nginx.c:382) ==24119== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 10: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24121== Invalid read of size 4 ==24121== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24121== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24121== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24121== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24121== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24121== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24121== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24121== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24121== by 0x8065F7E: main (nginx.c:382) ==24121== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24121== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24121== ==24121== Process terminating with default action of signal 11 (SIGSEGV) ==24121== Access not within mapped region at address 0x0 ==24121== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24121== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24121== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24121== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24121== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24121== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24121== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24121== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24121== by 0x8065F7E: main (nginx.c:382) ==24121== If you believe this happened as a result of a stack ==24121== overflow in your program's main thread (unlikely but ==24121== possible), you can try to increase the size of the ==24121== main thread stack using the --main-stacksize= flag. ==24121== The main thread stack size used in this run was 8388608. ==24121== 1,024 bytes in 1 blocks are definitely lost in loss record 3,077 of 3,186 ==24121== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24121== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24121== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24121== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24121== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24121== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24121== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24121== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24121== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24121== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24121== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24121== by 0x40C0675: trace_state (lj_trace.c:690) ==24121== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24121== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24121== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24121== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24121== by 0x4084A29: lua_resume (lj_api.c:1296) ==24121== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24121== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24121== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24121== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24121== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24121== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24121== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24121== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24121== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24121== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24121== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24121== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24121== by 0x8065F7E: main (nginx.c:382) ==24121== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 15: gmatch (empty matched string) - Can't connect to 127.0.0.1:1984: Connection refused |
==24123== Invalid read of size 4 ==24123== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24123== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24123== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24123== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24123== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24123== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24123== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24123== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24123== by 0x8065F7E: main (nginx.c:382) ==24123== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24123== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - Can't connect to 127.0.0.1:1984: Connection refused |
==24123== ==24123== Process terminating with default action of signal 11 (SIGSEGV) ==24123== Access not within mapped region at address 0x0 ==24123== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24123== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24123== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24123== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24123== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24123== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24123== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24123== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24123== by 0x8065F7E: main (nginx.c:382) ==24123== If you believe this happened as a result of a stack ==24123== overflow in your program's main thread (unlikely but ==24123== possible), you can try to increase the size of the ==24123== main thread stack using the --main-stacksize= flag. ==24123== The main thread stack size used in this run was 8388608. ==24123== 1,024 bytes in 1 blocks are definitely lost in loss record 3,052 of 3,163 ==24123== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24123== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24123== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24123== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24123== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24123== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24123== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24123== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24123== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24123== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24123== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24123== by 0x40C0675: trace_state (lj_trace.c:690) ==24123== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24123== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24123== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24123== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24123== by 0x4084A29: lua_resume (lj_api.c:1296) ==24123== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24123== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24123== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24123== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24123== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24123== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24123== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24123== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24123== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24123== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24123== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24123== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24123== by 0x8065F7E: main (nginx.c:382) ==24123== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24125== Invalid read of size 4 ==24125== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24125== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24125== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24125== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24125== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24125== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24125== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24125== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24125== by 0x8065F7E: main (nginx.c:382) ==24125== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24125== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24125== ==24125== Process terminating with default action of signal 11 (SIGSEGV) ==24125== Access not within mapped region at address 0x0 ==24125== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24125== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24125== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24125== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24125== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24125== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24125== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24125== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24125== by 0x8065F7E: main (nginx.c:382) ==24125== If you believe this happened as a result of a stack ==24125== overflow in your program's main thread (unlikely but ==24125== possible), you can try to increase the size of the ==24125== main thread stack using the --main-stacksize= flag. ==24125== The main thread stack size used in this run was 8388608. ==24125== 4,096 bytes in 1 blocks are definitely lost in loss record 3,166 of 3,192 ==24125== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24125== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24125== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24125== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24125== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24125== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24125== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24125== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24125== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24125== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24125== by 0x40C0675: trace_state (lj_trace.c:690) ==24125== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24125== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24125== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24125== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24125== by 0x4084A29: lua_resume (lj_api.c:1296) ==24125== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24125== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24125== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24125== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24125== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24125== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24125== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24125== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24125== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24125== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24125== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24125== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24125== by 0x8065F7E: main (nginx.c:382) ==24125== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 14: each gmatch iterator is separate - Can't connect to 127.0.0.1:1984: Connection refused |
==24127== Invalid read of size 4 ==24127== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24127== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24127== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24127== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24127== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24127== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24127== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24127== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24127== by 0x8065F7E: main (nginx.c:382) ==24127== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24127== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - Can't connect to 127.0.0.1:1984: Connection refused |
==24127== ==24127== Process terminating with default action of signal 11 (SIGSEGV) ==24127== Access not within mapped region at address 0x0 ==24127== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24127== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24127== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24127== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24127== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24127== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24127== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24127== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24127== by 0x8065F7E: main (nginx.c:382) ==24127== If you believe this happened as a result of a stack ==24127== overflow in your program's main thread (unlikely but ==24127== possible), you can try to increase the size of the ==24127== main thread stack using the --main-stacksize= flag. ==24127== The main thread stack size used in this run was 8388608. ==24127== 1,024 bytes in 1 blocks are definitely lost in loss record 3,063 of 3,174 ==24127== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24127== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24127== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24127== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24127== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24127== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24127== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24127== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24127== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24127== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24127== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24127== by 0x40C0675: trace_state (lj_trace.c:690) ==24127== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24127== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24127== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24127== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24127== by 0x4084A29: lua_resume (lj_api.c:1296) ==24127== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24127== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24127== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24127== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24127== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24127== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24127== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24127== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24127== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24127== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24127== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24127== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24127== by 0x8065F7E: main (nginx.c:382) ==24127== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 12: an exhausted gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused |
==24129== Invalid read of size 4 ==24129== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24129== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24129== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24129== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24129== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24129== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24129== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24129== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24129== by 0x8065F7E: main (nginx.c:382) ==24129== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24129== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused |
==24129== ==24129== Process terminating with default action of signal 11 (SIGSEGV) ==24129== Access not within mapped region at address 0x0 ==24129== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24129== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24129== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24129== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24129== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24129== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24129== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24129== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24129== by 0x8065F7E: main (nginx.c:382) ==24129== If you believe this happened as a result of a stack ==24129== overflow in your program's main thread (unlikely but ==24129== possible), you can try to increase the size of the ==24129== main thread stack using the --main-stacksize= flag. ==24129== The main thread stack size used in this run was 8388608. ==24129== 1,024 bytes in 1 blocks are definitely lost in loss record 3,052 of 3,163 ==24129== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24129== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24129== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24129== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24129== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24129== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24129== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24129== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24129== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24129== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24129== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24129== by 0x40C0675: trace_state (lj_trace.c:690) ==24129== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24129== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24129== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24129== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24129== by 0x4084A29: lua_resume (lj_api.c:1296) ==24129== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24129== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24129== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24129== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24129== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24129== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24129== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24129== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24129== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24129== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24129== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24129== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24129== by 0x8065F7E: main (nginx.c:382) ==24129== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24135== Invalid read of size 4 ==24135== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24135== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24135== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24135== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24135== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24135== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24135== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24135== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24135== by 0x8065F7E: main (nginx.c:382) ==24135== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24135== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24135== ==24135== Process terminating with default action of signal 11 (SIGSEGV) ==24135== Access not within mapped region at address 0x0 ==24135== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24135== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24135== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24135== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24135== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24135== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24135== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24135== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24135== by 0x8065F7E: main (nginx.c:382) ==24135== If you believe this happened as a result of a stack ==24135== overflow in your program's main thread (unlikely but ==24135== possible), you can try to increase the size of the ==24135== main thread stack using the --main-stacksize= flag. ==24135== The main thread stack size used in this run was 8388608. ==24135== 2,048 bytes in 1 blocks are definitely lost in loss record 3,012 of 3,066 ==24135== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24135== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24135== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24135== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24135== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24135== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24135== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24135== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==24135== by 0x40A0AA4: lj_record_idx (lj_record.c:1419) ==24135== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24135== by 0x40C016A: trace_state (lj_trace.c:680) ==24135== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24135== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24135== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24135== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24135== by 0x4084A29: lua_resume (lj_api.c:1296) ==24135== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24135== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24135== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24135== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24135== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24135== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24135== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24135== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24135== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24135== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24135== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24135== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24135== by 0x8065F7E: main (nginx.c:382) ==24135== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==24137== Invalid read of size 4 ==24137== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24137== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24137== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24137== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24137== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24137== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24137== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24137== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24137== by 0x8065F7E: main (nginx.c:382) ==24137== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24137== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24137== ==24137== Process terminating with default action of signal 11 (SIGSEGV) ==24137== Access not within mapped region at address 0x0 ==24137== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24137== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24137== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24137== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24137== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24137== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24137== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24137== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24137== by 0x8065F7E: main (nginx.c:382) ==24137== If you believe this happened as a result of a stack ==24137== overflow in your program's main thread (unlikely but ==24137== possible), you can try to increase the size of the ==24137== main thread stack using the --main-stacksize= flag. ==24137== The main thread stack size used in this run was 8388608. ==24137== 2,048 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,183 ==24137== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24137== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24137== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24137== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24137== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24137== by 0x408F511: ir_nextk (lj_ir.c:175) ==24137== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24137== by 0x40A8A59: argv2cdata (lj_crecord.c:56) ==24137== by 0x40ABD2B: recff_cdata_call (lj_crecord.c:1269) ==24137== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24137== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24137== by 0x40C016A: trace_state (lj_trace.c:680) ==24137== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24137== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24137== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24137== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24137== by 0x4084A29: lua_resume (lj_api.c:1296) ==24137== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24137== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24137== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24137== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24137== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24137== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24137== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24137== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24137== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24137== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24137== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24137== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24137== by 0x8065F7E: main (nginx.c:382) ==24137== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24139== Invalid read of size 4 ==24139== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24139== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24139== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24139== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24139== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24139== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24139== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24139== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24139== by 0x8065F7E: main (nginx.c:382) ==24139== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24139== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24139== ==24139== Process terminating with default action of signal 11 (SIGSEGV) ==24139== Access not within mapped region at address 0x0 ==24139== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24139== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24139== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24139== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24139== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24139== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24139== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24139== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24139== by 0x8065F7E: main (nginx.c:382) ==24139== If you believe this happened as a result of a stack ==24139== overflow in your program's main thread (unlikely but ==24139== possible), you can try to increase the size of the ==24139== main thread stack using the --main-stacksize= flag. ==24139== The main thread stack size used in this run was 8388608. ==24139== 4,096 bytes in 1 blocks are definitely lost in loss record 3,165 of 3,193 ==24139== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24139== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24139== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24139== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24139== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24139== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24139== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24139== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24139== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24139== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24139== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24139== by 0x40C0675: trace_state (lj_trace.c:690) ==24139== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24139== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24139== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24139== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24139== by 0x4084A29: lua_resume (lj_api.c:1296) ==24139== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24139== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24139== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24139== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24139== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24139== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24139== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24139== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24139== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24139== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24139== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24139== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24139== by 0x8065F7E: main (nginx.c:382) ==24139== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 7: named subpatterns w/ extraction (matched) - Can't connect to 127.0.0.1:1984: Connection refused |
==24141== Invalid read of size 4 ==24141== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24141== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24141== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24141== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24141== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24141== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24141== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24141== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24141== by 0x8065F7E: main (nginx.c:382) ==24141== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24141== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - Can't connect to 127.0.0.1:1984: Connection refused |
==24141== ==24141== Process terminating with default action of signal 11 (SIGSEGV) ==24141== Access not within mapped region at address 0x0 ==24141== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24141== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24141== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24141== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24141== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24141== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24141== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24141== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24141== by 0x8065F7E: main (nginx.c:382) ==24141== If you believe this happened as a result of a stack ==24141== overflow in your program's main thread (unlikely but ==24141== possible), you can try to increase the size of the ==24141== main thread stack using the --main-stacksize= flag. ==24141== The main thread stack size used in this run was 8388608. ==24141== 2,048 bytes in 1 blocks are definitely lost in loss record 3,116 of 3,181 ==24141== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24141== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24141== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24141== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24141== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24141== by 0x408FB9F: ir_nextk (lj_ir.c:175) ==24141== by 0x408FB9F: lj_ir_kslot (lj_ir.c:370) ==24141== by 0x40A0D8D: rec_idx_key (lj_record.c:1378) ==24141== by 0x40A0D8D: lj_record_idx (lj_record.c:1455) ==24141== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24141== by 0x40C016A: trace_state (lj_trace.c:680) ==24141== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24141== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24141== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24141== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24141== by 0x4084A29: lua_resume (lj_api.c:1296) ==24141== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24141== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24141== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24141== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24141== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24141== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24141== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24141== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24141== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24141== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24141== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24141== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24141== by 0x8065F7E: main (nginx.c:382) ==24141== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24143== Invalid read of size 4 ==24143== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24143== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24143== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24143== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24143== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24143== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24143== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24143== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24143== by 0x8065F7E: main (nginx.c:382) ==24143== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24143== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24143== ==24143== Process terminating with default action of signal 11 (SIGSEGV) ==24143== Access not within mapped region at address 0x0 ==24143== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24143== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24143== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24143== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24143== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24143== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24143== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24143== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24143== by 0x8065F7E: main (nginx.c:382) ==24143== If you believe this happened as a result of a stack ==24143== overflow in your program's main thread (unlikely but ==24143== possible), you can try to increase the size of the ==24143== main thread stack using the --main-stacksize= flag. ==24143== The main thread stack size used in this run was 8388608. |
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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24145== Invalid read of size 4 ==24145== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24145== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24145== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24145== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24145== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24145== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24145== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24145== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24145== by 0x8065F7E: main (nginx.c:382) ==24145== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24145== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24145== ==24145== Process terminating with default action of signal 11 (SIGSEGV) ==24145== Access not within mapped region at address 0x0 ==24145== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24145== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24145== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24145== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24145== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24145== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24145== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24145== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24145== by 0x8065F7E: main (nginx.c:382) ==24145== If you believe this happened as a result of a stack ==24145== overflow in your program's main thread (unlikely but ==24145== possible), you can try to increase the size of the ==24145== main thread stack using the --main-stacksize= flag. ==24145== The main thread stack size used in this run was 8388608. ==24145== 2,048 bytes in 1 blocks are definitely lost in loss record 3,112 of 3,178 ==24145== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24145== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24145== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24145== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24145== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24145== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24145== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24145== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==24145== by 0x40A0AA4: lj_record_idx (lj_record.c:1419) ==24145== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24145== by 0x40C016A: trace_state (lj_trace.c:680) ==24145== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24145== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24145== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24145== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24145== by 0x4084A29: lua_resume (lj_api.c:1296) ==24145== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24145== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24145== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24145== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24145== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24145== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24145== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24145== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24145== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24145== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24145== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24145== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24145== by 0x8065F7E: main (nginx.c:382) ==24145== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==24147== Invalid read of size 4 ==24147== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24147== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24147== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24147== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24147== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24147== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24147== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24147== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24147== by 0x8065F7E: main (nginx.c:382) ==24147== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24147== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==24147== ==24147== Process terminating with default action of signal 11 (SIGSEGV) ==24147== Access not within mapped region at address 0x0 ==24147== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24147== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24147== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24147== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24147== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24147== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24147== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24147== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24147== by 0x8065F7E: main (nginx.c:382) ==24147== If you believe this happened as a result of a stack ==24147== overflow in your program's main thread (unlikely but ==24147== possible), you can try to increase the size of the ==24147== main thread stack using the --main-stacksize= flag. ==24147== The main thread stack size used in this run was 8388608. ==24147== 4,096 bytes in 1 blocks are definitely lost in loss record 3,182 of 3,217 ==24147== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24147== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24147== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24147== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24147== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24147== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24147== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24147== by 0x40A9374: crec_ct_ct (lj_crecord.c:440) ==24147== by 0x40A9374: crec_ct_tv (lj_crecord.c:691) ==24147== by 0x40AB6A7: recff_cdata_index (lj_crecord.c:936) ==24147== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24147== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24147== by 0x40C016A: trace_state (lj_trace.c:680) ==24147== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24147== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24147== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24147== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24147== by 0x4084A29: lua_resume (lj_api.c:1296) ==24147== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24147== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24147== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24147== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24147== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24147== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24147== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24147== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24147== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24147== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24147== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24147== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24147== by 0x8065F7E: main (nginx.c:382) ==24147== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 14: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24149== Invalid read of size 4 ==24149== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24149== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24149== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24149== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24149== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24149== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24149== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24149== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24149== by 0x8065F7E: main (nginx.c:382) ==24149== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24149== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 14: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24149== ==24149== Process terminating with default action of signal 11 (SIGSEGV) ==24149== Access not within mapped region at address 0x0 ==24149== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24149== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24149== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24149== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24149== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24149== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24149== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24149== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24149== by 0x8065F7E: main (nginx.c:382) ==24149== If you believe this happened as a result of a stack ==24149== overflow in your program's main thread (unlikely but ==24149== possible), you can try to increase the size of the ==24149== main thread stack using the --main-stacksize= flag. ==24149== The main thread stack size used in this run was 8388608. ==24149== 1,024 bytes in 1 blocks are definitely lost in loss record 3,068 of 3,179 ==24149== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24149== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24149== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24149== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24149== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24149== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24149== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24149== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24149== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24149== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24149== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24149== by 0x40C0675: trace_state (lj_trace.c:690) ==24149== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24149== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24149== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24149== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24149== by 0x4084A29: lua_resume (lj_api.c:1296) ==24149== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24149== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24149== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24149== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24149== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24149== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24149== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24149== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24149== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24149== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24149== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24149== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24149== by 0x8065F7E: main (nginx.c:382) ==24149== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 12: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24151== Invalid read of size 4 ==24151== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24151== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24151== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24151== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24151== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24151== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24151== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24151== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24151== by 0x8065F7E: main (nginx.c:382) ==24151== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24151== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 12: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24151== ==24151== Process terminating with default action of signal 11 (SIGSEGV) ==24151== Access not within mapped region at address 0x0 ==24151== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24151== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24151== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24151== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24151== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24151== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24151== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24151== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24151== by 0x8065F7E: main (nginx.c:382) ==24151== If you believe this happened as a result of a stack ==24151== overflow in your program's main thread (unlikely but ==24151== possible), you can try to increase the size of the ==24151== main thread stack using the --main-stacksize= flag. ==24151== The main thread stack size used in this run was 8388608. ==24151== 1,024 bytes in 1 blocks are definitely lost in loss record 3,087 of 3,198 ==24151== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24151== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24151== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24151== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24151== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24151== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24151== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24151== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24151== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24151== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24151== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24151== by 0x40C0675: trace_state (lj_trace.c:690) ==24151== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24151== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24151== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24151== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24151== by 0x4084A29: lua_resume (lj_api.c:1296) ==24151== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24151== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24151== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24151== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24151== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24151== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24151== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24151== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24151== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24151== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24151== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24151== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24151== by 0x8065F7E: main (nginx.c:382) ==24151== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 11: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24153== Invalid read of size 4 ==24153== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24153== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24153== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24153== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24153== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24153== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24153== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24153== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24153== by 0x8065F7E: main (nginx.c:382) ==24153== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24153== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 11: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24153== ==24153== Process terminating with default action of signal 11 (SIGSEGV) ==24153== Access not within mapped region at address 0x0 ==24153== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24153== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24153== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24153== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24153== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24153== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24153== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24153== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24153== by 0x8065F7E: main (nginx.c:382) ==24153== If you believe this happened as a result of a stack ==24153== overflow in your program's main thread (unlikely but ==24153== possible), you can try to increase the size of the ==24153== main thread stack using the --main-stacksize= flag. ==24153== The main thread stack size used in this run was 8388608. ==24153== 1,024 bytes in 1 blocks are definitely lost in loss record 3,069 of 3,180 ==24153== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24153== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24153== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24153== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24153== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24153== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24153== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24153== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24153== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24153== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24153== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24153== by 0x40C0675: trace_state (lj_trace.c:690) ==24153== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24153== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24153== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24153== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24153== by 0x4084A29: lua_resume (lj_api.c:1296) ==24153== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24153== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24153== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24153== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24153== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24153== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24153== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24153== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24153== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24153== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24153== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24153== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24153== by 0x8065F7E: main (nginx.c:382) ==24153== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-match.t | TEST 15: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24155== Invalid read of size 4 ==24155== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24155== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24155== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24155== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24155== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24155== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24155== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24155== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24155== by 0x8065F7E: main (nginx.c:382) ==24155== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24155== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 15: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24155== ==24155== Process terminating with default action of signal 11 (SIGSEGV) ==24155== Access not within mapped region at address 0x0 ==24155== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24155== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24155== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24155== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24155== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24155== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24155== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24155== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24155== by 0x8065F7E: main (nginx.c:382) ==24155== If you believe this happened as a result of a stack ==24155== overflow in your program's main thread (unlikely but ==24155== possible), you can try to increase the size of the ==24155== main thread stack using the --main-stacksize= flag. ==24155== The main thread stack size used in this run was 8388608. ==24155== 1,024 bytes in 1 blocks are definitely lost in loss record 3,068 of 3,179 ==24155== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24155== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24155== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24155== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24155== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24155== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24155== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24155== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24155== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24155== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24155== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24155== by 0x40C0675: trace_state (lj_trace.c:690) ==24155== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24155== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24155== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24155== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24155== by 0x4084A29: lua_resume (lj_api.c:1296) ==24155== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24155== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24155== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24155== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24155== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24155== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24155== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24155== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24155== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24155== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24155== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24155== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24155== by 0x8065F7E: main (nginx.c:382) ==24155== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==24157== Invalid read of size 4 ==24157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24157== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24157== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24157== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24157== by 0x8065F7E: main (nginx.c:382) ==24157== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24157== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - Can't connect to 127.0.0.1:1984: Connection refused |
==24157== ==24157== Process terminating with default action of signal 11 (SIGSEGV) ==24157== Access not within mapped region at address 0x0 ==24157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24157== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24157== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24157== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24157== by 0x8065F7E: main (nginx.c:382) ==24157== If you believe this happened as a result of a stack ==24157== overflow in your program's main thread (unlikely but ==24157== possible), you can try to increase the size of the ==24157== main thread stack using the --main-stacksize= flag. ==24157== The main thread stack size used in this run was 8388608. ==24157== 2,048 bytes in 1 blocks are definitely lost in loss record 3,134 of 3,197 ==24157== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24157== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24157== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24157== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24157== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24157== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24157== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24157== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24157== by 0x40C016A: trace_state (lj_trace.c:680) ==24157== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24157== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24157== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24157== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24157== by 0x4084A29: lua_resume (lj_api.c:1296) ==24157== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24157== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24157== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24157== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24157== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24157== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24157== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24157== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24157== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24157== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24157== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24157== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24157== by 0x8065F7E: main (nginx.c:382) ==24157== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24159== Invalid read of size 4 ==24159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24159== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24159== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24159== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24159== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24159== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24159== by 0x8065F7E: main (nginx.c:382) ==24159== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24159== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24159== ==24159== Process terminating with default action of signal 11 (SIGSEGV) ==24159== Access not within mapped region at address 0x0 ==24159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24159== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24159== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24159== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24159== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24159== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24159== by 0x8065F7E: main (nginx.c:382) ==24159== If you believe this happened as a result of a stack ==24159== overflow in your program's main thread (unlikely but ==24159== possible), you can try to increase the size of the ==24159== main thread stack using the --main-stacksize= flag. ==24159== The main thread stack size used in this run was 8388608. ==24159== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,182 ==24159== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24159== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24159== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24159== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24159== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24159== by 0x408F511: ir_nextk (lj_ir.c:175) ==24159== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24159== by 0x40A8A59: argv2cdata (lj_crecord.c:56) ==24159== by 0x40ABD2B: recff_cdata_call (lj_crecord.c:1269) ==24159== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24159== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24159== by 0x40C016A: trace_state (lj_trace.c:680) ==24159== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24159== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24159== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24159== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24159== by 0x4084A29: lua_resume (lj_api.c:1296) ==24159== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24159== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24159== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24159== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24159== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24159== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24159== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24159== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24159== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24159== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24159== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24159== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24159== by 0x8065F7E: main (nginx.c:382) ==24159== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 13: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24161== Invalid read of size 4 ==24161== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24161== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24161== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24161== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24161== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24161== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24161== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24161== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24161== by 0x8065F7E: main (nginx.c:382) ==24161== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24161== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 13: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==24161== ==24161== Process terminating with default action of signal 11 (SIGSEGV) ==24161== Access not within mapped region at address 0x0 ==24161== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24161== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24161== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24161== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24161== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24161== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24161== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24161== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24161== by 0x8065F7E: main (nginx.c:382) ==24161== If you believe this happened as a result of a stack ==24161== overflow in your program's main thread (unlikely but ==24161== possible), you can try to increase the size of the ==24161== main thread stack using the --main-stacksize= flag. ==24161== The main thread stack size used in this run was 8388608. ==24161== 1,024 bytes in 1 blocks are definitely lost in loss record 3,070 of 3,181 ==24161== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24161== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24161== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24161== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24161== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24161== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24161== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24161== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24161== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24161== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24161== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24161== by 0x40C0675: trace_state (lj_trace.c:690) ==24161== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24161== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24161== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24161== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24161== by 0x4084A29: lua_resume (lj_api.c:1296) ==24161== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24161== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24161== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24161== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24161== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24161== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24161== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24161== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24161== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24161== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24161== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24161== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24161== by 0x8065F7E: main (nginx.c:382) ==24161== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24163== Invalid read of size 4 ==24163== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24163== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24163== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24163== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24163== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24163== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24163== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24163== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24163== by 0x8065F7E: main (nginx.c:382) ==24163== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24163== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24163== ==24163== Process terminating with default action of signal 11 (SIGSEGV) ==24163== Access not within mapped region at address 0x0 ==24163== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24163== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24163== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24163== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24163== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24163== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24163== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24163== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24163== by 0x8065F7E: main (nginx.c:382) ==24163== If you believe this happened as a result of a stack ==24163== overflow in your program's main thread (unlikely but ==24163== possible), you can try to increase the size of the ==24163== main thread stack using the --main-stacksize= flag. ==24163== The main thread stack size used in this run was 8388608. ==24163== 2,048 bytes in 1 blocks are definitely lost in loss record 3,132 of 3,196 ==24163== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24163== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24163== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24163== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24163== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24163== by 0x408FB9F: ir_nextk (lj_ir.c:175) ==24163== by 0x408FB9F: lj_ir_kslot (lj_ir.c:370) ==24163== by 0x40A0D8D: rec_idx_key (lj_record.c:1378) ==24163== by 0x40A0D8D: lj_record_idx (lj_record.c:1455) ==24163== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24163== by 0x40C016A: trace_state (lj_trace.c:680) ==24163== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24163== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24163== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24163== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24163== by 0x4084A29: lua_resume (lj_api.c:1296) ==24163== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24163== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24163== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24163== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24163== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24163== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24163== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24163== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24163== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24163== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24163== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24163== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24163== by 0x8065F7E: main (nginx.c:382) ==24163== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused |
==24169== Invalid read of size 4 ==24169== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24169== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24169== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24169== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24169== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24169== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24169== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24169== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24169== by 0x8065F7E: main (nginx.c:382) ==24169== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24169== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24169== ==24169== Process terminating with default action of signal 11 (SIGSEGV) ==24169== Access not within mapped region at address 0x0 ==24169== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24169== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24169== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24169== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24169== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24169== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24169== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24169== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24169== by 0x8065F7E: main (nginx.c:382) ==24169== If you believe this happened as a result of a stack ==24169== overflow in your program's main thread (unlikely but ==24169== possible), you can try to increase the size of the ==24169== main thread stack using the --main-stacksize= flag. ==24169== The main thread stack size used in this run was 8388608. ==24169== 1,024 bytes in 1 blocks are definitely lost in loss record 3,085 of 3,200 ==24169== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24169== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24169== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24169== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24169== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24169== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24169== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24169== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24169== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24169== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24169== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24169== by 0x40C0675: trace_state (lj_trace.c:690) ==24169== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24169== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24169== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24169== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24169== by 0x4084A29: lua_resume (lj_api.c:1296) ==24169== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24169== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24169== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24169== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24169== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24169== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24169== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24169== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24169== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24169== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24169== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24169== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24169== by 0x8065F7E: main (nginx.c:382) ==24169== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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 1: default jit_stack_size too small - Can't connect to 127.0.0.1:1984: Connection refused |
==24171== Invalid read of size 4 ==24171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24171== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24171== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24171== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24171== by 0x8065F7E: main (nginx.c:382) ==24171== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24171== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-opt.t | TEST 1: default jit_stack_size too small - Can't connect to 127.0.0.1:1984: Connection refused |
==24171== ==24171== Process terminating with default action of signal 11 (SIGSEGV) ==24171== Access not within mapped region at address 0x0 ==24171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24171== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24171== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24171== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24171== by 0x8065F7E: main (nginx.c:382) ==24171== If you believe this happened as a result of a stack ==24171== overflow in your program's main thread (unlikely but ==24171== possible), you can try to increase the size of the ==24171== main thread stack using the --main-stacksize= flag. ==24171== The main thread stack size used in this run was 8388608. ==24171== 1,024 bytes in 1 blocks are definitely lost in loss record 3,068 of 3,179 ==24171== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24171== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24171== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24171== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24171== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24171== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24171== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24171== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24171== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24171== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24171== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24171== by 0x40C0675: trace_state (lj_trace.c:690) ==24171== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24171== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24171== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24171== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24171== by 0x4084A29: lua_resume (lj_api.c:1296) ==24171== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24171== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24171== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24171== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24171== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24171== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24171== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24171== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24171== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24171== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24171== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24171== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24171== by 0x8065F7E: main (nginx.c:382) ==24171== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==24173== Invalid read of size 4 ==24173== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24173== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24173== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24173== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24173== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24173== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24173== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24173== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24173== by 0x8065F7E: main (nginx.c:382) ==24173== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24173== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - Can't connect to 127.0.0.1:1984: Connection refused |
==24173== ==24173== Process terminating with default action of signal 11 (SIGSEGV) ==24173== Access not within mapped region at address 0x0 ==24173== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24173== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24173== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24173== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24173== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24173== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24173== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24173== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24173== by 0x8065F7E: main (nginx.c:382) ==24173== If you believe this happened as a result of a stack ==24173== overflow in your program's main thread (unlikely but ==24173== possible), you can try to increase the size of the ==24173== main thread stack using the --main-stacksize= flag. ==24173== The main thread stack size used in this run was 8388608. ==24173== 1,024 bytes in 1 blocks are definitely lost in loss record 3,117 of 3,233 ==24173== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24173== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24173== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24173== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24173== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24173== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24173== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24173== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24173== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24173== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24173== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24173== by 0x40C0675: trace_state (lj_trace.c:690) ==24173== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24173== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24173== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24173== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24173== by 0x4084A29: lua_resume (lj_api.c:1296) ==24173== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24173== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24173== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24173== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24173== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24173== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24173== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24173== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24173== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24173== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24173== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24173== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24173== by 0x8065F7E: main (nginx.c:382) ==24173== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - Can't connect to 127.0.0.1:1984: Connection refused |
==24175== Invalid read of size 4 ==24175== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24175== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24175== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24175== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24175== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24175== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24175== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24175== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24175== by 0x8065F7E: main (nginx.c:382) ==24175== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24175== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - Can't connect to 127.0.0.1:1984: Connection refused |
==24175== ==24175== Process terminating with default action of signal 11 (SIGSEGV) ==24175== Access not within mapped region at address 0x0 ==24175== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24175== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24175== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24175== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24175== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24175== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24175== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24175== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24175== by 0x8065F7E: main (nginx.c:382) ==24175== If you believe this happened as a result of a stack ==24175== overflow in your program's main thread (unlikely but ==24175== possible), you can try to increase the size of the ==24175== main thread stack using the --main-stacksize= flag. ==24175== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-split.t | TEST 20: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24181== Invalid read of size 4 ==24181== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24181== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24181== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24181== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24181== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24181== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24181== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24181== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24181== by 0x8065F7E: main (nginx.c:382) ==24181== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24181== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 20: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24181== ==24181== Process terminating with default action of signal 11 (SIGSEGV) ==24181== Access not within mapped region at address 0x0 ==24181== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24181== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24181== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24181== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24181== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24181== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24181== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24181== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24181== by 0x8065F7E: main (nginx.c:382) ==24181== If you believe this happened as a result of a stack ==24181== overflow in your program's main thread (unlikely but ==24181== possible), you can try to increase the size of the ==24181== main thread stack using the --main-stacksize= flag. ==24181== The main thread stack size used in this run was 8388608. ==24181== 1,024 bytes in 1 blocks are definitely lost in loss record 3,117 of 3,233 ==24181== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24181== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24181== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24181== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24181== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24181== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24181== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24181== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24181== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24181== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24181== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24181== by 0x40C0675: trace_state (lj_trace.c:690) ==24181== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24181== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24181== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24181== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24181== by 0x4084A29: lua_resume (lj_api.c:1296) ==24181== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24181== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24181== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24181== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24181== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24181== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24181== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24181== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24181== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24181== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24181== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24181== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24181== by 0x8065F7E: main (nginx.c:382) ==24181== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 11: split matches, provided res table - Can't connect to 127.0.0.1:1984: Connection refused |
==24183== Invalid read of size 4 ==24183== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24183== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24183== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24183== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24183== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24183== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24183== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24183== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24183== by 0x8065F7E: main (nginx.c:382) ==24183== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24183== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 11: split matches, provided res table - Can't connect to 127.0.0.1:1984: Connection refused |
==24183== ==24183== Process terminating with default action of signal 11 (SIGSEGV) ==24183== Access not within mapped region at address 0x0 ==24183== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24183== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24183== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24183== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24183== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24183== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24183== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24183== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24183== by 0x8065F7E: main (nginx.c:382) ==24183== If you believe this happened as a result of a stack ==24183== overflow in your program's main thread (unlikely but ==24183== possible), you can try to increase the size of the ==24183== main thread stack using the --main-stacksize= flag. ==24183== The main thread stack size used in this run was 8388608. ==24183== 1,024 bytes in 1 blocks are definitely lost in loss record 3,101 of 3,217 ==24183== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24183== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24183== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24183== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24183== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24183== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24183== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24183== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24183== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24183== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24183== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24183== by 0x40C0675: trace_state (lj_trace.c:690) ==24183== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24183== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24183== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24183== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24183== by 0x4084A29: lua_resume (lj_api.c:1296) ==24183== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24183== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24183== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24183== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24183== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24183== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24183== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24183== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24183== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24183== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24183== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24183== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24183== by 0x8065F7E: main (nginx.c:382) ==24183== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused |
==24185== Invalid read of size 4 ==24185== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24185== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24185== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24185== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24185== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24185== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24185== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24185== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24185== by 0x8065F7E: main (nginx.c:382) ==24185== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24185== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused |
==24185== ==24185== Process terminating with default action of signal 11 (SIGSEGV) ==24185== Access not within mapped region at address 0x0 ==24185== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24185== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24185== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24185== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24185== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24185== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24185== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24185== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24185== by 0x8065F7E: main (nginx.c:382) ==24185== If you believe this happened as a result of a stack ==24185== overflow in your program's main thread (unlikely but ==24185== possible), you can try to increase the size of the ==24185== main thread stack using the --main-stacksize= flag. ==24185== The main thread stack size used in this run was 8388608. ==24185== 1,024 bytes in 1 blocks are definitely lost in loss record 3,106 of 3,222 ==24185== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24185== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24185== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24185== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24185== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24185== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24185== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24185== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24185== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24185== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24185== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24185== by 0x40C0675: trace_state (lj_trace.c:690) ==24185== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24185== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24185== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24185== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24185== by 0x4084A29: lua_resume (lj_api.c:1296) ==24185== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24185== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24185== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24185== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24185== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24185== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24185== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24185== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24185== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24185== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24185== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24185== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24185== by 0x8065F7E: main (nginx.c:382) ==24185== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 0, req 0) |
got: '' expected: 'ab :cd :ef len: 3 ' |
stream/re-split.t | TEST 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 24: regex is "" with pos - Can't connect to 127.0.0.1:1984: Connection refused |
==24187== Invalid read of size 4 ==24187== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24187== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24187== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24187== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24187== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24187== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24187== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24187== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24187== by 0x8065F7E: main (nginx.c:382) ==24187== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24187== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 24: regex is "" with pos - Can't connect to 127.0.0.1:1984: Connection refused |
==24187== ==24187== Process terminating with default action of signal 11 (SIGSEGV) ==24187== Access not within mapped region at address 0x0 ==24187== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24187== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24187== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24187== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24187== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24187== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24187== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24187== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24187== by 0x8065F7E: main (nginx.c:382) ==24187== If you believe this happened as a result of a stack ==24187== overflow in your program's main thread (unlikely but ==24187== possible), you can try to increase the size of the ==24187== main thread stack using the --main-stacksize= flag. ==24187== The main thread stack size used in this run was 8388608. ==24187== 1,024 bytes in 1 blocks are definitely lost in loss record 3,134 of 3,251 ==24187== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24187== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24187== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24187== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24187== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24187== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24187== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24187== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24187== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24187== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24187== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24187== by 0x40C0675: trace_state (lj_trace.c:690) ==24187== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24187== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24187== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24187== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24187== by 0x4084A29: lua_resume (lj_api.c:1296) ==24187== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24187== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24187== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24187== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24187== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24187== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24187== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24187== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24187== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24187== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24187== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24187== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24187== by 0x8065F7E: main (nginx.c:382) ==24187== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 39: remaining characters are matched by regex (with max) - Can't connect to 127.0.0.1:1984: Connection refused |
==24189== Invalid read of size 4 ==24189== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24189== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24189== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24189== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24189== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24189== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24189== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24189== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24189== by 0x8065F7E: main (nginx.c:382) ==24189== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24189== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - Can't connect to 127.0.0.1:1984: Connection refused |
==24189== ==24189== Process terminating with default action of signal 11 (SIGSEGV) ==24189== Access not within mapped region at address 0x0 ==24189== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24189== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24189== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24189== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24189== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24189== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24189== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24189== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24189== by 0x8065F7E: main (nginx.c:382) ==24189== If you believe this happened as a result of a stack ==24189== overflow in your program's main thread (unlikely but ==24189== possible), you can try to increase the size of the ==24189== main thread stack using the --main-stacksize= flag. ==24189== The main thread stack size used in this run was 8388608. ==24189== 1,024 bytes in 1 blocks are definitely lost in loss record 3,126 of 3,243 ==24189== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24189== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24189== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24189== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24189== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24189== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24189== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24189== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24189== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24189== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24189== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24189== by 0x40C0675: trace_state (lj_trace.c:690) ==24189== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24189== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24189== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24189== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24189== by 0x4084A29: lua_resume (lj_api.c:1296) ==24189== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24189== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24189== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24189== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24189== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24189== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24189== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24189== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24189== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24189== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24189== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24189== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24189== by 0x8065F7E: main (nginx.c:382) ==24189== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 22: regex is "" - Can't connect to 127.0.0.1:1984: Connection refused |
==24191== Invalid read of size 4 ==24191== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24191== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24191== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24191== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24191== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24191== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24191== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24191== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24191== by 0x8065F7E: main (nginx.c:382) ==24191== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24191== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 22: regex is "" - Can't connect to 127.0.0.1:1984: Connection refused |
==24191== ==24191== Process terminating with default action of signal 11 (SIGSEGV) ==24191== Access not within mapped region at address 0x0 ==24191== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24191== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24191== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24191== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24191== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24191== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24191== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24191== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24191== by 0x8065F7E: main (nginx.c:382) ==24191== If you believe this happened as a result of a stack ==24191== overflow in your program's main thread (unlikely but ==24191== possible), you can try to increase the size of the ==24191== main thread stack using the --main-stacksize= flag. ==24191== The main thread stack size used in this run was 8388608. ==24191== 1,024 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,235 ==24191== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24191== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24191== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24191== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24191== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24191== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24191== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24191== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24191== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24191== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24191== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24191== by 0x40C0675: trace_state (lj_trace.c:690) ==24191== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24191== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24191== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24191== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24191== by 0x4084A29: lua_resume (lj_api.c:1296) ==24191== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24191== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24191== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24191== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24191== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24191== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24191== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24191== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24191== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24191== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24191== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24191== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24191== by 0x8065F7E: main (nginx.c:382) ==24191== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 "" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 30: behavior with /^/ differs from Perl's split - Can't connect to 127.0.0.1:1984: Connection refused |
==24193== Invalid read of size 4 ==24193== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24193== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24193== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24193== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24193== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24193== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24193== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24193== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24193== by 0x8065F7E: main (nginx.c:382) ==24193== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24193== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - Can't connect to 127.0.0.1:1984: Connection refused |
==24193== ==24193== Process terminating with default action of signal 11 (SIGSEGV) ==24193== Access not within mapped region at address 0x0 ==24193== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24193== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24193== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24193== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24193== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24193== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24193== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24193== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24193== by 0x8065F7E: main (nginx.c:382) ==24193== If you believe this happened as a result of a stack ==24193== overflow in your program's main thread (unlikely but ==24193== possible), you can try to increase the size of the ==24193== main thread stack using the --main-stacksize= flag. ==24193== The main thread stack size used in this run was 8388608. ==24193== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,206 ==24193== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24193== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24193== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24193== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24193== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24193== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24193== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24193== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24193== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24193== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24193== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24193== by 0x40C0675: trace_state (lj_trace.c:690) ==24193== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24193== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24193== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24193== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24193== by 0x4084A29: lua_resume (lj_api.c:1296) ==24193== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24193== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24193== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24193== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24193== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24193== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24193== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24193== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24193== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24193== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24193== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24193== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24193== by 0x8065F7E: main (nginx.c:382) ==24193== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 36: split by unit separator 1/2 (GH issue lua-nginx-module #1217) - Can't connect to 127.0.0.1:1984: Connection refused |
==24195== Invalid read of size 4 ==24195== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24195== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24195== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24195== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24195== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24195== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24195== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24195== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24195== by 0x8065F7E: main (nginx.c:382) ==24195== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24195== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module #1217) - Can't connect to 127.0.0.1:1984: Connection refused |
==24195== ==24195== Process terminating with default action of signal 11 (SIGSEGV) ==24195== Access not within mapped region at address 0x0 ==24195== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24195== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24195== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24195== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24195== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24195== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24195== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24195== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24195== by 0x8065F7E: main (nginx.c:382) ==24195== If you believe this happened as a result of a stack ==24195== overflow in your program's main thread (unlikely but ==24195== possible), you can try to increase the size of the ==24195== main thread stack using the --main-stacksize= flag. ==24195== The main thread stack size used in this run was 8388608. ==24195== 2,048 bytes in 1 blocks are definitely lost in loss record 3,169 of 3,233 ==24195== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24195== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24195== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24195== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24195== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24195== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24195== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24195== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24195== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24195== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24195== by 0x40C0675: trace_state (lj_trace.c:690) ==24195== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24195== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24195== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24195== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24195== by 0x4084A29: lua_resume (lj_api.c:1296) ==24195== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24195== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24195== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24195== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24195== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24195== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24195== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24195== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24195== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24195== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24195== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24195== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24195== by 0x8065F7E: main (nginx.c:382) ==24195== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 7: split matches + submatch + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24197== Invalid read of size 4 ==24197== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24197== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24197== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24197== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24197== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24197== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24197== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24197== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24197== by 0x8065F7E: main (nginx.c:382) ==24197== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24197== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24197== ==24197== Process terminating with default action of signal 11 (SIGSEGV) ==24197== Access not within mapped region at address 0x0 ==24197== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24197== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24197== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24197== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24197== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24197== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24197== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24197== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24197== by 0x8065F7E: main (nginx.c:382) ==24197== If you believe this happened as a result of a stack ==24197== overflow in your program's main thread (unlikely but ==24197== possible), you can try to increase the size of the ==24197== main thread stack using the --main-stacksize= flag. ==24197== The main thread stack size used in this run was 8388608. ==24197== 1,024 bytes in 1 blocks are definitely lost in loss record 3,102 of 3,218 ==24197== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24197== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24197== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24197== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24197== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24197== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24197== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24197== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24197== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24197== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24197== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24197== by 0x40C0675: trace_state (lj_trace.c:690) ==24197== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24197== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24197== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24197== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24197== by 0x4084A29: lua_resume (lj_api.c:1296) ==24197== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24197== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24197== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24197== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24197== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24197== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24197== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24197== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24197== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24197== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24197== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24197== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24197== by 0x8065F7E: main (nginx.c:382) ==24197== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 29: no match separator bis (github issue #104) - Can't connect to 127.0.0.1:1984: Connection refused |
==24199== Invalid read of size 4 ==24199== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24199== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24199== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24199== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24199== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24199== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24199== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24199== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24199== by 0x8065F7E: main (nginx.c:382) ==24199== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24199== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 29: no match separator bis (github issue #104) - Can't connect to 127.0.0.1:1984: Connection refused |
==24199== ==24199== Process terminating with default action of signal 11 (SIGSEGV) ==24199== Access not within mapped region at address 0x0 ==24199== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24199== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24199== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24199== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24199== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24199== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24199== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24199== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24199== by 0x8065F7E: main (nginx.c:382) ==24199== If you believe this happened as a result of a stack ==24199== overflow in your program's main thread (unlikely but ==24199== possible), you can try to increase the size of the ==24199== main thread stack using the --main-stacksize= flag. ==24199== The main thread stack size used in this run was 8388608. ==24199== 1,024 bytes in 1 blocks are definitely lost in loss record 3,112 of 3,227 ==24199== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24199== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24199== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24199== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24199== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24199== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24199== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24199== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24199== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24199== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24199== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24199== by 0x40C0675: trace_state (lj_trace.c:690) ==24199== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24199== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24199== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24199== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24199== by 0x4084A29: lua_resume (lj_api.c:1296) ==24199== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24199== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24199== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24199== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24199== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24199== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24199== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24199== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24199== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24199== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24199== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24199== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24199== by 0x8065F7E: main (nginx.c:382) ==24199== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 25: regex is "" with pos larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused |
==24201== Invalid read of size 4 ==24201== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24201== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24201== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24201== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24201== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24201== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24201== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24201== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24201== by 0x8065F7E: main (nginx.c:382) ==24201== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24201== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused |
==24201== ==24201== Process terminating with default action of signal 11 (SIGSEGV) ==24201== Access not within mapped region at address 0x0 ==24201== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24201== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24201== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24201== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24201== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24201== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24201== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24201== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24201== by 0x8065F7E: main (nginx.c:382) ==24201== If you believe this happened as a result of a stack ==24201== overflow in your program's main thread (unlikely but ==24201== possible), you can try to increase the size of the ==24201== main thread stack using the --main-stacksize= flag. ==24201== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==24203== Invalid read of size 4 ==24203== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24203== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24203== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24203== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24203== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24203== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24203== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24203== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24203== by 0x8065F7E: main (nginx.c:382) ==24203== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24203== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24203== ==24203== Process terminating with default action of signal 11 (SIGSEGV) ==24203== Access not within mapped region at address 0x0 ==24203== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24203== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24203== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24203== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24203== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24203== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24203== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24203== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24203== by 0x8065F7E: main (nginx.c:382) ==24203== If you believe this happened as a result of a stack ==24203== overflow in your program's main thread (unlikely but ==24203== possible), you can try to increase the size of the ==24203== main thread stack using the --main-stacksize= flag. ==24203== The main thread stack size used in this run was 8388608. ==24203== 1,024 bytes in 1 blocks are definitely lost in loss record 3,117 of 3,233 ==24203== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24203== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24203== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24203== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24203== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24203== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24203== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24203== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24203== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24203== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24203== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24203== by 0x40C0675: trace_state (lj_trace.c:690) ==24203== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24203== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24203== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24203== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24203== by 0x4084A29: lua_resume (lj_api.c:1296) ==24203== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24203== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24203== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24203== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24203== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24203== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24203== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24203== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24203== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24203== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24203== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24203== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24203== by 0x8065F7E: main (nginx.c:382) ==24203== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 34: behavior with /^\d/m - Can't connect to 127.0.0.1:1984: Connection refused |
==24205== Invalid read of size 4 ==24205== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24205== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24205== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24205== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24205== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24205== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24205== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24205== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24205== by 0x8065F7E: main (nginx.c:382) ==24205== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24205== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 34: behavior with /^\d/m - Can't connect to 127.0.0.1:1984: Connection refused |
==24205== ==24205== Process terminating with default action of signal 11 (SIGSEGV) ==24205== Access not within mapped region at address 0x0 ==24205== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24205== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24205== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24205== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24205== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24205== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24205== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24205== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24205== by 0x8065F7E: main (nginx.c:382) ==24205== If you believe this happened as a result of a stack ==24205== overflow in your program's main thread (unlikely but ==24205== possible), you can try to increase the size of the ==24205== main thread stack using the --main-stacksize= flag. ==24205== The main thread stack size used in this run was 8388608. ==24205== 1,024 bytes in 1 blocks are definitely lost in loss record 3,104 of 3,220 ==24205== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24205== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24205== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24205== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24205== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24205== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24205== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24205== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24205== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24205== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24205== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24205== by 0x40C0675: trace_state (lj_trace.c:690) ==24205== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24205== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24205== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24205== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24205== by 0x4084A29: lua_resume (lj_api.c:1296) ==24205== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24205== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24205== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24205== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24205== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24205== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24205== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24205== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24205== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24205== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24205== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24205== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24205== by 0x8065F7E: main (nginx.c:382) ==24205== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 27: no match separator (github issue #104) - Can't connect to 127.0.0.1:1984: Connection refused |
==24207== Invalid read of size 4 ==24207== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24207== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24207== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24207== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24207== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24207== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24207== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24207== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24207== by 0x8065F7E: main (nginx.c:382) ==24207== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24207== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 27: no match separator (github issue #104) - Can't connect to 127.0.0.1:1984: Connection refused |
==24207== ==24207== Process terminating with default action of signal 11 (SIGSEGV) ==24207== Access not within mapped region at address 0x0 ==24207== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24207== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24207== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24207== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24207== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24207== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24207== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24207== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24207== by 0x8065F7E: main (nginx.c:382) ==24207== If you believe this happened as a result of a stack ==24207== overflow in your program's main thread (unlikely but ==24207== possible), you can try to increase the size of the ==24207== main thread stack using the --main-stacksize= flag. ==24207== The main thread stack size used in this run was 8388608. ==24207== 1,024 bytes in 1 blocks are definitely lost in loss record 3,104 of 3,217 ==24207== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24207== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24207== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24207== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24207== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24207== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24207== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24207== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24207== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24207== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24207== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24207== by 0x40C0675: trace_state (lj_trace.c:690) ==24207== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24207== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24207== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24207== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24207== by 0x4084A29: lua_resume (lj_api.c:1296) ==24207== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24207== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24207== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24207== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24207== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24207== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24207== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24207== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24207== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24207== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24207== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24207== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24207== by 0x8065F7E: main (nginx.c:382) ==24207== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 4: split matches + submatch (matching) - Can't connect to 127.0.0.1:1984: Connection refused |
==24209== Invalid read of size 4 ==24209== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24209== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24209== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24209== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24209== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24209== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24209== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24209== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24209== by 0x8065F7E: main (nginx.c:382) ==24209== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24209== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 4: split matches + submatch (matching) - Can't connect to 127.0.0.1:1984: Connection refused |
==24209== ==24209== Process terminating with default action of signal 11 (SIGSEGV) ==24209== Access not within mapped region at address 0x0 ==24209== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24209== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24209== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24209== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24209== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24209== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24209== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24209== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24209== by 0x8065F7E: main (nginx.c:382) ==24209== If you believe this happened as a result of a stack ==24209== overflow in your program's main thread (unlikely but ==24209== possible), you can try to increase the size of the ==24209== main thread stack using the --main-stacksize= flag. ==24209== The main thread stack size used in this run was 8388608. ==24209== 1,024 bytes in 1 blocks are definitely lost in loss record 3,108 of 3,223 ==24209== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24209== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24209== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24209== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24209== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24209== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24209== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24209== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24209== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24209== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24209== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24209== by 0x40C0675: trace_state (lj_trace.c:690) ==24209== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24209== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24209== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24209== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24209== by 0x4084A29: lua_resume (lj_api.c:1296) ==24209== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24209== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24209== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24209== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24209== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24209== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24209== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24209== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24209== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24209== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24209== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24209== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24209== by 0x8065F7E: main (nginx.c:382) ==24209== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 10: split matches + max limiter set to 1 - Can't connect to 127.0.0.1:1984: Connection refused |
==24211== Invalid read of size 4 ==24211== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24211== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24211== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24211== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24211== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24211== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24211== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24211== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24211== by 0x8065F7E: main (nginx.c:382) ==24211== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24211== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - Can't connect to 127.0.0.1:1984: Connection refused |
==24211== ==24211== Process terminating with default action of signal 11 (SIGSEGV) ==24211== Access not within mapped region at address 0x0 ==24211== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24211== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24211== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24211== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24211== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24211== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24211== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24211== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24211== by 0x8065F7E: main (nginx.c:382) ==24211== If you believe this happened as a result of a stack ==24211== overflow in your program's main thread (unlikely but ==24211== possible), you can try to increase the size of the ==24211== main thread stack using the --main-stacksize= flag. ==24211== The main thread stack size used in this run was 8388608. ==24211== 1,024 bytes in 1 blocks are definitely lost in loss record 3,098 of 3,211 ==24211== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24211== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24211== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24211== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24211== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24211== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24211== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24211== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24211== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24211== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24211== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24211== by 0x40C0675: trace_state (lj_trace.c:690) ==24211== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24211== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24211== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24211== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24211== by 0x4084A29: lua_resume (lj_api.c:1296) ==24211== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24211== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24211== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24211== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24211== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24211== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24211== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24211== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24211== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24211== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24211== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24211== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24211== by 0x8065F7E: main (nginx.c:382) ==24211== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 32: behavior with /^()/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused |
==24213== Invalid read of size 4 ==24213== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24213== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24213== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24213== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24213== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24213== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24213== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24213== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24213== by 0x8065F7E: main (nginx.c:382) ==24213== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24213== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused |
==24213== ==24213== Process terminating with default action of signal 11 (SIGSEGV) ==24213== Access not within mapped region at address 0x0 ==24213== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24213== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24213== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24213== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24213== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24213== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24213== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24213== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24213== by 0x8065F7E: main (nginx.c:382) ==24213== If you believe this happened as a result of a stack ==24213== overflow in your program's main thread (unlikely but ==24213== possible), you can try to increase the size of the ==24213== main thread stack using the --main-stacksize= flag. ==24213== The main thread stack size used in this run was 8388608. ==24213== 1,024 bytes in 1 blocks are definitely lost in loss record 3,113 of 3,227 ==24213== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24213== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24213== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24213== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24213== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24213== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24213== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24213== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24213== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24213== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24213== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24213== by 0x40C0675: trace_state (lj_trace.c:690) ==24213== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24213== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24213== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24213== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24213== by 0x4084A29: lua_resume (lj_api.c:1296) ==24213== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24213== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24213== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24213== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24213== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24213== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24213== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24213== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24213== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24213== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24213== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24213== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24213== by 0x8065F7E: main (nginx.c:382) ==24213== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 15: split matches, provided res table + max limiter + sub-match capturing group - Can't connect to 127.0.0.1:1984: Connection refused |
==24230== Invalid read of size 4 ==24230== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24230== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24230== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24230== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24230== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24230== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24230== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24230== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24230== by 0x8065F7E: main (nginx.c:382) ==24230== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24230== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - Can't connect to 127.0.0.1:1984: Connection refused |
==24230== ==24230== Process terminating with default action of signal 11 (SIGSEGV) ==24230== Access not within mapped region at address 0x0 ==24230== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24230== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24230== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24230== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24230== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24230== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24230== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24230== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24230== by 0x8065F7E: main (nginx.c:382) ==24230== If you believe this happened as a result of a stack ==24230== overflow in your program's main thread (unlikely but ==24230== possible), you can try to increase the size of the ==24230== main thread stack using the --main-stacksize= flag. ==24230== The main thread stack size used in this run was 8388608. ==24230== 1,024 bytes in 1 blocks are definitely lost in loss record 3,102 of 3,218 ==24230== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24230== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24230== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24230== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24230== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24230== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24230== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24230== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24230== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24230== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24230== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24230== by 0x40C0675: trace_state (lj_trace.c:690) ==24230== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24230== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24230== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24230== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24230== by 0x4084A29: lua_resume (lj_api.c:1296) ==24230== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24230== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24230== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24230== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24230== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24230== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24230== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24230== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24230== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24230== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24230== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24230== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24230== by 0x8065F7E: main (nginx.c:382) ==24230== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-split.t | TEST 38: remaining characters are matched by regex (without max) - Can't connect to 127.0.0.1:1984: Connection refused |
==24234== Invalid read of size 4 ==24234== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24234== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24234== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24234== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24234== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24234== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24234== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24234== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24234== by 0x8065F7E: main (nginx.c:382) ==24234== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24234== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - Can't connect to 127.0.0.1:1984: Connection refused |
==24234== ==24234== Process terminating with default action of signal 11 (SIGSEGV) ==24234== Access not within mapped region at address 0x0 ==24234== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24234== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24234== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24234== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24234== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24234== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24234== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24234== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24234== by 0x8065F7E: main (nginx.c:382) ==24234== If you believe this happened as a result of a stack ==24234== overflow in your program's main thread (unlikely but ==24234== possible), you can try to increase the size of the ==24234== main thread stack using the --main-stacksize= flag. ==24234== The main thread stack size used in this run was 8388608. ==24234== 1,024 bytes in 1 blocks are definitely lost in loss record 3,105 of 3,221 ==24234== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24234== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24234== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24234== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24234== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24234== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24234== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24234== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24234== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24234== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24234== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24234== by 0x40C0675: trace_state (lj_trace.c:690) ==24234== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24234== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24234== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24234== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24234== by 0x4084A29: lua_resume (lj_api.c:1296) ==24234== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24234== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24234== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24234== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24234== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24234== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24234== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24234== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24234== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24234== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24234== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24234== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24234== by 0x8065F7E: main (nginx.c:382) ==24234== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 35: behavior with /^(\d)/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused |
==24243== Invalid read of size 4 ==24243== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24243== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24243== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24243== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24243== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24243== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24243== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24243== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24243== by 0x8065F7E: main (nginx.c:382) ==24243== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24243== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused |
==24243== ==24243== Process terminating with default action of signal 11 (SIGSEGV) ==24243== Access not within mapped region at address 0x0 ==24243== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24243== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24243== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24243== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24243== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24243== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24243== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24243== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24243== by 0x8065F7E: main (nginx.c:382) ==24243== If you believe this happened as a result of a stack ==24243== overflow in your program's main thread (unlikely but ==24243== possible), you can try to increase the size of the ==24243== main thread stack using the --main-stacksize= flag. ==24243== The main thread stack size used in this run was 8388608. ==24243== 1,024 bytes in 1 blocks are definitely lost in loss record 3,107 of 3,223 ==24243== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24243== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24243== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24243== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24243== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24243== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24243== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24243== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24243== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24243== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24243== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24243== by 0x40C0675: trace_state (lj_trace.c:690) ==24243== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24243== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24243== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24243== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24243== by 0x4084A29: lua_resume (lj_api.c:1296) ==24243== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24243== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24243== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24243== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24243== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24243== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24243== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24243== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24243== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24243== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24243== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24243== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24243== by 0x8065F7E: main (nginx.c:382) ==24243== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 26: regex is "" with pos & max - Can't connect to 127.0.0.1:1984: Connection refused |
==24245== Invalid read of size 4 ==24245== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24245== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24245== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24245== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24245== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24245== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24245== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24245== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24245== by 0x8065F7E: main (nginx.c:382) ==24245== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24245== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 26: regex is "" with pos & max - Can't connect to 127.0.0.1:1984: Connection refused |
==24245== ==24245== Process terminating with default action of signal 11 (SIGSEGV) ==24245== Access not within mapped region at address 0x0 ==24245== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24245== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24245== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24245== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24245== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24245== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24245== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24245== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24245== by 0x8065F7E: main (nginx.c:382) ==24245== If you believe this happened as a result of a stack ==24245== overflow in your program's main thread (unlikely but ==24245== possible), you can try to increase the size of the ==24245== main thread stack using the --main-stacksize= flag. ==24245== The main thread stack size used in this run was 8388608. ==24245== 1,024 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,235 ==24245== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24245== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24245== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24245== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24245== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24245== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24245== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24245== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24245== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24245== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24245== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24245== by 0x40C0675: trace_state (lj_trace.c:690) ==24245== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24245== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24245== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24245== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24245== by 0x4084A29: lua_resume (lj_api.c:1296) ==24245== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24245== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24245== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24245== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24245== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24245== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24245== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24245== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24245== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24245== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24245== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24245== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24245== by 0x8065F7E: main (nginx.c:382) ==24245== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 19: split no matches - Can't connect to 127.0.0.1:1984: Connection refused |
==24247== Invalid read of size 4 ==24247== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24247== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24247== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24247== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24247== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24247== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24247== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24247== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24247== by 0x8065F7E: main (nginx.c:382) ==24247== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24247== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 19: split no matches - Can't connect to 127.0.0.1:1984: Connection refused |
==24247== ==24247== Process terminating with default action of signal 11 (SIGSEGV) ==24247== Access not within mapped region at address 0x0 ==24247== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24247== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24247== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24247== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24247== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24247== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24247== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24247== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24247== by 0x8065F7E: main (nginx.c:382) ==24247== If you believe this happened as a result of a stack ==24247== overflow in your program's main thread (unlikely but ==24247== possible), you can try to increase the size of the ==24247== main thread stack using the --main-stacksize= flag. ==24247== The main thread stack size used in this run was 8388608. ==24247== 1,024 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,215 ==24247== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24247== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24247== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24247== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24247== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24247== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24247== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24247== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24247== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24247== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24247== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24247== by 0x40C0675: trace_state (lj_trace.c:690) ==24247== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24247== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24247== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24247== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24247== by 0x4084A29: lua_resume (lj_api.c:1296) ==24247== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24247== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24247== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24247== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24247== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24247== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24247== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24247== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24247== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24247== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24247== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24247== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24247== by 0x8065F7E: main (nginx.c:382) ==24247== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 6: split matches + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24249== Invalid read of size 4 ==24249== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24249== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24249== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24249== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24249== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24249== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24249== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24249== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24249== by 0x8065F7E: main (nginx.c:382) ==24249== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24249== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 6: split matches + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24249== ==24249== Process terminating with default action of signal 11 (SIGSEGV) ==24249== Access not within mapped region at address 0x0 ==24249== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24249== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24249== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24249== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24249== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24249== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24249== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24249== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24249== by 0x8065F7E: main (nginx.c:382) ==24249== If you believe this happened as a result of a stack ==24249== overflow in your program's main thread (unlikely but ==24249== possible), you can try to increase the size of the ==24249== main thread stack using the --main-stacksize= flag. ==24249== The main thread stack size used in this run was 8388608. ==24249== 1,024 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,214 ==24249== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24249== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24249== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24249== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24249== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24249== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24249== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24249== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24249== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24249== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24249== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24249== by 0x40C0675: trace_state (lj_trace.c:690) ==24249== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24249== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24249== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24249== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24249== by 0x4084A29: lua_resume (lj_api.c:1296) ==24249== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24249== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24249== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24249== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24249== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24249== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24249== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24249== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24249== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24249== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24249== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24249== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24249== by 0x8065F7E: main (nginx.c:382) ==24249== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 28: no match separator (github issue #104) & max - Can't connect to 127.0.0.1:1984: Connection refused |
==24251== Invalid read of size 4 ==24251== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24251== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24251== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24251== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24251== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24251== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24251== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24251== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24251== by 0x8065F7E: main (nginx.c:382) ==24251== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24251== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 28: no match separator (github issue #104) & max - Can't connect to 127.0.0.1:1984: Connection refused |
==24251== ==24251== Process terminating with default action of signal 11 (SIGSEGV) ==24251== Access not within mapped region at address 0x0 ==24251== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24251== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24251== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24251== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24251== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24251== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24251== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24251== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24251== by 0x8065F7E: main (nginx.c:382) ==24251== If you believe this happened as a result of a stack ==24251== overflow in your program's main thread (unlikely but ==24251== possible), you can try to increase the size of the ==24251== main thread stack using the --main-stacksize= flag. ==24251== The main thread stack size used in this run was 8388608. ==24251== 1,024 bytes in 1 blocks are definitely lost in loss record 3,106 of 3,222 ==24251== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24251== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24251== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24251== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24251== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24251== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24251== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24251== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24251== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24251== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24251== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24251== by 0x40C0675: trace_state (lj_trace.c:690) ==24251== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24251== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24251== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24251== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24251== by 0x4084A29: lua_resume (lj_api.c:1296) ==24251== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24251== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24251== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24251== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24251== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24251== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24251== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24251== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24251== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24251== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24251== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24251== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24251== by 0x8065F7E: main (nginx.c:382) ==24251== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 23: regex is "" with max - Can't connect to 127.0.0.1:1984: Connection refused |
==24253== Invalid read of size 4 ==24253== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24253== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24253== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24253== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24253== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24253== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24253== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24253== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24253== by 0x8065F7E: main (nginx.c:382) ==24253== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24253== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 23: regex is "" with max - Can't connect to 127.0.0.1:1984: Connection refused |
==24253== ==24253== Process terminating with default action of signal 11 (SIGSEGV) ==24253== Access not within mapped region at address 0x0 ==24253== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24253== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24253== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24253== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24253== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24253== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24253== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24253== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24253== by 0x8065F7E: main (nginx.c:382) ==24253== If you believe this happened as a result of a stack ==24253== overflow in your program's main thread (unlikely but ==24253== possible), you can try to increase the size of the ==24253== main thread stack using the --main-stacksize= flag. ==24253== The main thread stack size used in this run was 8388608. ==24253== 1,024 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,234 ==24253== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24253== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24253== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24253== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24253== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24253== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24253== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24253== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24253== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24253== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24253== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24253== by 0x40C0675: trace_state (lj_trace.c:690) ==24253== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24253== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24253== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24253== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24253== by 0x4084A29: lua_resume (lj_api.c:1296) ==24253== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24253== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24253== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24253== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24253== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24253== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24253== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24253== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24253== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24253== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24253== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24253== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24253== by 0x8065F7E: main (nginx.c:382) ==24253== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24255== Invalid read of size 4 ==24255== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24255== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24255== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24255== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24255== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24255== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24255== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24255== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24255== by 0x8065F7E: main (nginx.c:382) ==24255== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24255== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24255== ==24255== Process terminating with default action of signal 11 (SIGSEGV) ==24255== Access not within mapped region at address 0x0 ==24255== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24255== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24255== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24255== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24255== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24255== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24255== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24255== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24255== by 0x8065F7E: main (nginx.c:382) ==24255== If you believe this happened as a result of a stack ==24255== overflow in your program's main thread (unlikely but ==24255== possible), you can try to increase the size of the ==24255== main thread stack using the --main-stacksize= flag. ==24255== The main thread stack size used in this run was 8388608. ==24255== 1,024 bytes in 1 blocks are definitely lost in loss record 3,100 of 3,216 ==24255== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24255== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24255== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24255== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24255== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24255== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24255== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24255== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24255== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24255== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24255== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24255== by 0x40C0675: trace_state (lj_trace.c:690) ==24255== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24255== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24255== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24255== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24255== by 0x4084A29: lua_resume (lj_api.c:1296) ==24255== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24255== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24255== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24255== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24255== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24255== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24255== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24255== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24255== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24255== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24255== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24255== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24255== by 0x8065F7E: main (nginx.c:382) ==24255== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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 21: split matches, pos is larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused |
==24257== Invalid read of size 4 ==24257== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24257== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24257== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24257== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24257== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24257== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24257== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24257== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24257== by 0x8065F7E: main (nginx.c:382) ==24257== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24257== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused |
==24257== ==24257== Process terminating with default action of signal 11 (SIGSEGV) ==24257== Access not within mapped region at address 0x0 ==24257== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24257== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24257== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24257== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24257== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24257== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24257== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24257== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24257== by 0x8065F7E: main (nginx.c:382) ==24257== If you believe this happened as a result of a stack ==24257== overflow in your program's main thread (unlikely but ==24257== possible), you can try to increase the size of the ==24257== main thread stack using the --main-stacksize= flag. ==24257== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 8: split matches + max limiter set to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==24259== Invalid read of size 4 ==24259== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24259== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24259== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24259== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24259== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24259== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24259== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24259== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24259== by 0x8065F7E: main (nginx.c:382) ==24259== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24259== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==24259== ==24259== Process terminating with default action of signal 11 (SIGSEGV) ==24259== Access not within mapped region at address 0x0 ==24259== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24259== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24259== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24259== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24259== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24259== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24259== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24259== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24259== by 0x8065F7E: main (nginx.c:382) ==24259== If you believe this happened as a result of a stack ==24259== overflow in your program's main thread (unlikely but ==24259== possible), you can try to increase the size of the ==24259== main thread stack using the --main-stacksize= flag. ==24259== The main thread stack size used in this run was 8388608. ==24259== 1,024 bytes in 1 blocks are definitely lost in loss record 3,102 of 3,218 ==24259== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24259== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24259== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24259== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24259== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24259== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24259== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24259== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24259== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24259== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24259== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24259== by 0x40C0675: trace_state (lj_trace.c:690) ==24259== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24259== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24259== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24259== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24259== by 0x4084A29: lua_resume (lj_api.c:1296) ==24259== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24259== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24259== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24259== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24259== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24259== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24259== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24259== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24259== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24259== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24259== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24259== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24259== by 0x8065F7E: main (nginx.c:382) ==24259== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 14: split matches, provided res table (non-cleared) + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24261== Invalid read of size 4 ==24261== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24261== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24261== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24261== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24261== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24261== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24261== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24261== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24261== by 0x8065F7E: main (nginx.c:382) ==24261== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24261== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24261== ==24261== Process terminating with default action of signal 11 (SIGSEGV) ==24261== Access not within mapped region at address 0x0 ==24261== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24261== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24261== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24261== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24261== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24261== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24261== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24261== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24261== by 0x8065F7E: main (nginx.c:382) ==24261== If you believe this happened as a result of a stack ==24261== overflow in your program's main thread (unlikely but ==24261== possible), you can try to increase the size of the ==24261== main thread stack using the --main-stacksize= flag. ==24261== The main thread stack size used in this run was 8388608. ==24261== 1,024 bytes in 1 blocks are definitely lost in loss record 3,108 of 3,224 ==24261== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24261== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24261== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24261== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24261== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24261== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24261== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24261== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24261== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24261== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24261== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24261== by 0x40C0675: trace_state (lj_trace.c:690) ==24261== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24261== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24261== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24261== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24261== by 0x4084A29: lua_resume (lj_api.c:1296) ==24261== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24261== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24261== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24261== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24261== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24261== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24261== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24261== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24261== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24261== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24261== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24261== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24261== by 0x8065F7E: main (nginx.c:382) ==24261== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 18: split matches, real use-case - Can't connect to 127.0.0.1:1984: Connection refused |
==24263== Invalid read of size 4 ==24263== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24263== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24263== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24263== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24263== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24263== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24263== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24263== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24263== by 0x8065F7E: main (nginx.c:382) ==24263== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24263== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 18: split matches, real use-case - Can't connect to 127.0.0.1:1984: Connection refused |
==24263== ==24263== Process terminating with default action of signal 11 (SIGSEGV) ==24263== Access not within mapped region at address 0x0 ==24263== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24263== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24263== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24263== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24263== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24263== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24263== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24263== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24263== by 0x8065F7E: main (nginx.c:382) ==24263== If you believe this happened as a result of a stack ==24263== overflow in your program's main thread (unlikely but ==24263== possible), you can try to increase the size of the ==24263== main thread stack using the --main-stacksize= flag. ==24263== The main thread stack size used in this run was 8388608. ==24263== 1,024 bytes in 1 blocks are definitely lost in loss record 3,101 of 3,217 ==24263== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24263== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24263== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24263== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24263== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24263== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24263== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24263== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24263== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24263== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24263== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24263== by 0x40C0675: trace_state (lj_trace.c:690) ==24263== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24263== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24263== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24263== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24263== by 0x4084A29: lua_resume (lj_api.c:1296) ==24263== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24263== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24263== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24263== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24263== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24263== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24263== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24263== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24263== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24263== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24263== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24263== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24263== by 0x8065F7E: main (nginx.c:382) ==24263== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 5: split matches + submatch (not matching) - Can't connect to 127.0.0.1:1984: Connection refused |
==24265== Invalid read of size 4 ==24265== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24265== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24265== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24265== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24265== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24265== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24265== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24265== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24265== by 0x8065F7E: main (nginx.c:382) ==24265== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24265== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - Can't connect to 127.0.0.1:1984: Connection refused |
==24265== ==24265== Process terminating with default action of signal 11 (SIGSEGV) ==24265== Access not within mapped region at address 0x0 ==24265== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24265== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24265== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24265== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24265== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24265== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24265== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24265== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24265== by 0x8065F7E: main (nginx.c:382) ==24265== If you believe this happened as a result of a stack ==24265== overflow in your program's main thread (unlikely but ==24265== possible), you can try to increase the size of the ==24265== main thread stack using the --main-stacksize= flag. ==24265== The main thread stack size used in this run was 8388608. ==24265== 1,024 bytes in 1 blocks are definitely lost in loss record 3,102 of 3,218 ==24265== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24265== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24265== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24265== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24265== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24265== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24265== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24265== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24265== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24265== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24265== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24265== by 0x40C0675: trace_state (lj_trace.c:690) ==24265== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24265== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24265== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24265== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24265== by 0x4084A29: lua_resume (lj_api.c:1296) ==24265== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24265== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24265== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24265== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24265== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24265== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24265== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24265== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24265== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24265== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24265== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24265== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24265== by 0x8065F7E: main (nginx.c:382) ==24265== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 2: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24267== Invalid read of size 4 ==24267== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24267== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24267== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24267== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24267== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24267== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24267== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24267== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24267== by 0x8065F7E: main (nginx.c:382) ==24267== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24267== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24267== ==24267== Process terminating with default action of signal 11 (SIGSEGV) ==24267== Access not within mapped region at address 0x0 ==24267== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24267== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24267== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24267== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24267== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24267== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24267== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24267== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24267== by 0x8065F7E: main (nginx.c:382) ==24267== If you believe this happened as a result of a stack ==24267== overflow in your program's main thread (unlikely but ==24267== possible), you can try to increase the size of the ==24267== main thread stack using the --main-stacksize= flag. ==24267== The main thread stack size used in this run was 8388608. ==24267== 1,024 bytes in 1 blocks are definitely lost in loss record 3,102 of 3,218 ==24267== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24267== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24267== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24267== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24267== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24267== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24267== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24267== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24267== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24267== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24267== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24267== by 0x40C0675: trace_state (lj_trace.c:690) ==24267== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24267== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24267== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24267== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24267== by 0x4084A29: lua_resume (lj_api.c:1296) ==24267== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24267== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24267== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24267== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24267== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24267== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24267== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24267== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24267== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24267== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24267== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24267== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24267== by 0x8065F7E: main (nginx.c:382) ==24267== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 12: split matches, provided res table (non-cleared) - Can't connect to 127.0.0.1:1984: Connection refused |
==24269== Invalid read of size 4 ==24269== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24269== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24269== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24269== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24269== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24269== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24269== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24269== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24269== by 0x8065F7E: main (nginx.c:382) ==24269== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24269== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - Can't connect to 127.0.0.1:1984: Connection refused |
==24269== ==24269== Process terminating with default action of signal 11 (SIGSEGV) ==24269== Access not within mapped region at address 0x0 ==24269== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24269== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24269== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24269== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24269== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24269== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24269== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24269== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24269== by 0x8065F7E: main (nginx.c:382) ==24269== If you believe this happened as a result of a stack ==24269== overflow in your program's main thread (unlikely but ==24269== possible), you can try to increase the size of the ==24269== main thread stack using the --main-stacksize= flag. ==24269== The main thread stack size used in this run was 8388608. ==24269== 1,024 bytes in 1 blocks are definitely lost in loss record 3,108 of 3,224 ==24269== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24269== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24269== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24269== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24269== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24269== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24269== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24269== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24269== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24269== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24269== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24269== by 0x40C0675: trace_state (lj_trace.c:690) ==24269== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24269== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24269== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24269== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24269== by 0x4084A29: lua_resume (lj_api.c:1296) ==24269== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24269== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24269== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24269== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24269== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24269== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24269== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24269== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24269== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24269== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24269== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24269== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24269== by 0x8065F7E: main (nginx.c:382) ==24269== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 16: split matches, ctx arg - Can't connect to 127.0.0.1:1984: Connection refused |
==24271== Invalid read of size 4 ==24271== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24271== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24271== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24271== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24271== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24271== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24271== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24271== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24271== by 0x8065F7E: main (nginx.c:382) ==24271== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24271== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 16: split matches, ctx arg - Can't connect to 127.0.0.1:1984: Connection refused |
==24271== ==24271== Process terminating with default action of signal 11 (SIGSEGV) ==24271== Access not within mapped region at address 0x0 ==24271== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24271== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24271== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24271== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24271== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24271== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24271== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24271== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24271== by 0x8065F7E: main (nginx.c:382) ==24271== If you believe this happened as a result of a stack ==24271== overflow in your program's main thread (unlikely but ==24271== possible), you can try to increase the size of the ==24271== main thread stack using the --main-stacksize= flag. ==24271== The main thread stack size used in this run was 8388608. ==24271== 1,024 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,235 ==24271== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24271== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24271== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24271== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24271== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24271== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24271== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24271== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24271== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24271== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24271== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24271== by 0x40C0675: trace_state (lj_trace.c:690) ==24271== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24271== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24271== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24271== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24271== by 0x4084A29: lua_resume (lj_api.c:1296) ==24271== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24271== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24271== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24271== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24271== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24271== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24271== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24271== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24271== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24271== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24271== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24271== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24271== by 0x8065F7E: main (nginx.c:382) ==24271== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 33: behavior with /^/m & max - Can't connect to 127.0.0.1:1984: Connection refused |
==24273== Invalid read of size 4 ==24273== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24273== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24273== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24273== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24273== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24273== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24273== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24273== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24273== by 0x8065F7E: main (nginx.c:382) ==24273== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24273== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 33: behavior with /^/m & max - Can't connect to 127.0.0.1:1984: Connection refused |
==24273== ==24273== Process terminating with default action of signal 11 (SIGSEGV) ==24273== Access not within mapped region at address 0x0 ==24273== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24273== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24273== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24273== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24273== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24273== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24273== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24273== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24273== by 0x8065F7E: main (nginx.c:382) ==24273== If you believe this happened as a result of a stack ==24273== overflow in your program's main thread (unlikely but ==24273== possible), you can try to increase the size of the ==24273== main thread stack using the --main-stacksize= flag. ==24273== The main thread stack size used in this run was 8388608. ==24273== 1,024 bytes in 1 blocks are definitely lost in loss record 3,109 of 3,224 ==24273== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24273== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24273== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24273== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24273== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24273== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24273== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24273== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24273== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24273== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24273== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24273== by 0x40C0675: trace_state (lj_trace.c:690) ==24273== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24273== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24273== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24273== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24273== by 0x4084A29: lua_resume (lj_api.c:1296) ==24273== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24273== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24273== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24273== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24273== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24273== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24273== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24273== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24273== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24273== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24273== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24273== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24273== by 0x8065F7E: main (nginx.c:382) ==24273== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 37: split by unit separator 2/2 (with ctx.pos) - Can't connect to 127.0.0.1:1984: Connection refused |
==24275== Invalid read of size 4 ==24275== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24275== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24275== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24275== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24275== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24275== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24275== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24275== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24275== by 0x8065F7E: main (nginx.c:382) ==24275== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24275== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - Can't connect to 127.0.0.1:1984: Connection refused |
==24275== ==24275== Process terminating with default action of signal 11 (SIGSEGV) ==24275== Access not within mapped region at address 0x0 ==24275== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24275== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24275== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24275== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24275== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24275== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24275== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24275== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24275== by 0x8065F7E: main (nginx.c:382) ==24275== If you believe this happened as a result of a stack ==24275== overflow in your program's main thread (unlikely but ==24275== possible), you can try to increase the size of the ==24275== main thread stack using the --main-stacksize= flag. ==24275== The main thread stack size used in this run was 8388608. ==24275== 2,048 bytes in 1 blocks are definitely lost in loss record 3,165 of 3,229 ==24275== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24275== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24275== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24275== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24275== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24275== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24275== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24275== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24275== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24275== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24275== by 0x40C0675: trace_state (lj_trace.c:690) ==24275== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24275== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24275== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24275== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24275== by 0x4084A29: lua_resume (lj_api.c:1296) ==24275== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24275== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24275== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24275== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24275== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24275== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24275== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24275== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24275== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24275== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24275== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24275== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24275== by 0x8065F7E: main (nginx.c:382) ==24275== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 9: split matches + max limiter set to a negative value - Can't connect to 127.0.0.1:1984: Connection refused |
==24277== Invalid read of size 4 ==24277== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24277== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24277== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24277== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24277== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24277== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24277== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24277== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24277== by 0x8065F7E: main (nginx.c:382) ==24277== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24277== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - Can't connect to 127.0.0.1:1984: Connection refused |
==24277== ==24277== Process terminating with default action of signal 11 (SIGSEGV) ==24277== Access not within mapped region at address 0x0 ==24277== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24277== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24277== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24277== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24277== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24277== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24277== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24277== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24277== by 0x8065F7E: main (nginx.c:382) ==24277== If you believe this happened as a result of a stack ==24277== overflow in your program's main thread (unlikely but ==24277== possible), you can try to increase the size of the ==24277== main thread stack using the --main-stacksize= flag. ==24277== The main thread stack size used in this run was 8388608. ==24277== 1,024 bytes in 1 blocks are definitely lost in loss record 3,007 of 3,098 ==24277== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24277== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24277== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24277== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24277== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24277== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24277== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24277== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24277== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24277== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24277== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24277== by 0x40C0675: trace_state (lj_trace.c:690) ==24277== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24277== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24277== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24277== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24277== by 0x4084A29: lua_resume (lj_api.c:1296) ==24277== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24277== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24277== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24277== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24277== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24277== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24277== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24277== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24277== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24277== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24277== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24277== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24277== by 0x8065F7E: main (nginx.c:382) ==24277== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 13: split matches, provided res table + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24279== Invalid read of size 4 ==24279== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24279== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24279== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24279== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24279== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24279== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24279== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24279== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24279== by 0x8065F7E: main (nginx.c:382) ==24279== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24279== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==24279== ==24279== Process terminating with default action of signal 11 (SIGSEGV) ==24279== Access not within mapped region at address 0x0 ==24279== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24279== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24279== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24279== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24279== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24279== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24279== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24279== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24279== by 0x8065F7E: main (nginx.c:382) ==24279== If you believe this happened as a result of a stack ==24279== overflow in your program's main thread (unlikely but ==24279== possible), you can try to increase the size of the ==24279== main thread stack using the --main-stacksize= flag. ==24279== The main thread stack size used in this run was 8388608. ==24279== 1,024 bytes in 1 blocks are definitely lost in loss record 3,102 of 3,218 ==24279== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24279== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24279== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24279== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24279== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24279== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24279== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24279== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24279== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24279== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24279== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24279== by 0x40C0675: trace_state (lj_trace.c:690) ==24279== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24279== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24279== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24279== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24279== by 0x4084A29: lua_resume (lj_api.c:1296) ==24279== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24279== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24279== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24279== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24279== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24279== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24279== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24279== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24279== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24279== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24279== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24279== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24279== by 0x8065F7E: main (nginx.c:382) ==24279== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 17: split matches, trailing subjects - Can't connect to 127.0.0.1:1984: Connection refused |
==24281== Invalid read of size 4 ==24281== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24281== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24281== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24281== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24281== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24281== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24281== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24281== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24281== by 0x8065F7E: main (nginx.c:382) ==24281== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24281== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-split.t | TEST 17: split matches, trailing subjects - Can't connect to 127.0.0.1:1984: Connection refused |
==24281== ==24281== Process terminating with default action of signal 11 (SIGSEGV) ==24281== Access not within mapped region at address 0x0 ==24281== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24281== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24281== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24281== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24281== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24281== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24281== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24281== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24281== by 0x8065F7E: main (nginx.c:382) ==24281== If you believe this happened as a result of a stack ==24281== overflow in your program's main thread (unlikely but ==24281== possible), you can try to increase the size of the ==24281== main thread stack using the --main-stacksize= flag. ==24281== The main thread stack size used in this run was 8388608. ==24281== 1,024 bytes in 1 blocks are definitely lost in loss record 3,101 of 3,217 ==24281== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24281== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24281== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24281== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24281== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24281== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24281== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24281== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24281== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24281== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24281== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24281== by 0x40C0675: trace_state (lj_trace.c:690) ==24281== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24281== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24281== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24281== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24281== by 0x4084A29: lua_resume (lj_api.c:1296) ==24281== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24281== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24281== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24281== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24281== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24281== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24281== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24281== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24281== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24281== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24281== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24281== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24281== by 0x8065F7E: main (nginx.c:382) ==24281== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - Can't connect to 127.0.0.1:1984: Connection refused |
==24287== Invalid read of size 4 ==24287== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24287== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24287== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24287== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24287== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24287== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24287== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24287== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24287== by 0x8065F7E: main (nginx.c:382) ==24287== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24287== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - Can't connect to 127.0.0.1:1984: Connection refused |
==24287== ==24287== Process terminating with default action of signal 11 (SIGSEGV) ==24287== Access not within mapped region at address 0x0 ==24287== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24287== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24287== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24287== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24287== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24287== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24287== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24287== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24287== by 0x8065F7E: main (nginx.c:382) ==24287== If you believe this happened as a result of a stack ==24287== overflow in your program's main thread (unlikely but ==24287== possible), you can try to increase the size of the ==24287== main thread stack using the --main-stacksize= flag. ==24287== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 | TEST 9: func replace return is not a string type (ngx.re.sub) - Can't connect to 127.0.0.1:1984: Connection refused |
==24289== Invalid read of size 4 ==24289== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24289== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24289== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24289== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24289== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24289== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24289== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24289== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24289== by 0x8065F7E: main (nginx.c:382) ==24289== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24289== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - Can't connect to 127.0.0.1:1984: Connection refused |
==24289== ==24289== Process terminating with default action of signal 11 (SIGSEGV) ==24289== Access not within mapped region at address 0x0 ==24289== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24289== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24289== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24289== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24289== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24289== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24289== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24289== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24289== by 0x8065F7E: main (nginx.c:382) ==24289== If you believe this happened as a result of a stack ==24289== overflow in your program's main thread (unlikely but ==24289== possible), you can try to increase the size of the ==24289== main thread stack using the --main-stacksize= flag. ==24289== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 3: func + submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==24291== Invalid read of size 4 ==24291== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24291== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24291== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24291== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24291== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24291== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24291== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24291== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24291== by 0x8065F7E: main (nginx.c:382) ==24291== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24291== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 3: func + submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==24291== ==24291== Process terminating with default action of signal 11 (SIGSEGV) ==24291== Access not within mapped region at address 0x0 ==24291== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24291== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24291== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24291== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24291== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24291== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24291== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24291== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24291== by 0x8065F7E: main (nginx.c:382) ==24291== If you believe this happened as a result of a stack ==24291== overflow in your program's main thread (unlikely but ==24291== possible), you can try to increase the size of the ==24291== main thread stack using the --main-stacksize= flag. ==24291== The main thread stack size used in this run was 8388608. ==24291== 4,096 bytes in 1 blocks are definitely lost in loss record 3,138 of 3,165 ==24291== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24291== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24291== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24291== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24291== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24291== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24291== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24291== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==24291== by 0x40A1F20: rec_mm_callcomp (lj_record.c:1098) ==24291== by 0x40A5BF3: lj_record_ins (lj_record.c:2173) ==24291== by 0x40C016A: trace_state (lj_trace.c:680) ==24291== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24291== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24291== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24291== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24291== by 0x4084A29: lua_resume (lj_api.c:1296) ==24291== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24291== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24291== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24291== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24291== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24291== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24291== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24291== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24291== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24291== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24291== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24291== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24291== by 0x8065F7E: main (nginx.c:382) ==24291== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 4: replace template + submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==24293== Invalid read of size 4 ==24293== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24293== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24293== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24293== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24293== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24293== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24293== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24293== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24293== by 0x8065F7E: main (nginx.c:382) ==24293== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24293== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 4: replace template + submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==24293== ==24293== Process terminating with default action of signal 11 (SIGSEGV) ==24293== Access not within mapped region at address 0x0 ==24293== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24293== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24293== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24293== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24293== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24293== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24293== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24293== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24293== by 0x8065F7E: main (nginx.c:382) ==24293== If you believe this happened as a result of a stack ==24293== overflow in your program's main thread (unlikely but ==24293== possible), you can try to increase the size of the ==24293== main thread stack using the --main-stacksize= flag. ==24293== The main thread stack size used in this run was 8388608. ==24293== 4,096 bytes in 1 blocks are definitely lost in loss record 3,174 of 3,201 ==24293== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24293== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24293== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24293== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24293== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24293== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24293== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24293== by 0x409FAFA: lj_record_constify (lj_record.c:251) ==24293== by 0x409FE30: rec_upvalue (lj_record.c:1620) ==24293== by 0x40A554C: lj_record_ins (lj_record.c:2314) ==24293== by 0x40C016A: trace_state (lj_trace.c:680) ==24293== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24293== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24293== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24293== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24293== by 0x4084A29: lua_resume (lj_api.c:1296) ==24293== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24293== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24293== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24293== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24293== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24293== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24293== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24293== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24293== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24293== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24293== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24293== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24293== by 0x8065F7E: main (nginx.c:382) ==24293== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 2: sub, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24295== Invalid read of size 4 ==24295== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24295== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24295== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24295== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24295== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24295== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24295== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24295== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24295== by 0x8065F7E: main (nginx.c:382) ==24295== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24295== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24295== ==24295== Process terminating with default action of signal 11 (SIGSEGV) ==24295== Access not within mapped region at address 0x0 ==24295== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24295== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24295== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24295== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24295== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24295== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24295== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24295== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24295== by 0x8065F7E: main (nginx.c:382) ==24295== If you believe this happened as a result of a stack ==24295== overflow in your program's main thread (unlikely but ==24295== possible), you can try to increase the size of the ==24295== main thread stack using the --main-stacksize= flag. ==24295== The main thread stack size used in this run was 8388608. ==24295== 4,096 bytes in 1 blocks are definitely lost in loss record 3,150 of 3,178 ==24295== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24295== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24295== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24295== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24295== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24295== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24295== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24295== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24295== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24295== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24295== by 0x40C0675: trace_state (lj_trace.c:690) ==24295== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24295== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24295== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24295== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24295== by 0x4084A29: lua_resume (lj_api.c:1296) ==24295== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24295== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24295== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24295== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24295== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24295== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24295== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24295== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24295== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24295== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24295== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24295== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24295== by 0x8065F7E: main (nginx.c:382) ==24295== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) - Can't connect to 127.0.0.1:1984: Connection refused |
==24297== Invalid read of size 4 ==24297== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24297== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24297== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24297== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24297== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24297== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24297== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24297== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24297== by 0x8065F7E: main (nginx.c:382) ==24297== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24297== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) - Can't connect to 127.0.0.1:1984: Connection refused |
==24297== ==24297== Process terminating with default action of signal 11 (SIGSEGV) ==24297== Access not within mapped region at address 0x0 ==24297== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24297== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24297== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24297== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24297== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24297== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24297== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24297== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24297== by 0x8065F7E: main (nginx.c:382) ==24297== If you believe this happened as a result of a stack ==24297== overflow in your program's main thread (unlikely but ==24297== possible), you can try to increase the size of the ==24297== main thread stack using the --main-stacksize= flag. ==24297== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 10: func replace return is not a string type (ngx.re.gsub) - Can't connect to 127.0.0.1:1984: Connection refused |
==24299== Invalid read of size 4 ==24299== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24299== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24299== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24299== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24299== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24299== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24299== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24299== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24299== by 0x8065F7E: main (nginx.c:382) ==24299== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - Can't connect to 127.0.0.1:1984: Connection refused |
==24299== ==24299== Process terminating with default action of signal 11 (SIGSEGV) ==24299== Access not within mapped region at address 0x0 ==24299== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24299== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24299== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24299== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24299== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24299== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24299== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24299== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24299== by 0x8065F7E: main (nginx.c:382) ==24299== If you believe this happened as a result of a stack ==24299== overflow in your program's main thread (unlikely but ==24299== possible), you can try to increase the size of the ==24299== main thread stack using the --main-stacksize= flag. ==24299== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: sub, no submatch, no jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24309== Invalid read of size 4 ==24309== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24309== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24309== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24309== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24309== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24309== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24309== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24309== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24309== by 0x8065F7E: main (nginx.c:382) ==24309== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24309== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==24309== ==24309== Process terminating with default action of signal 11 (SIGSEGV) ==24309== Access not within mapped region at address 0x0 ==24309== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24309== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24309== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24309== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24309== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24309== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24309== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24309== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24309== by 0x8065F7E: main (nginx.c:382) ==24309== If you believe this happened as a result of a stack ==24309== overflow in your program's main thread (unlikely but ==24309== possible), you can try to increase the size of the ==24309== main thread stack using the --main-stacksize= flag. ==24309== The main thread stack size used in this run was 8388608. ==24309== 4,096 bytes in 1 blocks are definitely lost in loss record 3,164 of 3,191 ==24309== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24309== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24309== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24309== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24309== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24309== by 0x408F511: ir_nextk (lj_ir.c:175) ==24309== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24309== by 0x40A8A4C: argv2cdata (lj_crecord.c:55) ==24309== by 0x40AA179: argv2ctype (lj_crecord.c:91) ==24309== by 0x40ADAE9: recff_ffi_new (lj_crecord.c:1608) ==24309== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24309== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24309== by 0x40C016A: trace_state (lj_trace.c:680) ==24309== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24309== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24309== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24309== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24309== by 0x4084A29: lua_resume (lj_api.c:1296) ==24309== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24309== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24309== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24309== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24309== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24309== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24309== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24309== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24309== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24309== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24309== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24309== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24309== by 0x8065F7E: main (nginx.c:382) ==24309== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==24311== Invalid read of size 4 ==24311== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24311== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24311== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24311== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24311== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24311== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24311== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24311== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24311== by 0x8065F7E: main (nginx.c:382) ==24311== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24311== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24311== ==24311== Process terminating with default action of signal 11 (SIGSEGV) ==24311== Access not within mapped region at address 0x0 ==24311== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24311== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24311== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24311== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24311== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24311== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24311== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24311== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24311== by 0x8065F7E: main (nginx.c:382) ==24311== If you believe this happened as a result of a stack ==24311== overflow in your program's main thread (unlikely but ==24311== possible), you can try to increase the size of the ==24311== main thread stack using the --main-stacksize= flag. ==24311== 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 (aborted) |
' |
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/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==24317== Invalid read of size 4 ==24317== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24317== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24317== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24317== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24317== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24317== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24317== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24317== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24317== by 0x8065F7E: main (nginx.c:382) ==24317== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24317== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==24317== ==24317== Process terminating with default action of signal 11 (SIGSEGV) ==24317== Access not within mapped region at address 0x0 ==24317== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24317== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24317== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24317== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24317== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24317== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24317== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24317== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24317== by 0x8065F7E: main (nginx.c:382) ==24317== If you believe this happened as a result of a stack ==24317== overflow in your program's main thread (unlikely but ==24317== possible), you can try to increase the size of the ==24317== main thread stack using the --main-stacksize= flag. ==24317== The main thread stack size used in this run was 8388608. ==24317== 1,024 bytes in 1 blocks are definitely lost in loss record 3,046 of 3,154 ==24317== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24317== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24317== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24317== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24317== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24317== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24317== by 0x40995CF: loop_emit_phi (lj_opt_loop.c:197) ==24317== by 0x40995CF: loop_unroll (lj_opt_loop.c:379) ==24317== by 0x40995CF: cploop_opt (lj_opt_loop.c:409) ==24317== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24317== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24317== by 0x40C0675: trace_state (lj_trace.c:690) ==24317== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24317== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24317== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24317== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24317== by 0x4084A29: lua_resume (lj_api.c:1296) ==24317== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24317== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24317== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24317== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24317== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24317== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24317== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24317== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24317== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24317== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24317== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24317== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24317== by 0x8065F7E: main (nginx.c:382) ==24317== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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 27: semaphore_mm free block (load <= 50% & the on the older side) - Can't connect to 127.0.0.1:1984: Connection refused |
==24323== Invalid read of size 4 ==24323== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24323== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24323== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24323== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24323== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24323== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24323== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24323== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24323== by 0x8065F7E: main (nginx.c:382) ==24323== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24323== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - Can't connect to 127.0.0.1:1984: Connection refused |
==24323== ==24323== Process terminating with default action of signal 11 (SIGSEGV) ==24323== Access not within mapped region at address 0x0 ==24323== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24323== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24323== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24323== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24323== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24323== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24323== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24323== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24323== by 0x8065F7E: main (nginx.c:382) ==24323== If you believe this happened as a result of a stack ==24323== overflow in your program's main thread (unlikely but ==24323== possible), you can try to increase the size of the ==24323== main thread stack using the --main-stacksize= flag. ==24323== The main thread stack size used in this run was 8388608. ==24323== 2,048 bytes in 1 blocks are definitely lost in loss record 3,037 of 3,103 ==24323== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24323== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24323== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24323== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24323== by 0x40BECC1: lj_ir_nextins (lj_iropt.h:34) ==24323== by 0x40BECC1: lj_asm_trace (lj_asm.c:2346) ==24323== by 0x40BFF25: trace_state (lj_trace.c:707) ==24323== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24323== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24323== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24323== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24323== by 0x4084A29: lua_resume (lj_api.c:1296) ==24323== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24323== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24323== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24323== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24323== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24323== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24323== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24323== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24323== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24323== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24323== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24323== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24323== by 0x8065F7E: main (nginx.c:382) ==24323== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 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 | 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 - Can't connect to 127.0.0.1:1984: Connection refused |
==24325== Invalid read of size 4 ==24325== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24325== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24325== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24325== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24325== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24325== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24325== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24325== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24325== by 0x8065F7E: main (nginx.c:382) ==24325== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24325== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - Can't connect to 127.0.0.1:1984: Connection refused |
==24325== ==24325== Process terminating with default action of signal 11 (SIGSEGV) ==24325== Access not within mapped region at address 0x0 ==24325== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24325== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24325== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24325== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24325== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24325== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24325== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24325== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24325== by 0x8065F7E: main (nginx.c:382) ==24325== If you believe this happened as a result of a stack ==24325== overflow in your program's main thread (unlikely but ==24325== possible), you can try to increase the size of the ==24325== main thread stack using the --main-stacksize= flag. ==24325== The main thread stack size used in this run was 8388608. ==24325== 2,048 bytes in 1 blocks are definitely lost in loss record 3,037 of 3,103 ==24325== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24325== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24325== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24325== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24325== by 0x40BECC1: lj_ir_nextins (lj_iropt.h:34) ==24325== by 0x40BECC1: lj_asm_trace (lj_asm.c:2346) ==24325== by 0x40BFF25: trace_state (lj_trace.c:707) ==24325== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24325== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24325== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24325== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24325== by 0x4084A29: lua_resume (lj_api.c:1296) ==24325== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24325== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24325== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24325== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24325== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24325== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24325== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24325== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24325== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24325== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24325== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24325== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24325== by 0x8065F7E: main (nginx.c:382) ==24325== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 16: kill a light thread that is waiting on a semaphore (no resource) - Can't connect to 127.0.0.1:1984: Connection refused |
==24326== Invalid read of size 4 ==24326== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24326== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24326== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24326== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24326== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24326== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24326== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24326== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24326== by 0x8065F7E: main (nginx.c:382) ==24326== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24326== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - Can't connect to 127.0.0.1:1984: Connection refused |
==24326== ==24326== Process terminating with default action of signal 11 (SIGSEGV) ==24326== Access not within mapped region at address 0x0 ==24326== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24326== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24326== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24326== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24326== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24326== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24326== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24326== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24326== by 0x8065F7E: main (nginx.c:382) ==24326== If you believe this happened as a result of a stack ==24326== overflow in your program's main thread (unlikely but ==24326== possible), you can try to increase the size of the ==24326== main thread stack using the --main-stacksize= flag. ==24326== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 | TEST 20: main thread wait a light thread that is waiting on a semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24328== Invalid read of size 4 ==24328== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24328== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24328== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24328== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24328== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24328== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24328== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24328== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24328== by 0x8065F7E: main (nginx.c:382) ==24328== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24328== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24328== ==24328== Process terminating with default action of signal 11 (SIGSEGV) ==24328== Access not within mapped region at address 0x0 ==24328== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24328== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24328== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24328== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24328== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24328== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24328== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24328== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24328== by 0x8065F7E: main (nginx.c:382) ==24328== If you believe this happened as a result of a stack ==24328== overflow in your program's main thread (unlikely but ==24328== possible), you can try to increase the size of the ==24328== main thread stack using the --main-stacksize= flag. ==24328== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 19: a light thread that is going to exit is waiting on a semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24330== Invalid read of size 4 ==24330== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24330== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24330== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24330== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24330== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24330== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24330== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24330== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24330== by 0x8065F7E: main (nginx.c:382) ==24330== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24330== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24330== ==24330== Process terminating with default action of signal 11 (SIGSEGV) ==24330== Access not within mapped region at address 0x0 ==24330== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24330== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24330== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24330== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24330== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24330== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24330== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24330== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24330== by 0x8065F7E: main (nginx.c:382) ==24330== If you believe this happened as a result of a stack ==24330== overflow in your program's main thread (unlikely but ==24330== possible), you can try to increase the size of the ==24330== main thread stack using the --main-stacksize= flag. ==24330== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 19: a light thread that is going to exit is waiting on a semaphore - pattern "stream lua semaphore cleanup" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24332== Invalid read of size 4 ==24332== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24332== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24332== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24332== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24332== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24332== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24332== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24332== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24332== by 0x8065F7E: main (nginx.c:382) ==24332== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24332== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24332== ==24332== Process terminating with default action of signal 11 (SIGSEGV) ==24332== Access not within mapped region at address 0x0 ==24332== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24332== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24332== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24332== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24332== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24332== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24332== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24332== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24332== by 0x8065F7E: main (nginx.c:382) ==24332== If you believe this happened as a result of a stack ==24332== overflow in your program's main thread (unlikely but ==24332== possible), you can try to increase the size of the ==24332== main thread stack using the --main-stacksize= flag. ==24332== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 22: semaphore wait time is zero - Can't connect to 127.0.0.1:1984: Connection refused |
==24334== Invalid read of size 4 ==24334== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24334== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24334== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24334== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24334== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24334== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24334== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24334== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24334== by 0x8065F7E: main (nginx.c:382) ==24334== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24334== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 22: semaphore wait time is zero - Can't connect to 127.0.0.1:1984: Connection refused |
==24334== ==24334== Process terminating with default action of signal 11 (SIGSEGV) ==24334== Access not within mapped region at address 0x0 ==24334== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24334== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24334== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24334== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24334== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24334== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24334== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24334== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24334== by 0x8065F7E: main (nginx.c:382) ==24334== If you believe this happened as a result of a stack ==24334== overflow in your program's main thread (unlikely but ==24334== possible), you can try to increase the size of the ==24334== main thread stack using the --main-stacksize= flag. ==24334== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 5: semaphore.new in init_by_lua* (with shdict) - Can't connect to 127.0.0.1:1984: Connection refused |
==24336== Invalid read of size 4 ==24336== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24336== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24336== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24336== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24336== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24336== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24336== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24336== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24336== by 0x8065F7E: main (nginx.c:382) ==24336== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24336== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - Can't connect to 127.0.0.1:1984: Connection refused |
==24336== ==24336== Process terminating with default action of signal 11 (SIGSEGV) ==24336== Access not within mapped region at address 0x0 ==24336== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24336== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24336== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24336== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24336== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24336== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24336== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24336== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24336== by 0x8065F7E: main (nginx.c:382) ==24336== If you believe this happened as a result of a stack ==24336== overflow in your program's main thread (unlikely but ==24336== possible), you can try to increase the size of the ==24336== main thread stack using the --main-stacksize= flag. ==24336== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 2: semaphore wait order - Can't connect to 127.0.0.1:1984: Connection refused |
==24338== Invalid read of size 4 ==24338== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24338== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24338== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24338== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24338== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24338== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24338== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24338== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24338== by 0x8065F7E: main (nginx.c:382) ==24338== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24338== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 2: semaphore wait order - Can't connect to 127.0.0.1:1984: Connection refused |
==24338== ==24338== Process terminating with default action of signal 11 (SIGSEGV) ==24338== Access not within mapped region at address 0x0 ==24338== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24338== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24338== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24338== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24338== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24338== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24338== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24338== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24338== by 0x8065F7E: main (nginx.c:382) ==24338== If you believe this happened as a result of a stack ==24338== overflow in your program's main thread (unlikely but ==24338== possible), you can try to increase the size of the ==24338== main thread stack using the --main-stacksize= flag. ==24338== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 | 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 - Can't connect to 127.0.0.1:1984: Connection refused |
==24340== Invalid read of size 4 ==24340== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24340== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24340== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24340== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24340== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24340== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24340== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24340== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24340== by 0x8065F7E: main (nginx.c:382) ==24340== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24340== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - Can't connect to 127.0.0.1:1984: Connection refused |
==24340== ==24340== Process terminating with default action of signal 11 (SIGSEGV) ==24340== Access not within mapped region at address 0x0 ==24340== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24340== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24340== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24340== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24340== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24340== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24340== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24340== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24340== by 0x8065F7E: main (nginx.c:382) ==24340== If you believe this happened as a result of a stack ==24340== overflow in your program's main thread (unlikely but ==24340== possible), you can try to increase the size of the ==24340== main thread stack using the --main-stacksize= flag. ==24340== The main thread stack size used in this run was 8388608. ==24340== 2,048 bytes in 1 blocks are definitely lost in loss record 3,053 of 3,120 ==24340== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24340== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24340== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24340== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24340== by 0x40BECC1: lj_ir_nextins (lj_iropt.h:34) ==24340== by 0x40BECC1: lj_asm_trace (lj_asm.c:2346) ==24340== by 0x40BFF25: trace_state (lj_trace.c:707) ==24340== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24340== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24340== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24340== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24340== by 0x4084A29: lua_resume (lj_api.c:1296) ==24340== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24340== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24340== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24340== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24340== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24340== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24340== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24340== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24340== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24340== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24340== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24340== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24340== by 0x8065F7E: main (nginx.c:382) ==24340== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 23: test semaphore gc - Can't connect to 127.0.0.1:1984: Connection refused |
==24341== Invalid read of size 4 ==24341== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24341== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24341== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24341== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24341== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24341== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24341== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24341== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24341== by 0x8065F7E: main (nginx.c:382) ==24341== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24341== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 23: test semaphore gc - Can't connect to 127.0.0.1:1984: Connection refused |
==24341== ==24341== Process terminating with default action of signal 11 (SIGSEGV) ==24341== Access not within mapped region at address 0x0 ==24341== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24341== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24341== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24341== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24341== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24341== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24341== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24341== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24341== by 0x8065F7E: main (nginx.c:382) ==24341== If you believe this happened as a result of a stack ==24341== overflow in your program's main thread (unlikely but ==24341== possible), you can try to increase the size of the ==24341== main thread stack using the --main-stacksize= flag. ==24341== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 23: test semaphore gc - pattern "in lua gc, semaphore" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - Can't connect to 127.0.0.1:1984: Connection refused |
==24343== Invalid read of size 4 ==24343== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24343== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24343== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24343== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24343== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24343== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24343== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24343== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24343== by 0x8065F7E: main (nginx.c:382) ==24343== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24343== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - Can't connect to 127.0.0.1:1984: Connection refused |
==24343== ==24343== Process terminating with default action of signal 11 (SIGSEGV) ==24343== Access not within mapped region at address 0x0 ==24343== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24343== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24343== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24343== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24343== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24343== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24343== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24343== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24343== by 0x8065F7E: main (nginx.c:382) ==24343== If you believe this happened as a result of a stack ==24343== overflow in your program's main thread (unlikely but ==24343== possible), you can try to increase the size of the ==24343== main thread stack using the --main-stacksize= flag. ==24343== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 18: kill a thread that is waiting on another thread that is waiting on semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24345== Invalid read of size 4 ==24345== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24345== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24345== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24345== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24345== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24345== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24345== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24345== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24345== by 0x8065F7E: main (nginx.c:382) ==24345== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24345== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24345== ==24345== Process terminating with default action of signal 11 (SIGSEGV) ==24345== Access not within mapped region at address 0x0 ==24345== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24345== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24345== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24345== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24345== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24345== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24345== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24345== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24345== by 0x8065F7E: main (nginx.c:382) ==24345== If you believe this happened as a result of a stack ==24345== overflow in your program's main thread (unlikely but ==24345== possible), you can try to increase the size of the ==24345== main thread stack using the --main-stacksize= flag. ==24345== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 21: multi wait and mult post with one semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24347== Invalid read of size 4 ==24347== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24347== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24347== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24347== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24347== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24347== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24347== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24347== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24347== by 0x8065F7E: main (nginx.c:382) ==24347== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24347== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==24347== ==24347== Process terminating with default action of signal 11 (SIGSEGV) ==24347== Access not within mapped region at address 0x0 ==24347== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24347== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24347== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24347== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24347== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24347== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24347== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24347== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24347== by 0x8065F7E: main (nginx.c:382) ==24347== If you believe this happened as a result of a stack ==24347== overflow in your program's main thread (unlikely but ==24347== possible), you can try to increase the size of the ==24347== main thread stack using the --main-stacksize= flag. ==24347== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 13: semaphore wait post in preread_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==24349== Invalid read of size 4 ==24349== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24349== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24349== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24349== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24349== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24349== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24349== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24349== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24349== by 0x8065F7E: main (nginx.c:382) ==24349== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24349== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==24349== ==24349== Process terminating with default action of signal 11 (SIGSEGV) ==24349== Access not within mapped region at address 0x0 ==24349== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24349== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24349== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24349== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24349== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24349== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24349== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24349== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24349== by 0x8065F7E: main (nginx.c:382) ==24349== If you believe this happened as a result of a stack ==24349== overflow in your program's main thread (unlikely but ==24349== possible), you can try to increase the size of the ==24349== main thread stack using the --main-stacksize= flag. ==24349== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 15: two thread wait for each other - Can't connect to 127.0.0.1:1984: Connection refused |
==24351== Invalid read of size 4 ==24351== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24351== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24351== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24351== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24351== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24351== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24351== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24351== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24351== by 0x8065F7E: main (nginx.c:382) ==24351== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24351== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 15: two thread wait for each other - Can't connect to 127.0.0.1:1984: Connection refused |
==24351== ==24351== Process terminating with default action of signal 11 (SIGSEGV) ==24351== Access not within mapped region at address 0x0 ==24351== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24351== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24351== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24351== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24351== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24351== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24351== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24351== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24351== by 0x8065F7E: main (nginx.c:382) ==24351== If you believe this happened as a result of a stack ==24351== overflow in your program's main thread (unlikely but ==24351== possible), you can try to increase the size of the ==24351== main thread stack using the --main-stacksize= flag. ==24351== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 4: semaphore.new in init_by_lua* (w/o shdict) - Can't connect to 127.0.0.1:1984: Connection refused |
==24353== Invalid read of size 4 ==24353== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24353== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24353== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24353== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24353== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24353== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24353== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24353== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24353== by 0x8065F7E: main (nginx.c:382) ==24353== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24353== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - Can't connect to 127.0.0.1:1984: Connection refused |
==24353== ==24353== Process terminating with default action of signal 11 (SIGSEGV) ==24353== Access not within mapped region at address 0x0 ==24353== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24353== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24353== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24353== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24353== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24353== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24353== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24353== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24353== by 0x8065F7E: main (nginx.c:382) ==24353== If you believe this happened as a result of a stack ==24353== overflow in your program's main thread (unlikely but ==24353== possible), you can try to increase the size of the ==24353== main thread stack using the --main-stacksize= flag. ==24353== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 11: semaphore in ngx.timer (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24355== Invalid read of size 4 ==24355== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24355== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24355== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24355== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24355== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24355== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24355== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24355== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24355== by 0x8065F7E: main (nginx.c:382) ==24355== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24355== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24355== ==24355== Process terminating with default action of signal 11 (SIGSEGV) ==24355== Access not within mapped region at address 0x0 ==24355== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24355== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24355== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24355== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24355== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24355== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24355== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24355== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24355== by 0x8065F7E: main (nginx.c:382) ==24355== If you believe this happened as a result of a stack ==24355== overflow in your program's main thread (unlikely but ==24355== possible), you can try to increase the size of the ==24355== main thread stack using the --main-stacksize= flag. ==24355== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 11: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24357== Invalid read of size 4 ==24357== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24357== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24357== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24357== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24357== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24357== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24357== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24357== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24357== by 0x8065F7E: main (nginx.c:382) ==24357== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24357== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24357== ==24357== Process terminating with default action of signal 11 (SIGSEGV) ==24357== Access not within mapped region at address 0x0 ==24357== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24357== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24357== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24357== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24357== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24357== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24357== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24357== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24357== by 0x8065F7E: main (nginx.c:382) ==24357== If you believe this happened as a result of a stack ==24357== overflow in your program's main thread (unlikely but ==24357== possible), you can try to increase the size of the ==24357== main thread stack using the --main-stacksize= flag. ==24357== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 9: semaphore in content_by_lua (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - Can't connect to 127.0.0.1:1984: Connection refused |
==24359== Invalid read of size 4 ==24359== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24359== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24359== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24359== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24359== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24359== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24359== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24359== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24359== by 0x8065F7E: main (nginx.c:382) ==24359== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24359== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 1: basic semaphore in uthread - Can't connect to 127.0.0.1:1984: Connection refused |
==24359== ==24359== Process terminating with default action of signal 11 (SIGSEGV) ==24359== Access not within mapped region at address 0x0 ==24359== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24359== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24359== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24359== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24359== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24359== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24359== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24359== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24359== by 0x8065F7E: main (nginx.c:382) ==24359== If you believe this happened as a result of a stack ==24359== overflow in your program's main thread (unlikely but ==24359== possible), you can try to increase the size of the ==24359== main thread stack using the --main-stacksize= flag. ==24359== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 | TEST 24: basic semaphore_mm alloc - Can't connect to 127.0.0.1:1984: Connection refused |
==24361== Invalid read of size 4 ==24361== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24361== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24361== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24361== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24361== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24361== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24361== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24361== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24361== by 0x8065F7E: main (nginx.c:382) ==24361== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24361== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - Can't connect to 127.0.0.1:1984: Connection refused |
==24361== ==24361== Process terminating with default action of signal 11 (SIGSEGV) ==24361== Access not within mapped region at address 0x0 ==24361== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24361== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24361== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24361== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24361== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24361== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24361== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24361== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24361== by 0x8065F7E: main (nginx.c:382) ==24361== If you believe this happened as a result of a stack ==24361== overflow in your program's main thread (unlikely but ==24361== possible), you can try to increase the size of the ==24361== main thread stack using the --main-stacksize= flag. ==24361== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 24: basic semaphore_mm alloc - grep_error_log_out (req 1) |
got: '' expected: 'from head of free queue, alloc semaphore ' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - Can't connect to 127.0.0.1:1984: Connection refused |
==24363== Invalid read of size 4 ==24363== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24363== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24363== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24363== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24363== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24363== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24363== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24363== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24363== by 0x8065F7E: main (nginx.c:382) ==24363== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24363== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - Can't connect to 127.0.0.1:1984: Connection refused |
==24363== ==24363== Process terminating with default action of signal 11 (SIGSEGV) ==24363== Access not within mapped region at address 0x0 ==24363== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24363== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24363== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24363== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24363== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24363== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24363== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24363== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24363== by 0x8065F7E: main (nginx.c:382) ==24363== If you believe this happened as a result of a stack ==24363== overflow in your program's main thread (unlikely but ==24363== possible), you can try to increase the size of the ==24363== main thread stack using the --main-stacksize= flag. ==24363== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 14: semaphore wait in timer.at - pattern "wait success" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24365== Invalid read of size 4 ==24365== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24365== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24365== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24365== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24365== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24365== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24365== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24365== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24365== by 0x8065F7E: main (nginx.c:382) ==24365== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24365== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24365== ==24365== Process terminating with default action of signal 11 (SIGSEGV) ==24365== Access not within mapped region at address 0x0 ==24365== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24365== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24365== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24365== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24365== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24365== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24365== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24365== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24365== by 0x8065F7E: main (nginx.c:382) ==24365== If you believe this happened as a result of a stack ==24365== overflow in your program's main thread (unlikely but ==24365== possible), you can try to increase the size of the ==24365== main thread stack using the --main-stacksize= flag. ==24365== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 8: semaphore in preread_by_lua (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout while prereading client data, -sem: 1 while prereading client data, ' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - Can't connect to 127.0.0.1:1984: Connection refused |
==24367== Invalid read of size 4 ==24367== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24367== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24367== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24367== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24367== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24367== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24367== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24367== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24367== by 0x8065F7E: main (nginx.c:382) ==24367== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24367== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - Can't connect to 127.0.0.1:1984: Connection refused |
==24367== ==24367== Process terminating with default action of signal 11 (SIGSEGV) ==24367== Access not within mapped region at address 0x0 ==24367== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24367== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24367== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24367== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24367== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24367== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24367== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24367== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24367== by 0x8065F7E: main (nginx.c:382) ==24367== If you believe this happened as a result of a stack ==24367== overflow in your program's main thread (unlikely but ==24367== possible), you can try to increase the size of the ==24367== main thread stack using the --main-stacksize= flag. ==24367== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 28: basic semaphore count - Can't connect to 127.0.0.1:1984: Connection refused |
==24369== Invalid read of size 4 ==24369== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24369== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24369== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24369== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24369== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24369== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24369== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24369== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24369== by 0x8065F7E: main (nginx.c:382) ==24369== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24369== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 28: basic semaphore count - Can't connect to 127.0.0.1:1984: Connection refused |
==24369== ==24369== Process terminating with default action of signal 11 (SIGSEGV) ==24369== Access not within mapped region at address 0x0 ==24369== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24369== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24369== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24369== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24369== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24369== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24369== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24369== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24369== by 0x8065F7E: main (nginx.c:382) ==24369== If you believe this happened as a result of a stack ==24369== overflow in your program's main thread (unlikely but ==24369== possible), you can try to increase the size of the ==24369== main thread stack using the --main-stacksize= flag. ==24369== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 7: semaphore in init_worker_by_lua (new and post) - Can't connect to 127.0.0.1:1984: Connection refused |
==24371== Invalid read of size 4 ==24371== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24371== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24371== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24371== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24371== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24371== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24371== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24371== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24371== by 0x8065F7E: main (nginx.c:382) ==24371== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24371== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - Can't connect to 127.0.0.1:1984: Connection refused |
==24371== ==24371== Process terminating with default action of signal 11 (SIGSEGV) ==24371== Access not within mapped region at address 0x0 ==24371== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24371== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24371== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24371== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24371== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24371== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24371== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24371== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24371== by 0x8065F7E: main (nginx.c:382) ==24371== If you believe this happened as a result of a stack ==24371== overflow in your program's main thread (unlikely but ==24371== possible), you can try to increase the size of the ==24371== main thread stack using the --main-stacksize= flag. ==24371== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 10: semaphore in log_by_lua (wait not allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24373== Invalid read of size 4 ==24373== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24373== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24373== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24373== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24373== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24373== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24373== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24373== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24373== by 0x8065F7E: main (nginx.c:382) ==24373== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24373== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==24373== ==24373== Process terminating with default action of signal 11 (SIGSEGV) ==24373== Access not within mapped region at address 0x0 ==24373== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24373== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24373== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24373== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24373== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24373== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24373== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24373== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24373== by 0x8065F7E: main (nginx.c:382) ==24373== If you believe this happened as a result of a stack ==24373== overflow in your program's main thread (unlikely but ==24373== possible), you can try to increase the size of the ==24373== main thread stack using the --main-stacksize= flag. ==24373== 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) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 10: semaphore in log_by_lua (wait not allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: 1 while returning text, -sem: API disabled in the context of log_by_lua* while returning text, ' |
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 |
==24375== Invalid read of size 4 ==24375== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24375== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24375== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24375== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24375== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24375== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24375== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24375== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24375== by 0x8065F7E: main (nginx.c:382) ==24375== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24375== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_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 |
==24375== ==24375== Process terminating with default action of signal 11 (SIGSEGV) ==24375== Access not within mapped region at address 0x0 ==24375== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24375== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24375== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24375== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24375== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24375== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24375== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24375== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24375== by 0x8065F7E: main (nginx.c:382) ==24375== If you believe this happened as a result of a stack ==24375== overflow in your program's main thread (unlikely but ==24375== possible), you can try to increase the size of the ==24375== main thread stack using the --main-stacksize= flag. ==24375== 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 (aborted) |
' |
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 12: semaphore post in all phase (in a request) - Can't connect to 127.0.0.1:1984: Connection refused |
==24377== Invalid read of size 4 ==24377== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24377== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24377== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24377== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24377== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24377== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24377== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24377== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24377== by 0x8065F7E: main (nginx.c:382) ==24377== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24377== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - Can't connect to 127.0.0.1:1984: Connection refused |
==24377== ==24377== Process terminating with default action of signal 11 (SIGSEGV) ==24377== Access not within mapped region at address 0x0 ==24377== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24377== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24377== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24377== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24377== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24377== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24377== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24377== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24377== by 0x8065F7E: main (nginx.c:382) ==24377== If you believe this happened as a result of a stack ==24377== overflow in your program's main thread (unlikely but ==24377== possible), you can try to increase the size of the ==24377== main thread stack using the --main-stacksize= flag. ==24377== 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) - grep_error_log_out (req 0) |
got: '' expected: 'sem: 3 times, ' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 12: semaphore post in all phase (in a request) - grep_error_log_out (req 1) |
got: '' expected: 'sem: 3 times, ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - Can't connect to 127.0.0.1:1984: Connection refused |
==24379== Invalid read of size 4 ==24379== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24379== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24379== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24379== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24379== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24379== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24379== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24379== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24379== by 0x8065F7E: main (nginx.c:382) ==24379== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24379== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/semaphore.t | TEST 3: semaphore wait time=0 - Can't connect to 127.0.0.1:1984: Connection refused |
==24379== ==24379== Process terminating with default action of signal 11 (SIGSEGV) ==24379== Access not within mapped region at address 0x0 ==24379== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24379== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24379== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24379== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24379== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24379== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24379== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24379== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24379== by 0x8065F7E: main (nginx.c:382) ==24379== If you believe this happened as a result of a stack ==24379== overflow in your program's main thread (unlikely but ==24379== possible), you can try to increase the size of the ==24379== main thread stack using the --main-stacksize= flag. ==24379== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 35: free_space, about half full, no page left - Can't connect to 127.0.0.1:1984: Connection refused |
==24385== Invalid read of size 4 ==24385== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24385== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24385== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24385== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24385== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24385== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24385== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24385== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24385== by 0x8065F7E: main (nginx.c:382) ==24385== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24385== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 35: free_space, about half full, no page left - Can't connect to 127.0.0.1:1984: Connection refused |
==24385== ==24385== Process terminating with default action of signal 11 (SIGSEGV) ==24385== Access not within mapped region at address 0x0 ==24385== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24385== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24385== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24385== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24385== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24385== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24385== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24385== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24385== by 0x8065F7E: main (nginx.c:382) ==24385== If you believe this happened as a result of a stack ==24385== overflow in your program's main thread (unlikely but ==24385== possible), you can try to increase the size of the ==24385== main thread stack using the --main-stacksize= flag. ==24385== The main thread stack size used in this run was 8388608. ==24385== 4,096 bytes in 1 blocks are definitely lost in loss record 3,185 of 3,210 ==24385== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24385== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24385== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24385== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24385== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24385== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24385== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24385== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==24385== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24385== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==24385== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24385== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24385== by 0x40C016A: trace_state (lj_trace.c:680) ==24385== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24385== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24385== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24385== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24385== by 0x4084A29: lua_resume (lj_api.c:1296) ==24385== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24385== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24385== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24385== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24385== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24385== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24385== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24385== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24385== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24385== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24385== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24385== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24385== by 0x8065F7E: main (nginx.c:382) ==24385== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 39: incr bad init_ttl argument - Can't connect to 127.0.0.1:1984: Connection refused |
==24387== Invalid read of size 4 ==24387== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24387== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24387== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24387== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24387== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24387== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24387== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24387== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24387== by 0x8065F7E: main (nginx.c:382) ==24387== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24387== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 39: incr bad init_ttl argument - Can't connect to 127.0.0.1:1984: Connection refused |
==24387== ==24387== Process terminating with default action of signal 11 (SIGSEGV) ==24387== Access not within mapped region at address 0x0 ==24387== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24387== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24387== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24387== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24387== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24387== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24387== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24387== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24387== by 0x8065F7E: main (nginx.c:382) ==24387== If you believe this happened as a result of a stack ==24387== overflow in your program's main thread (unlikely but ==24387== possible), you can try to increase the size of the ==24387== main thread stack using the --main-stacksize= flag. ==24387== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 31: capacity - Can't connect to 127.0.0.1:1984: Connection refused |
==24389== Invalid read of size 4 ==24389== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24389== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24389== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24389== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24389== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24389== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24389== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24389== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24389== by 0x8065F7E: main (nginx.c:382) ==24389== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24389== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 31: capacity - Can't connect to 127.0.0.1:1984: Connection refused |
==24389== ==24389== Process terminating with default action of signal 11 (SIGSEGV) ==24389== Access not within mapped region at address 0x0 ==24389== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24389== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24389== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24389== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24389== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24389== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24389== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24389== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24389== by 0x8065F7E: main (nginx.c:382) ==24389== If you believe this happened as a result of a stack ==24389== overflow in your program's main thread (unlikely but ==24389== possible), you can try to increase the size of the ==24389== main thread stack using the --main-stacksize= flag. ==24389== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 25: get stale key - Can't connect to 127.0.0.1:1984: Connection refused |
==24391== Invalid read of size 4 ==24391== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24391== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24391== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24391== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24391== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24391== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24391== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24391== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24391== by 0x8065F7E: main (nginx.c:382) ==24391== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24391== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 25: get stale key - Can't connect to 127.0.0.1:1984: Connection refused |
==24391== ==24391== Process terminating with default action of signal 11 (SIGSEGV) ==24391== Access not within mapped region at address 0x0 ==24391== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24391== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24391== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24391== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24391== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24391== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24391== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24391== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24391== by 0x8065F7E: main (nginx.c:382) ==24391== If you believe this happened as a result of a stack ==24391== overflow in your program's main thread (unlikely but ==24391== possible), you can try to increase the size of the ==24391== main thread stack using the --main-stacksize= flag. ==24391== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 34: free_space, about half full, one page left - Can't connect to 127.0.0.1:1984: Connection refused |
==24393== Invalid read of size 4 ==24393== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24393== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24393== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24393== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24393== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24393== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24393== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24393== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24393== by 0x8065F7E: main (nginx.c:382) ==24393== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24393== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 34: free_space, about half full, one page left - Can't connect to 127.0.0.1:1984: Connection refused |
==24393== ==24393== Process terminating with default action of signal 11 (SIGSEGV) ==24393== Access not within mapped region at address 0x0 ==24393== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24393== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24393== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24393== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24393== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24393== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24393== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24393== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24393== by 0x8065F7E: main (nginx.c:382) ==24393== If you believe this happened as a result of a stack ==24393== overflow in your program's main thread (unlikely but ==24393== possible), you can try to increase the size of the ==24393== main thread stack using the --main-stacksize= flag. ==24393== The main thread stack size used in this run was 8388608. ==24393== 2,048 bytes in 1 blocks are definitely lost in loss record 3,152 of 3,215 ==24393== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24393== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24393== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24393== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24393== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24393== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24393== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==24393== by 0x40AC386: crec_call (lj_crecord.c:1231) ==24393== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==24393== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24393== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24393== by 0x40C016A: trace_state (lj_trace.c:680) ==24393== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24393== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24393== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24393== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24393== by 0x4084A29: lua_resume (lj_api.c:1296) ==24393== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24393== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24393== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24393== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24393== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24393== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24393== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24393== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24393== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24393== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24393== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24393== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24393== by 0x8065F7E: main (nginx.c:382) ==24393== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 12: set a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24395== Invalid read of size 4 ==24395== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24395== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24395== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24395== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24395== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24395== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24395== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24395== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24395== by 0x8065F7E: main (nginx.c:382) ==24395== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24395== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 12: set a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24395== ==24395== Process terminating with default action of signal 11 (SIGSEGV) ==24395== Access not within mapped region at address 0x0 ==24395== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24395== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24395== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24395== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24395== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24395== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24395== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24395== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24395== by 0x8065F7E: main (nginx.c:382) ==24395== If you believe this happened as a result of a stack ==24395== overflow in your program's main thread (unlikely but ==24395== possible), you can try to increase the size of the ==24395== main thread stack using the --main-stacksize= flag. ==24395== The main thread stack size used in this run was 8388608. ==24395== 2,048 bytes in 1 blocks are definitely lost in loss record 3,145 of 3,208 ==24395== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24395== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24395== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24395== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24395== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24395== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24395== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24395== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==24395== by 0x40A0AA4: lj_record_idx (lj_record.c:1419) ==24395== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24395== by 0x40C016A: trace_state (lj_trace.c:680) ==24395== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24395== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24395== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24395== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24395== by 0x4084A29: lua_resume (lj_api.c:1296) ==24395== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24395== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24395== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24395== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24395== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24395== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24395== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24395== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24395== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24395== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24395== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24395== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24395== by 0x8065F7E: main (nginx.c:382) ==24395== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 20: safe add a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24397== Invalid read of size 4 ==24397== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24397== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24397== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24397== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24397== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24397== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24397== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24397== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24397== by 0x8065F7E: main (nginx.c:382) ==24397== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24397== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 20: safe add a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24397== ==24397== Process terminating with default action of signal 11 (SIGSEGV) ==24397== Access not within mapped region at address 0x0 ==24397== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24397== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24397== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24397== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24397== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24397== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24397== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24397== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24397== by 0x8065F7E: main (nginx.c:382) ==24397== If you believe this happened as a result of a stack ==24397== overflow in your program's main thread (unlikely but ==24397== possible), you can try to increase the size of the ==24397== main thread stack using the --main-stacksize= flag. ==24397== The main thread stack size used in this run was 8388608. ==24397== 2,048 bytes in 1 blocks are definitely lost in loss record 3,150 of 3,214 ==24397== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24397== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24397== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24397== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24397== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24397== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24397== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24397== by 0x40A1767: lj_record_mm_lookup (lj_record.c:999) ==24397== by 0x40A0444: lj_record_idx (lj_record.c:1415) ==24397== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24397== by 0x40C016A: trace_state (lj_trace.c:680) ==24397== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24397== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24397== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24397== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24397== by 0x4084A29: lua_resume (lj_api.c:1296) ==24397== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24397== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24397== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24397== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24397== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24397== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24397== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24397== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24397== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24397== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24397== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24397== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24397== by 0x8065F7E: main (nginx.c:382) ==24397== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==24399== Invalid read of size 4 ==24399== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24399== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24399== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24399== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24399== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24399== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24399== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24399== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24399== by 0x8065F7E: main (nginx.c:382) ==24399== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24399== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 27: flush_all - Can't connect to 127.0.0.1:1984: Connection refused |
==24399== ==24399== Process terminating with default action of signal 11 (SIGSEGV) ==24399== Access not within mapped region at address 0x0 ==24399== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24399== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24399== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24399== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24399== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24399== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24399== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24399== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24399== by 0x8065F7E: main (nginx.c:382) ==24399== If you believe this happened as a result of a stack ==24399== overflow in your program's main thread (unlikely but ==24399== possible), you can try to increase the size of the ==24399== main thread stack using the --main-stacksize= flag. ==24399== The main thread stack size used in this run was 8388608. ==24399== 1,024 bytes in 1 blocks are definitely lost in loss record 3,097 of 3,208 ==24399== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24399== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24399== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24399== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24399== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24399== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24399== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24399== by 0x40B15D9: recff_type (lj_ffrecord.c:204) ==24399== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24399== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24399== by 0x40C016A: trace_state (lj_trace.c:680) ==24399== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24399== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24399== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24399== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24399== by 0x4084A29: lua_resume (lj_api.c:1296) ==24399== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24399== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24399== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24399== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24399== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24399== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24399== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24399== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24399== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24399== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24399== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24399== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24399== by 0x8065F7E: main (nginx.c:382) ==24399== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 29: incr with init - Can't connect to 127.0.0.1:1984: Connection refused |
==24401== Invalid read of size 4 ==24401== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24401== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24401== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24401== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24401== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24401== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24401== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24401== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24401== by 0x8065F7E: main (nginx.c:382) ==24401== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24401== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 29: incr with init - Can't connect to 127.0.0.1:1984: Connection refused |
==24401== ==24401== Process terminating with default action of signal 11 (SIGSEGV) ==24401== Access not within mapped region at address 0x0 ==24401== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24401== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24401== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24401== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24401== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24401== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24401== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24401== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24401== by 0x8065F7E: main (nginx.c:382) ==24401== If you believe this happened as a result of a stack ==24401== overflow in your program's main thread (unlikely but ==24401== possible), you can try to increase the size of the ==24401== main thread stack using the --main-stacksize= flag. ==24401== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: get a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24403== Invalid read of size 4 ==24403== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24403== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24403== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24403== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24403== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24403== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24403== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24403== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24403== by 0x8065F7E: main (nginx.c:382) ==24403== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24403== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 1: get a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24403== ==24403== Process terminating with default action of signal 11 (SIGSEGV) ==24403== Access not within mapped region at address 0x0 ==24403== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24403== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24403== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24403== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24403== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24403== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24403== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24403== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24403== by 0x8065F7E: main (nginx.c:382) ==24403== If you believe this happened as a result of a stack ==24403== overflow in your program's main thread (unlikely but ==24403== possible), you can try to increase the size of the ==24403== main thread stack using the --main-stacksize= flag. ==24403== The main thread stack size used in this run was 8388608. ==24403== 2,048 bytes in 1 blocks are definitely lost in loss record 3,140 of 3,203 ==24403== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24403== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24403== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24403== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24403== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24403== by 0x408F511: ir_nextk (lj_ir.c:175) ==24403== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24403== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24403== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24403== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24403== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24403== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24403== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24403== by 0x40C016A: trace_state (lj_trace.c:680) ==24403== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24403== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24403== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24403== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24403== by 0x4084A29: lua_resume (lj_api.c:1296) ==24403== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24403== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24403== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24403== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24403== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24403== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24403== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24403== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24403== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24403== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24403== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24403== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24403== by 0x8065F7E: main (nginx.c:382) ==24403== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 46: incr key with init and init_ttl (forcibly override other valid entries) - Can't connect to 127.0.0.1:1984: Connection refused |
==24405== Invalid read of size 4 ==24405== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24405== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24405== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24405== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24405== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24405== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24405== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24405== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24405== by 0x8065F7E: main (nginx.c:382) ==24405== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24405== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - Can't connect to 127.0.0.1:1984: Connection refused |
==24405== ==24405== Process terminating with default action of signal 11 (SIGSEGV) ==24405== Access not within mapped region at address 0x0 ==24405== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24405== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24405== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24405== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24405== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24405== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24405== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24405== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24405== by 0x8065F7E: main (nginx.c:382) ==24405== If you believe this happened as a result of a stack ==24405== overflow in your program's main thread (unlikely but ==24405== possible), you can try to increase the size of the ==24405== main thread stack using the --main-stacksize= flag. ==24405== The main thread stack size used in this run was 8388608. ==24405== 2,048 bytes in 1 blocks are definitely lost in loss record 3,130 of 3,195 ==24405== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24405== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24405== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24405== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24405== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24405== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24405== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==24405== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==24405== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24405== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24405== by 0x40C0675: trace_state (lj_trace.c:690) ==24405== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24405== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24405== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24405== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24405== by 0x4084A29: lua_resume (lj_api.c:1296) ==24405== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24405== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24405== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24405== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24405== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24405== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24405== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24405== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24405== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24405== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24405== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24405== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24405== by 0x8065F7E: main (nginx.c:382) ==24405== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 41: incr init_ttl argument without init - Can't connect to 127.0.0.1:1984: Connection refused |
==24407== Invalid read of size 4 ==24407== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24407== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24407== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24407== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24407== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24407== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24407== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24407== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24407== by 0x8065F7E: main (nginx.c:382) ==24407== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24407== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 41: incr init_ttl argument without init - Can't connect to 127.0.0.1:1984: Connection refused |
==24407== ==24407== Process terminating with default action of signal 11 (SIGSEGV) ==24407== Access not within mapped region at address 0x0 ==24407== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24407== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24407== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24407== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24407== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24407== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24407== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24407== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24407== by 0x8065F7E: main (nginx.c:382) ==24407== If you believe this happened as a result of a stack ==24407== overflow in your program's main thread (unlikely but ==24407== possible), you can try to increase the size of the ==24407== main thread stack using the --main-stacksize= flag. ==24407== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused |
==24409== Invalid read of size 4 ==24409== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24409== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24409== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24409== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24409== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24409== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24409== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24409== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24409== by 0x8065F7E: main (nginx.c:382) ==24409== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24409== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused |
==24409== ==24409== Process terminating with default action of signal 11 (SIGSEGV) ==24409== Access not within mapped region at address 0x0 ==24409== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24409== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24409== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24409== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24409== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24409== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24409== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24409== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24409== by 0x8065F7E: main (nginx.c:382) ==24409== If you believe this happened as a result of a stack ==24409== overflow in your program's main thread (unlikely but ==24409== possible), you can try to increase the size of the ==24409== main thread stack using the --main-stacksize= flag. ==24409== The main thread stack size used in this run was 8388608. ==24409== 2,048 bytes in 1 blocks are definitely lost in loss record 3,159 of 3,225 ==24409== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24409== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24409== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24409== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24409== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24409== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24409== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==24409== by 0x40AC386: crec_call (lj_crecord.c:1231) ==24409== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==24409== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24409== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24409== by 0x40C016A: trace_state (lj_trace.c:680) ==24409== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24409== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24409== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24409== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24409== by 0x4084A29: lua_resume (lj_api.c:1296) ==24409== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24409== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24409== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24409== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24409== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24409== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24409== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24409== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24409== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24409== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24409== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24409== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24409== by 0x8065F7E: main (nginx.c:382) ==24409== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 33: free_space, empty (100k zone) - Can't connect to 127.0.0.1:1984: Connection refused |
==24411== Invalid read of size 4 ==24411== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24411== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24411== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24411== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24411== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24411== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24411== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24411== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24411== by 0x8065F7E: main (nginx.c:382) ==24411== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24411== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - Can't connect to 127.0.0.1:1984: Connection refused |
==24411== ==24411== Process terminating with default action of signal 11 (SIGSEGV) ==24411== Access not within mapped region at address 0x0 ==24411== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24411== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24411== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24411== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24411== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24411== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24411== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24411== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24411== by 0x8065F7E: main (nginx.c:382) ==24411== If you believe this happened as a result of a stack ==24411== overflow in your program's main thread (unlikely but ==24411== possible), you can try to increase the size of the ==24411== main thread stack using the --main-stacksize= flag. ==24411== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 26: incr key - Can't connect to 127.0.0.1:1984: Connection refused |
==24413== Invalid read of size 4 ==24413== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24413== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24413== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24413== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24413== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24413== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24413== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24413== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24413== by 0x8065F7E: main (nginx.c:382) ==24413== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24413== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 26: incr key - Can't connect to 127.0.0.1:1984: Connection refused |
==24413== ==24413== Process terminating with default action of signal 11 (SIGSEGV) ==24413== Access not within mapped region at address 0x0 ==24413== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24413== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24413== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24413== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24413== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24413== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24413== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24413== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24413== by 0x8065F7E: main (nginx.c:382) ==24413== If you believe this happened as a result of a stack ==24413== overflow in your program's main thread (unlikely but ==24413== possible), you can try to increase the size of the ==24413== main thread stack using the --main-stacksize= flag. ==24413== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 8: get_stale (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==24415== Invalid read of size 4 ==24415== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24415== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24415== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24415== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24415== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24415== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24415== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24415== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24415== by 0x8065F7E: main (nginx.c:382) ==24415== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24415== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 8: get_stale (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==24415== ==24415== Process terminating with default action of signal 11 (SIGSEGV) ==24415== Access not within mapped region at address 0x0 ==24415== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24415== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24415== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24415== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24415== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24415== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24415== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24415== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24415== by 0x8065F7E: main (nginx.c:382) ==24415== If you believe this happened as a result of a stack ==24415== overflow in your program's main thread (unlikely but ==24415== possible), you can try to increase the size of the ==24415== main thread stack using the --main-stacksize= flag. ==24415== The main thread stack size used in this run was 8388608. ==24415== 2,048 bytes in 1 blocks are definitely lost in loss record 3,135 of 3,197 ==24415== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24415== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24415== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24415== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24415== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24415== by 0x408F511: ir_nextk (lj_ir.c:175) ==24415== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24415== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24415== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24415== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24415== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24415== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24415== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24415== by 0x40C016A: trace_state (lj_trace.c:680) ==24415== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24415== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24415== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24415== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24415== by 0x4084A29: lua_resume (lj_api.c:1296) ==24415== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24415== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24415== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24415== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24415== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24415== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24415== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24415== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24415== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24415== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24415== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24415== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24415== by 0x8065F7E: main (nginx.c:382) ==24415== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 15: set a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused |
==24419== Invalid read of size 4 ==24419== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24419== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24419== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24419== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24419== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24419== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24419== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24419== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24419== by 0x8065F7E: main (nginx.c:382) ==24419== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24419== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 15: set a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused |
==24419== ==24419== Process terminating with default action of signal 11 (SIGSEGV) ==24419== Access not within mapped region at address 0x0 ==24419== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24419== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24419== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24419== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24419== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24419== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24419== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24419== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24419== by 0x8065F7E: main (nginx.c:382) ==24419== If you believe this happened as a result of a stack ==24419== overflow in your program's main thread (unlikely but ==24419== possible), you can try to increase the size of the ==24419== main thread stack using the --main-stacksize= flag. ==24419== The main thread stack size used in this run was 8388608. ==24419== 2,048 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,205 ==24419== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24419== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24419== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24419== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24419== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24419== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24419== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24419== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==24419== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24419== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==24419== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24419== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24419== by 0x40C016A: trace_state (lj_trace.c:680) ==24419== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24419== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24419== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24419== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24419== by 0x4084A29: lua_resume (lj_api.c:1296) ==24419== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24419== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24419== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24419== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24419== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24419== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24419== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24419== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24419== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24419== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24419== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24419== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24419== by 0x8065F7E: main (nginx.c:382) ==24419== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 44: incr key with init and init_ttl as string (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==24421== Invalid read of size 4 ==24421== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24421== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24421== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24421== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24421== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24421== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24421== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24421== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24421== by 0x8065F7E: main (nginx.c:382) ==24421== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24421== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==24421== ==24421== Process terminating with default action of signal 11 (SIGSEGV) ==24421== Access not within mapped region at address 0x0 ==24421== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24421== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24421== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24421== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24421== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24421== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24421== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24421== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24421== by 0x8065F7E: main (nginx.c:382) ==24421== If you believe this happened as a result of a stack ==24421== overflow in your program's main thread (unlikely but ==24421== possible), you can try to increase the size of the ==24421== main thread stack using the --main-stacksize= flag. ==24421== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 43: incr key with init and init_ttl (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==24423== Invalid read of size 4 ==24423== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24423== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24423== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24423== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24423== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24423== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24423== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24423== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24423== by 0x8065F7E: main (nginx.c:382) ==24423== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24423== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==24423== ==24423== Process terminating with default action of signal 11 (SIGSEGV) ==24423== Access not within mapped region at address 0x0 ==24423== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24423== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24423== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24423== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24423== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24423== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24423== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24423== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24423== by 0x8065F7E: main (nginx.c:382) ==24423== If you believe this happened as a result of a stack ==24423== overflow in your program's main thread (unlikely but ==24423== possible), you can try to increase the size of the ==24423== main thread stack using the --main-stacksize= flag. ==24423== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 45: incr key with init and init_ttl (key expired and size matched) - Can't connect to 127.0.0.1:1984: Connection refused |
==24425== Invalid read of size 4 ==24425== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24425== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24425== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24425== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24425== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24425== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24425== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24425== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24425== by 0x8065F7E: main (nginx.c:382) ==24425== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24425== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - Can't connect to 127.0.0.1:1984: Connection refused |
==24425== ==24425== Process terminating with default action of signal 11 (SIGSEGV) ==24425== Access not within mapped region at address 0x0 ==24425== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24425== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24425== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24425== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24425== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24425== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24425== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24425== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24425== by 0x8065F7E: main (nginx.c:382) ==24425== If you believe this happened as a result of a stack ==24425== overflow in your program's main thread (unlikely but ==24425== possible), you can try to increase the size of the ==24425== main thread stack using the --main-stacksize= flag. ==24425== The main thread stack size used in this run was 8388608. ==24425== 2,048 bytes in 1 blocks are definitely lost in loss record 3,149 of 3,213 ==24425== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24425== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24425== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24425== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24425== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24425== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24425== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24425== by 0x40A1767: lj_record_mm_lookup (lj_record.c:999) ==24425== by 0x40A0444: lj_record_idx (lj_record.c:1415) ==24425== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24425== by 0x40C016A: trace_state (lj_trace.c:680) ==24425== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24425== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24425== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24425== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24425== by 0x4084A29: lua_resume (lj_api.c:1296) ==24425== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24425== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24425== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24425== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24425== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24425== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24425== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24425== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24425== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24425== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24425== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24425== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24425== by 0x8065F7E: main (nginx.c:382) ==24425== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 30: incr, init is not number - Can't connect to 127.0.0.1:1984: Connection refused |
==24427== Invalid read of size 4 ==24427== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24427== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24427== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24427== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24427== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24427== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24427== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24427== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24427== by 0x8065F7E: main (nginx.c:382) ==24427== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24427== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 30: incr, init is not number - Can't connect to 127.0.0.1:1984: Connection refused |
==24427== ==24427== Process terminating with default action of signal 11 (SIGSEGV) ==24427== Access not within mapped region at address 0x0 ==24427== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24427== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24427== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24427== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24427== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24427== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24427== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24427== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24427== by 0x8065F7E: main (nginx.c:382) ==24427== If you believe this happened as a result of a stack ==24427== overflow in your program's main thread (unlikely but ==24427== possible), you can try to increase the size of the ==24427== main thread stack using the --main-stacksize= flag. ==24427== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 30: incr, init is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 36: free_space, full - Can't connect to 127.0.0.1:1984: Connection refused |
==24429== Invalid read of size 4 ==24429== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24429== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24429== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24429== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24429== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24429== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24429== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24429== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24429== by 0x8065F7E: main (nginx.c:382) ==24429== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24429== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 36: free_space, full - Can't connect to 127.0.0.1:1984: Connection refused |
==24429== ==24429== Process terminating with default action of signal 11 (SIGSEGV) ==24429== Access not within mapped region at address 0x0 ==24429== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24429== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24429== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24429== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24429== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24429== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24429== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24429== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24429== by 0x8065F7E: main (nginx.c:382) ==24429== If you believe this happened as a result of a stack ==24429== overflow in your program's main thread (unlikely but ==24429== possible), you can try to increase the size of the ==24429== main thread stack using the --main-stacksize= flag. ==24429== The main thread stack size used in this run was 8388608. ==24429== 2,048 bytes in 1 blocks are definitely lost in loss record 3,147 of 3,210 ==24429== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24429== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24429== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24429== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24429== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==24429== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==24429== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==24429== by 0x40AC386: crec_call (lj_crecord.c:1231) ==24429== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==24429== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24429== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24429== by 0x40C016A: trace_state (lj_trace.c:680) ==24429== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24429== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24429== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24429== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24429== by 0x4084A29: lua_resume (lj_api.c:1296) ==24429== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24429== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24429== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24429== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24429== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24429== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24429== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24429== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24429== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24429== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24429== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24429== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24429== by 0x8065F7E: main (nginx.c:382) ==24429== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 28: incr, value is not number - Can't connect to 127.0.0.1:1984: Connection refused |
==24442== Invalid read of size 4 ==24442== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24442== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24442== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24442== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24442== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24442== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24442== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24442== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24442== by 0x8065F7E: main (nginx.c:382) ==24442== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24442== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 28: incr, value is not number - Can't connect to 127.0.0.1:1984: Connection refused |
==24442== ==24442== Process terminating with default action of signal 11 (SIGSEGV) ==24442== Access not within mapped region at address 0x0 ==24442== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24442== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24442== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24442== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24442== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24442== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24442== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24442== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24442== by 0x8065F7E: main (nginx.c:382) ==24442== If you believe this happened as a result of a stack ==24442== overflow in your program's main thread (unlikely but ==24442== possible), you can try to increase the size of the ==24442== main thread stack using the --main-stacksize= flag. ==24442== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 28: incr, value is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 21: replace a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24444== Invalid read of size 4 ==24444== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24444== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24444== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24444== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24444== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24444== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24444== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24444== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24444== by 0x8065F7E: main (nginx.c:382) ==24444== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24444== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 21: replace a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24444== ==24444== Process terminating with default action of signal 11 (SIGSEGV) ==24444== Access not within mapped region at address 0x0 ==24444== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24444== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24444== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24444== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24444== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24444== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24444== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24444== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24444== by 0x8065F7E: main (nginx.c:382) ==24444== If you believe this happened as a result of a stack ==24444== overflow in your program's main thread (unlikely but ==24444== possible), you can try to increase the size of the ==24444== main thread stack using the --main-stacksize= flag. ==24444== The main thread stack size used in this run was 8388608. ==24444== 2,048 bytes in 1 blocks are definitely lost in loss record 3,156 of 3,220 ==24444== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24444== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24444== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24444== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24444== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24444== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24444== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24444== by 0x40A1767: lj_record_mm_lookup (lj_record.c:999) ==24444== by 0x40A0444: lj_record_idx (lj_record.c:1415) ==24444== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24444== by 0x40C016A: trace_state (lj_trace.c:680) ==24444== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24444== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24444== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24444== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24444== by 0x4084A29: lua_resume (lj_api.c:1296) ==24444== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24444== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24444== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24444== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24444== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24444== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24444== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24444== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24444== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24444== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24444== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24444== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24444== by 0x8065F7E: main (nginx.c:382) ==24444== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 47: exptime uses long type to avoid overflow in set() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==24446== Invalid read of size 4 ==24446== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24446== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24446== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24446== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24446== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24446== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24446== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24446== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24446== by 0x8065F7E: main (nginx.c:382) ==24446== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24446== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==24446== ==24446== Process terminating with default action of signal 11 (SIGSEGV) ==24446== Access not within mapped region at address 0x0 ==24446== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24446== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24446== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24446== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24446== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24446== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24446== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24446== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24446== by 0x8065F7E: main (nginx.c:382) ==24446== If you believe this happened as a result of a stack ==24446== overflow in your program's main thread (unlikely but ==24446== possible), you can try to increase the size of the ==24446== main thread stack using the --main-stacksize= flag. ==24446== 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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 22: set a number value and delete - Can't connect to 127.0.0.1:1984: Connection refused |
==24448== Invalid read of size 4 ==24448== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24448== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24448== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24448== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24448== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24448== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24448== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24448== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24448== by 0x8065F7E: main (nginx.c:382) ==24448== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24448== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 22: set a number value and delete - Can't connect to 127.0.0.1:1984: Connection refused |
==24448== ==24448== Process terminating with default action of signal 11 (SIGSEGV) ==24448== Access not within mapped region at address 0x0 ==24448== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24448== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24448== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24448== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24448== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24448== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24448== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24448== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24448== by 0x8065F7E: main (nginx.c:382) ==24448== If you believe this happened as a result of a stack ==24448== overflow in your program's main thread (unlikely but ==24448== possible), you can try to increase the size of the ==24448== main thread stack using the --main-stacksize= flag. ==24448== The main thread stack size used in this run was 8388608. ==24448== 2,048 bytes in 1 blocks are definitely lost in loss record 3,145 of 3,209 ==24448== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24448== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24448== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24448== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24448== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24448== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24448== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24448== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==24448== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24448== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==24448== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24448== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24448== by 0x40C016A: trace_state (lj_trace.c:680) ==24448== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24448== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24448== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24448== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24448== by 0x4084A29: lua_resume (lj_api.c:1296) ==24448== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24448== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24448== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24448== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24448== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24448== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24448== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24448== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24448== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24448== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24448== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24448== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24448== by 0x8065F7E: main (nginx.c:382) ==24448== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 5: get a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused |
==24450== Invalid read of size 4 ==24450== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24450== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24450== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24450== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24450== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24450== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24450== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24450== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24450== by 0x8065F7E: main (nginx.c:382) ==24450== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 5: get a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused |
==24450== ==24450== Process terminating with default action of signal 11 (SIGSEGV) ==24450== Access not within mapped region at address 0x0 ==24450== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24450== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24450== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24450== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24450== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24450== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24450== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24450== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24450== by 0x8065F7E: main (nginx.c:382) ==24450== If you believe this happened as a result of a stack ==24450== overflow in your program's main thread (unlikely but ==24450== possible), you can try to increase the size of the ==24450== main thread stack using the --main-stacksize= flag. ==24450== The main thread stack size used in this run was 8388608. ==24450== 2,048 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,206 ==24450== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24450== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24450== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24450== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24450== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24450== by 0x408F511: ir_nextk (lj_ir.c:175) ==24450== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24450== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24450== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24450== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24450== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24450== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24450== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24450== by 0x40C016A: trace_state (lj_trace.c:680) ==24450== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24450== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24450== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24450== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24450== by 0x4084A29: lua_resume (lj_api.c:1296) ==24450== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24450== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24450== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24450== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24450== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24450== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24450== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24450== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24450== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24450== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24450== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24450== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24450== by 0x8065F7E: main (nginx.c:382) ==24450== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 11: incr double - Can't connect to 127.0.0.1:1984: Connection refused |
==24452== Invalid read of size 4 ==24452== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24452== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24452== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24452== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24452== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24452== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24452== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24452== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24452== by 0x8065F7E: main (nginx.c:382) ==24452== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24452== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 11: incr double - Can't connect to 127.0.0.1:1984: Connection refused |
==24452== ==24452== Process terminating with default action of signal 11 (SIGSEGV) ==24452== Access not within mapped region at address 0x0 ==24452== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24452== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24452== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24452== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24452== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24452== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24452== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24452== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24452== by 0x8065F7E: main (nginx.c:382) ==24452== If you believe this happened as a result of a stack ==24452== overflow in your program's main thread (unlikely but ==24452== possible), you can try to increase the size of the ==24452== main thread stack using the --main-stacksize= flag. ==24452== The main thread stack size used in this run was 8388608. ==24452== 2,048 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,204 ==24452== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24452== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24452== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24452== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24452== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24452== by 0x408F6B5: ir_nextk64 (lj_ir.c:187) ==24452== by 0x408F6B5: lj_ir_k64 (lj_ir.c:226) ==24452== by 0x408F726: lj_ir_knum_u64 (lj_ir.c:241) ==24452== by 0x4092F64: lj_ir_knum (lj_iropt.h:63) ==24452== by 0x4092F64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==24452== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24452== by 0x40A953C: crec_ct_ct (lj_crecord.c:465) ==24452== by 0x40A953C: crec_ct_tv (lj_crecord.c:691) ==24452== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24452== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24452== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24452== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24452== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24452== by 0x40C016A: trace_state (lj_trace.c:680) ==24452== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24452== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24452== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24452== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24452== by 0x4084A29: lua_resume (lj_api.c:1296) ==24452== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24452== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24452== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24452== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24452== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24452== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24452== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24452== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24452== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24452== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24452== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24452== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24452== by 0x8065F7E: main (nginx.c:382) ==24452== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 17: set a number value and a nil - Can't connect to 127.0.0.1:1984: Connection refused |
==24454== Invalid read of size 4 ==24454== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24454== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24454== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24454== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24454== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24454== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24454== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24454== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24454== by 0x8065F7E: main (nginx.c:382) ==24454== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24454== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 17: set a number value and a nil - Can't connect to 127.0.0.1:1984: Connection refused |
==24454== ==24454== Process terminating with default action of signal 11 (SIGSEGV) ==24454== Access not within mapped region at address 0x0 ==24454== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24454== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24454== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24454== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24454== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24454== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24454== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24454== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24454== by 0x8065F7E: main (nginx.c:382) ==24454== If you believe this happened as a result of a stack ==24454== overflow in your program's main thread (unlikely but ==24454== possible), you can try to increase the size of the ==24454== main thread stack using the --main-stacksize= flag. ==24454== The main thread stack size used in this run was 8388608. ==24454== 2,048 bytes in 1 blocks are definitely lost in loss record 3,146 of 3,210 ==24454== at 0x402C768: realloc (vg_replace_malloc.c:834) ==24454== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24454== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24454== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==24454== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==24454== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==24454== by 0x4098C52: loop_unroll (lj_opt_loop.c:285) ==24454== by 0x4098C52: cploop_opt (lj_opt_loop.c:409) ==24454== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24454== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==24454== by 0x40C0675: trace_state (lj_trace.c:690) ==24454== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24454== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24454== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24454== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24454== by 0x4084A29: lua_resume (lj_api.c:1296) ==24454== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24454== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24454== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24454== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24454== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24454== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24454== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24454== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24454== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24454== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24454== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24454== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24454== by 0x8065F7E: main (nginx.c:382) ==24454== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 9: get_stale (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==24456== Invalid read of size 4 ==24456== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24456== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24456== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24456== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24456== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24456== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24456== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24456== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24456== by 0x8065F7E: main (nginx.c:382) ==24456== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24456== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 9: get_stale (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==24456== ==24456== Process terminating with default action of signal 11 (SIGSEGV) ==24456== Access not within mapped region at address 0x0 ==24456== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24456== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24456== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24456== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24456== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24456== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24456== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24456== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24456== by 0x8065F7E: main (nginx.c:382) ==24456== If you believe this happened as a result of a stack ==24456== overflow in your program's main thread (unlikely but ==24456== possible), you can try to increase the size of the ==24456== main thread stack using the --main-stacksize= flag. ==24456== The main thread stack size used in this run was 8388608. ==24456== 2,048 bytes in 1 blocks are definitely lost in loss record 3,134 of 3,196 ==24456== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24456== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24456== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24456== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24456== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24456== by 0x408F511: ir_nextk (lj_ir.c:175) ==24456== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24456== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24456== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24456== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24456== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24456== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24456== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24456== by 0x40C016A: trace_state (lj_trace.c:680) ==24456== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24456== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24456== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24456== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24456== by 0x4084A29: lua_resume (lj_api.c:1296) ==24456== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24456== by 0x818ED1A: ngx_stream_lua_sleep_resume (ngx_stream_lua_sleep.c:206) ==24456== by 0x818EE41: ngx_stream_lua_sleep_handler (ngx_stream_lua_sleep.c:145) ==24456== by 0x80858DB: ngx_event_expire_timers (ngx_event_timer.c:94) ==24456== by 0x80853A3: ngx_process_events_and_timers (ngx_event.c:271) ==24456== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24456== by 0x8065F7E: main (nginx.c:382) ==24456== { <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_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 32: free_space, empty (16k zone) - Can't connect to 127.0.0.1:1984: Connection refused |
==24458== Invalid read of size 4 ==24458== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24458== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24458== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24458== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24458== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24458== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24458== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24458== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24458== by 0x8065F7E: main (nginx.c:382) ==24458== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24458== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - Can't connect to 127.0.0.1:1984: Connection refused |
==24458== ==24458== Process terminating with default action of signal 11 (SIGSEGV) ==24458== Access not within mapped region at address 0x0 ==24458== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24458== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24458== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24458== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24458== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24458== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24458== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24458== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24458== by 0x8065F7E: main (nginx.c:382) ==24458== If you believe this happened as a result of a stack ==24458== overflow in your program's main thread (unlikely but ==24458== possible), you can try to increase the size of the ==24458== main thread stack using the --main-stacksize= flag. ==24458== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 18: safe set a number value - Can't connect to 127.0.0.1:1984: Connection refused |
==24460== Invalid read of size 4 ==24460== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24460== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24460== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24460== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24460== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24460== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24460== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24460== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24460== by 0x8065F7E: main (nginx.c:382) ==24460== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 18: safe set a number value - Can't connect to 127.0.0.1:1984: Connection refused |
==24460== ==24460== Process terminating with default action of signal 11 (SIGSEGV) ==24460== Access not within mapped region at address 0x0 ==24460== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24460== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24460== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24460== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24460== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24460== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24460== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24460== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24460== by 0x8065F7E: main (nginx.c:382) ==24460== If you believe this happened as a result of a stack ==24460== overflow in your program's main thread (unlikely but ==24460== possible), you can try to increase the size of the ==24460== main thread stack using the --main-stacksize= flag. ==24460== The main thread stack size used in this run was 8388608. ==24460== 2,048 bytes in 1 blocks are definitely lost in loss record 3,143 of 3,206 ==24460== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24460== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24460== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24460== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24460== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24460== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24460== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24460== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==24460== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24460== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==24460== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24460== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24460== by 0x40C016A: trace_state (lj_trace.c:680) ==24460== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24460== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24460== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24460== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24460== by 0x4084A29: lua_resume (lj_api.c:1296) ==24460== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24460== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24460== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24460== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24460== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24460== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24460== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24460== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24460== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24460== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24460== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24460== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24460== by 0x8065F7E: main (nginx.c:382) ==24460== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 48: exptime uses long type to avoid overflow in expire() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==24462== Invalid read of size 4 ==24462== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24462== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24462== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24462== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24462== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24462== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24462== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24462== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24462== by 0x8065F7E: main (nginx.c:382) ==24462== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24462== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==24462== ==24462== Process terminating with default action of signal 11 (SIGSEGV) ==24462== Access not within mapped region at address 0x0 ==24462== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24462== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24462== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24462== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24462== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24462== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24462== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24462== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24462== by 0x8065F7E: main (nginx.c:382) ==24462== If you believe this happened as a result of a stack ==24462== overflow in your program's main thread (unlikely but ==24462== possible), you can try to increase the size of the ==24462== main thread stack using the --main-stacksize= flag. ==24462== 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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24464== Invalid read of size 4 ==24464== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24464== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24464== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24464== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24464== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24464== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24464== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24464== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24464== by 0x8065F7E: main (nginx.c:382) ==24464== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24464== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24464== ==24464== Process terminating with default action of signal 11 (SIGSEGV) ==24464== Access not within mapped region at address 0x0 ==24464== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24464== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24464== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24464== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24464== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24464== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24464== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24464== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24464== by 0x8065F7E: main (nginx.c:382) ==24464== If you believe this happened as a result of a stack ==24464== overflow in your program's main thread (unlikely but ==24464== possible), you can try to increase the size of the ==24464== main thread stack using the --main-stacksize= flag. ==24464== The main thread stack size used in this run was 8388608. ==24464== 2,048 bytes in 1 blocks are definitely lost in loss record 3,144 of 3,212 ==24464== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24464== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24464== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24464== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24464== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24464== by 0x408F511: ir_nextk (lj_ir.c:175) ==24464== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24464== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24464== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24464== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24464== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24464== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24464== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24464== by 0x40C016A: trace_state (lj_trace.c:680) ==24464== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24464== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24464== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24464== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24464== by 0x4084A29: lua_resume (lj_api.c:1296) ==24464== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24464== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24464== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24464== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24464== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24464== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24464== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24464== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24464== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24464== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24464== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24464== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24464== by 0x8065F7E: main (nginx.c:382) ==24464== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
stream/shdict.t | TEST 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
stream/shdict.t | TEST 16: set a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24466== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24466== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24466== by 0x8065F7E: main (nginx.c:382) ==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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
stream/shdict.t | TEST 16: set a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24466== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24466== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24466== by 0x8065F7E: main (nginx.c:382) ==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. ==24466== 2,048 bytes in 1 blocks are definitely lost in loss record 3,146 of 3,209 ==24466== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24466== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24466== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24466== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24466== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24466== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24466== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24466== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==24466== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24466== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==24466== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24466== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24466== by 0x40C016A: trace_state (lj_trace.c:680) ==24466== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24466== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24466== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24466== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24466== by 0x4084A29: lua_resume (lj_api.c:1296) ==24466== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24466== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24466== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24466== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24466== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24466== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24466== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24466== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24466== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24466== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24466== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24466== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24466== by 0x8065F7E: main (nginx.c:382) ==24466== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 2: get an nonexistent key - Can't connect to 127.0.0.1:1984: Connection refused |
==24468== Invalid read of size 4 ==24468== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24468== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24468== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24468== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24468== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24468== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24468== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24468== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24468== by 0x8065F7E: main (nginx.c:382) ==24468== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24468== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 2: get an nonexistent key - Can't connect to 127.0.0.1:1984: Connection refused |
==24468== ==24468== Process terminating with default action of signal 11 (SIGSEGV) ==24468== Access not within mapped region at address 0x0 ==24468== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24468== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24468== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24468== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24468== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24468== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24468== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24468== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24468== by 0x8065F7E: main (nginx.c:382) ==24468== If you believe this happened as a result of a stack ==24468== overflow in your program's main thread (unlikely but ==24468== possible), you can try to increase the size of the ==24468== main thread stack using the --main-stacksize= flag. ==24468== The main thread stack size used in this run was 8388608. ==24468== 2,048 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,205 ==24468== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24468== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24468== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24468== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24468== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24468== by 0x408F511: ir_nextk (lj_ir.c:175) ==24468== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24468== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24468== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24468== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24468== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24468== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24468== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24468== by 0x40C016A: trace_state (lj_trace.c:680) ==24468== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24468== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24468== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24468== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24468== by 0x4084A29: lua_resume (lj_api.c:1296) ==24468== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24468== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24468== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24468== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24468== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24468== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24468== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24468== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24468== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24468== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24468== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24468== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24468== by 0x8065F7E: main (nginx.c:382) ==24468== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 2: get an nonexistent key - status code ok |
got: '' expected: '200' |
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/shdict.t | TEST 14: set a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==24470== Invalid read of size 4 ==24470== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24470== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24470== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24470== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24470== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24470== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24470== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24470== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24470== by 0x8065F7E: main (nginx.c:382) ==24470== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24470== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 14: set a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==24470== ==24470== Process terminating with default action of signal 11 (SIGSEGV) ==24470== Access not within mapped region at address 0x0 ==24470== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24470== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24470== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24470== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24470== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24470== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24470== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24470== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24470== by 0x8065F7E: main (nginx.c:382) ==24470== If you believe this happened as a result of a stack ==24470== overflow in your program's main thread (unlikely but ==24470== possible), you can try to increase the size of the ==24470== main thread stack using the --main-stacksize= flag. ==24470== The main thread stack size used in this run was 8388608. ==24470== 2,048 bytes in 1 blocks are definitely lost in loss record 3,143 of 3,206 ==24470== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24470== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24470== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24470== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24470== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24470== by 0x408F511: ir_nextk (lj_ir.c:175) ==24470== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24470== by 0x40AAFEB: recff_cdata_index (lj_crecord.c:838) ==24470== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24470== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24470== by 0x40C016A: trace_state (lj_trace.c:680) ==24470== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24470== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24470== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24470== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24470== by 0x4084A29: lua_resume (lj_api.c:1296) ==24470== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24470== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24470== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24470== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24470== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24470== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24470== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24470== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24470== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24470== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24470== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24470== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24470== by 0x8065F7E: main (nginx.c:382) ==24470== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 3: get a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==24472== Invalid read of size 4 ==24472== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24472== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24472== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24472== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24472== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24472== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24472== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24472== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24472== by 0x8065F7E: main (nginx.c:382) ==24472== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24472== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 3: get a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==24472== ==24472== Process terminating with default action of signal 11 (SIGSEGV) ==24472== Access not within mapped region at address 0x0 ==24472== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24472== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24472== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24472== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24472== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24472== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24472== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24472== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24472== by 0x8065F7E: main (nginx.c:382) ==24472== If you believe this happened as a result of a stack ==24472== overflow in your program's main thread (unlikely but ==24472== possible), you can try to increase the size of the ==24472== main thread stack using the --main-stacksize= flag. ==24472== The main thread stack size used in this run was 8388608. ==24472== 2,048 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,206 ==24472== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24472== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24472== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24472== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24472== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24472== by 0x408F511: ir_nextk (lj_ir.c:175) ==24472== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24472== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24472== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24472== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24472== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24472== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24472== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24472== by 0x40C016A: trace_state (lj_trace.c:680) ==24472== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24472== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24472== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24472== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24472== by 0x4084A29: lua_resume (lj_api.c:1296) ==24472== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24472== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24472== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24472== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24472== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24472== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24472== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24472== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24472== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24472== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24472== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24472== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24472== by 0x8065F7E: main (nginx.c:382) ==24472== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 6: get a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused |
==24474== Invalid read of size 4 ==24474== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24474== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24474== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24474== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24474== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24474== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24474== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24474== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24474== by 0x8065F7E: main (nginx.c:382) ==24474== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24474== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 6: get a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused |
==24474== ==24474== Process terminating with default action of signal 11 (SIGSEGV) ==24474== Access not within mapped region at address 0x0 ==24474== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24474== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24474== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24474== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24474== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24474== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24474== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24474== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24474== by 0x8065F7E: main (nginx.c:382) ==24474== If you believe this happened as a result of a stack ==24474== overflow in your program's main thread (unlikely but ==24474== possible), you can try to increase the size of the ==24474== main thread stack using the --main-stacksize= flag. ==24474== The main thread stack size used in this run was 8388608. ==24474== 2,048 bytes in 1 blocks are definitely lost in loss record 3,143 of 3,207 ==24474== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24474== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24474== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24474== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24474== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24474== by 0x408F511: ir_nextk (lj_ir.c:175) ==24474== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24474== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24474== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24474== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24474== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24474== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24474== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24474== by 0x40C016A: trace_state (lj_trace.c:680) ==24474== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24474== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24474== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24474== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24474== by 0x4084A29: lua_resume (lj_api.c:1296) ==24474== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24474== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24474== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24474== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24474== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24474== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24474== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24474== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24474== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24474== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24474== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24474== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24474== by 0x8065F7E: main (nginx.c:382) ==24474== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 13: set a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==24476== Invalid read of size 4 ==24476== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24476== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24476== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24476== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24476== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24476== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24476== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24476== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24476== by 0x8065F7E: main (nginx.c:382) ==24476== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24476== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 13: set a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==24476== ==24476== Process terminating with default action of signal 11 (SIGSEGV) ==24476== Access not within mapped region at address 0x0 ==24476== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24476== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24476== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24476== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24476== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24476== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24476== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24476== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24476== by 0x8065F7E: main (nginx.c:382) ==24476== If you believe this happened as a result of a stack ==24476== overflow in your program's main thread (unlikely but ==24476== possible), you can try to increase the size of the ==24476== main thread stack using the --main-stacksize= flag. ==24476== The main thread stack size used in this run was 8388608. ==24476== 2,048 bytes in 1 blocks are definitely lost in loss record 3,144 of 3,207 ==24476== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24476== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24476== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24476== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24476== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24476== by 0x408F511: ir_nextk (lj_ir.c:175) ==24476== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24476== by 0x40AAFEB: recff_cdata_index (lj_crecord.c:838) ==24476== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24476== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24476== by 0x40C016A: trace_state (lj_trace.c:680) ==24476== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24476== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24476== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24476== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24476== by 0x4084A29: lua_resume (lj_api.c:1296) ==24476== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24476== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24476== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24476== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24476== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24476== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24476== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24476== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24476== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24476== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24476== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24476== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24476== by 0x8065F7E: main (nginx.c:382) ==24476== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 40: incr init_ttl argument is not a number - Can't connect to 127.0.0.1:1984: Connection refused |
==24478== Invalid read of size 4 ==24478== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24478== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24478== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24478== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24478== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24478== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24478== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24478== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24478== by 0x8065F7E: main (nginx.c:382) ==24478== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24478== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - Can't connect to 127.0.0.1:1984: Connection refused |
==24478== ==24478== Process terminating with default action of signal 11 (SIGSEGV) ==24478== Access not within mapped region at address 0x0 ==24478== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24478== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24478== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24478== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24478== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24478== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24478== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24478== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24478== by 0x8065F7E: main (nginx.c:382) ==24478== If you believe this happened as a result of a stack ==24478== overflow in your program's main thread (unlikely but ==24478== possible), you can try to increase the size of the ==24478== main thread stack using the --main-stacksize= flag. ==24478== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 37: free_space, got forcible - Can't connect to 127.0.0.1:1984: Connection refused |
==24480== Invalid read of size 4 ==24480== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24480== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24480== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24480== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24480== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24480== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24480== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24480== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24480== by 0x8065F7E: main (nginx.c:382) ==24480== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 37: free_space, got forcible - Can't connect to 127.0.0.1:1984: Connection refused |
==24480== ==24480== Process terminating with default action of signal 11 (SIGSEGV) ==24480== Access not within mapped region at address 0x0 ==24480== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24480== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24480== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24480== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24480== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24480== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24480== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24480== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24480== by 0x8065F7E: main (nginx.c:382) ==24480== If you believe this happened as a result of a stack ==24480== overflow in your program's main thread (unlikely but ==24480== possible), you can try to increase the size of the ==24480== main thread stack using the --main-stacksize= flag. ==24480== The main thread stack size used in this run was 8388608. ==24480== 4,096 bytes in 1 blocks are definitely lost in loss record 3,186 of 3,211 ==24480== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24480== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24480== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24480== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24480== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24480== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24480== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24480== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==24480== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24480== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==24480== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24480== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24480== by 0x40C016A: trace_state (lj_trace.c:680) ==24480== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24480== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24480== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24480== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24480== by 0x4084A29: lua_resume (lj_api.c:1296) ==24480== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24480== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24480== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24480== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24480== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24480== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24480== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24480== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24480== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24480== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24480== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24480== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24480== by 0x8065F7E: main (nginx.c:382) ==24480== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 19: add a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24482== Invalid read of size 4 ==24482== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24482== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24482== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24482== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24482== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24482== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24482== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24482== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24482== by 0x8065F7E: main (nginx.c:382) ==24482== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24482== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 19: add a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==24482== ==24482== Process terminating with default action of signal 11 (SIGSEGV) ==24482== Access not within mapped region at address 0x0 ==24482== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24482== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24482== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24482== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24482== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24482== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24482== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24482== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24482== by 0x8065F7E: main (nginx.c:382) ==24482== If you believe this happened as a result of a stack ==24482== overflow in your program's main thread (unlikely but ==24482== possible), you can try to increase the size of the ==24482== main thread stack using the --main-stacksize= flag. ==24482== The main thread stack size used in this run was 8388608. ==24482== 2,048 bytes in 1 blocks are definitely lost in loss record 3,146 of 3,209 ==24482== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24482== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24482== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24482== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24482== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24482== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==24482== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==24482== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==24482== by 0x40A0AA4: lj_record_idx (lj_record.c:1419) ==24482== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==24482== by 0x40C016A: trace_state (lj_trace.c:680) ==24482== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24482== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24482== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24482== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24482== by 0x4084A29: lua_resume (lj_api.c:1296) ==24482== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24482== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24482== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24482== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24482== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24482== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24482== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24482== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24482== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24482== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24482== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24482== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24482== by 0x8065F7E: main (nginx.c:382) ==24482== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 23: set nil key - Can't connect to 127.0.0.1:1984: Connection refused |
==24484== Invalid read of size 4 ==24484== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24484== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24484== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24484== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24484== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24484== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24484== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24484== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24484== by 0x8065F7E: main (nginx.c:382) ==24484== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24484== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 23: set nil key - Can't connect to 127.0.0.1:1984: Connection refused |
==24484== ==24484== Process terminating with default action of signal 11 (SIGSEGV) ==24484== Access not within mapped region at address 0x0 ==24484== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24484== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24484== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24484== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24484== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24484== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24484== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24484== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24484== by 0x8065F7E: main (nginx.c:382) ==24484== If you believe this happened as a result of a stack ==24484== overflow in your program's main thread (unlikely but ==24484== possible), you can try to increase the size of the ==24484== main thread stack using the --main-stacksize= flag. ==24484== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 24: get nil key - Can't connect to 127.0.0.1:1984: Connection refused |
==24486== Invalid read of size 4 ==24486== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24486== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24486== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24486== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24486== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24486== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24486== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24486== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24486== by 0x8065F7E: main (nginx.c:382) ==24486== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24486== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 24: get nil key - Can't connect to 127.0.0.1:1984: Connection refused |
==24486== ==24486== Process terminating with default action of signal 11 (SIGSEGV) ==24486== Access not within mapped region at address 0x0 ==24486== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24486== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24486== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24486== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24486== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24486== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24486== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24486== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24486== by 0x8065F7E: main (nginx.c:382) ==24486== If you believe this happened as a result of a stack ==24486== overflow in your program's main thread (unlikely but ==24486== possible), you can try to increase the size of the ==24486== main thread stack using the --main-stacksize= flag. ==24486== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 10: incr int - Can't connect to 127.0.0.1:1984: Connection refused |
==24488== Invalid read of size 4 ==24488== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24488== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24488== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24488== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24488== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24488== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24488== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24488== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24488== by 0x8065F7E: main (nginx.c:382) ==24488== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24488== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 10: incr int - Can't connect to 127.0.0.1:1984: Connection refused |
==24488== ==24488== Process terminating with default action of signal 11 (SIGSEGV) ==24488== Access not within mapped region at address 0x0 ==24488== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24488== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24488== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24488== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24488== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24488== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24488== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24488== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24488== by 0x8065F7E: main (nginx.c:382) ==24488== If you believe this happened as a result of a stack ==24488== overflow in your program's main thread (unlikely but ==24488== possible), you can try to increase the size of the ==24488== main thread stack using the --main-stacksize= flag. ==24488== The main thread stack size used in this run was 8388608. ==24488== 2,048 bytes in 1 blocks are definitely lost in loss record 3,143 of 3,205 ==24488== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24488== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24488== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24488== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24488== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24488== by 0x408F6B5: ir_nextk64 (lj_ir.c:187) ==24488== by 0x408F6B5: lj_ir_k64 (lj_ir.c:226) ==24488== by 0x408F726: lj_ir_knum_u64 (lj_ir.c:241) ==24488== by 0x4092F64: lj_ir_knum (lj_iropt.h:63) ==24488== by 0x4092F64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==24488== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==24488== by 0x40A953C: crec_ct_ct (lj_crecord.c:465) ==24488== by 0x40A953C: crec_ct_tv (lj_crecord.c:691) ==24488== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24488== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24488== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24488== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24488== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24488== by 0x40C016A: trace_state (lj_trace.c:680) ==24488== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24488== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24488== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24488== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24488== by 0x4084A29: lua_resume (lj_api.c:1296) ==24488== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24488== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24488== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24488== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24488== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24488== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24488== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24488== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24488== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24488== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24488== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24488== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24488== by 0x8065F7E: main (nginx.c:382) ==24488== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 42: incr key with init_ttl (key exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==24490== Invalid read of size 4 ==24490== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24490== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24490== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24490== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24490== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24490== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24490== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24490== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24490== by 0x8065F7E: main (nginx.c:382) ==24490== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==24490== ==24490== Process terminating with default action of signal 11 (SIGSEGV) ==24490== Access not within mapped region at address 0x0 ==24490== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24490== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24490== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24490== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24490== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24490== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24490== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24490== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24490== by 0x8065F7E: main (nginx.c:382) ==24490== If you believe this happened as a result of a stack ==24490== overflow in your program's main thread (unlikely but ==24490== possible), you can try to increase the size of the ==24490== main thread stack using the --main-stacksize= flag. ==24490== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 49: init_ttl uses long type to avoid overflow in incr() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==24492== Invalid read of size 4 ==24492== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24492== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24492== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24492== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24492== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24492== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24492== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24492== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24492== by 0x8065F7E: main (nginx.c:382) ==24492== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24492== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==24492== ==24492== Process terminating with default action of signal 11 (SIGSEGV) ==24492== Access not within mapped region at address 0x0 ==24492== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24492== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24492== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24492== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24492== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24492== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24492== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24492== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24492== by 0x8065F7E: main (nginx.c:382) ==24492== If you believe this happened as a result of a stack ==24492== overflow in your program's main thread (unlikely but ==24492== possible), you can try to increase the size of the ==24492== main thread stack using the --main-stacksize= flag. ==24492== 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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 4: get a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==24494== Invalid read of size 4 ==24494== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24494== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24494== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24494== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24494== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24494== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24494== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24494== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24494== by 0x8065F7E: main (nginx.c:382) ==24494== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24494== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/shdict.t | TEST 4: get a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==24494== ==24494== Process terminating with default action of signal 11 (SIGSEGV) ==24494== Access not within mapped region at address 0x0 ==24494== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24494== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24494== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24494== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24494== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24494== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24494== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24494== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24494== by 0x8065F7E: main (nginx.c:382) ==24494== If you believe this happened as a result of a stack ==24494== overflow in your program's main thread (unlikely but ==24494== possible), you can try to increase the size of the ==24494== main thread stack using the --main-stacksize= flag. ==24494== The main thread stack size used in this run was 8388608. ==24494== 2,048 bytes in 1 blocks are definitely lost in loss record 3,144 of 3,208 ==24494== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24494== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24494== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24494== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24494== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24494== by 0x408F511: ir_nextk (lj_ir.c:175) ==24494== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==24494== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==24494== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==24494== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==24494== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==24494== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==24494== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==24494== by 0x40C016A: trace_state (lj_trace.c:680) ==24494== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24494== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24494== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==24494== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24494== by 0x4084A29: lua_resume (lj_api.c:1296) ==24494== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24494== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24494== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24494== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24494== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24494== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24494== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24494== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24494== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24494== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24494== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24494== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24494== by 0x8065F7E: main (nginx.c:382) ==24494== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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/ssl.t | TEST 23: verify client with CA certificates - Can't connect to 127.0.0.1:1984: Connection refused |
==24500== Invalid read of size 4 ==24500== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24500== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24500== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24500== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24500== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24500== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24500== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24500== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24500== by 0x8065F7E: main (nginx.c:382) ==24500== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 23: verify client with CA certificates - Can't connect to 127.0.0.1:1984: Connection refused |
==24500== ==24500== Process terminating with default action of signal 11 (SIGSEGV) ==24500== Access not within mapped region at address 0x0 ==24500== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24500== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24500== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24500== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24500== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24500== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24500== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24500== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24500== by 0x8065F7E: main (nginx.c:382) ==24500== If you believe this happened as a result of a stack ==24500== overflow in your program's main thread (unlikely but ==24500== possible), you can try to increase the size of the ==24500== main thread stack using the --main-stacksize= flag. ==24500== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==24502== Invalid read of size 4 ==24502== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24502== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24502== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24502== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24502== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24502== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24502== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24502== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24502== by 0x8065F7E: main (nginx.c:382) ==24502== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24502== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==24502== ==24502== Process terminating with default action of signal 11 (SIGSEGV) ==24502== Access not within mapped region at address 0x0 ==24502== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24502== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24502== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24502== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24502== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24502== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24502== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24502== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24502== by 0x8065F7E: main (nginx.c:382) ==24502== If you believe this happened as a result of a stack ==24502== overflow in your program's main thread (unlikely but ==24502== possible), you can try to increase the size of the ==24502== main thread stack using the --main-stacksize= flag. ==24502== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - Can't connect to 127.0.0.1:1984: Connection refused |
==24504== Invalid read of size 4 ==24504== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24504== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24504== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24504== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24504== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24504== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24504== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24504== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24504== by 0x8065F7E: main (nginx.c:382) ==24504== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24504== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - Can't connect to 127.0.0.1:1984: Connection refused |
==24504== ==24504== Process terminating with default action of signal 11 (SIGSEGV) ==24504== Access not within mapped region at address 0x0 ==24504== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24504== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24504== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24504== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24504== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24504== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24504== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24504== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24504== by 0x8065F7E: main (nginx.c:382) ==24504== If you believe this happened as a result of a stack ==24504== overflow in your program's main thread (unlikely but ==24504== possible), you can try to increase the size of the ==24504== main thread stack using the --main-stacksize= flag. ==24504== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509\(\) failed)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 11: tls version - TLSv1 - Can't connect to 127.0.0.1:1984: Connection refused |
==24506== Invalid read of size 4 ==24506== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24506== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24506== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24506== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24506== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24506== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24506== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24506== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24506== by 0x8065F7E: main (nginx.c:382) ==24506== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24506== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 11: tls version - TLSv1 - Can't connect to 127.0.0.1:1984: Connection refused |
==24506== ==24506== Process terminating with default action of signal 11 (SIGSEGV) ==24506== Access not within mapped region at address 0x0 ==24506== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24506== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24506== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24506== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24506== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24506== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24506== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24506== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24506== by 0x8065F7E: main (nginx.c:382) ==24506== If you believe this happened as a result of a stack ==24506== overflow in your program's main thread (unlikely but ==24506== possible), you can try to increase the size of the ==24506== main thread stack using the --main-stacksize= flag. ==24506== 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 "got TLS1 version: TLSv1," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 11: tls version - TLSv1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "got TLS1 version: TLSv1," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - Can't connect to 127.0.0.1:1984: Connection refused |
==24508== Invalid read of size 4 ==24508== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24508== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24508== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24508== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24508== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24508== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24508== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24508== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24508== by 0x8065F7E: main (nginx.c:382) ==24508== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24508== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - Can't connect to 127.0.0.1:1984: Connection refused |
==24508== ==24508== Process terminating with default action of signal 11 (SIGSEGV) ==24508== Access not within mapped region at address 0x0 ==24508== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24508== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24508== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24508== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24508== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24508== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24508== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24508== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24508== by 0x8065F7E: main (nginx.c:382) ==24508== If you believe this happened as a result of a stack ==24508== overflow in your program's main thread (unlikely but ==24508== possible), you can try to increase the size of the ==24508== main thread stack using the --main-stacksize= flag. ==24508== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 10: tls version - SSLv3 - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24510== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24510== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24510== by 0x8065F7E: main (nginx.c:382) ==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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
stream/ssl.t | TEST 10: tls version - SSLv3 - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24510== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24510== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24510== by 0x8065F7E: main (nginx.c:382) ==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. |
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 "got TLS1 version: SSLv3," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 10: tls version - SSLv3 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "got TLS1 version: SSLv3," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 1: clear certs - Can't connect to 127.0.0.1:1984: Connection refused |
==24512== Invalid read of size 4 ==24512== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24512== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24512== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24512== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24512== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24512== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24512== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24512== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24512== by 0x8065F7E: main (nginx.c:382) ==24512== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24512== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 1: clear certs - Can't connect to 127.0.0.1:1984: Connection refused |
==24512== ==24512== Process terminating with default action of signal 11 (SIGSEGV) ==24512== Access not within mapped region at address 0x0 ==24512== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24512== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24512== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24512== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24512== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24512== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24512== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24512== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24512== by 0x8065F7E: main (nginx.c:382) ==24512== If you believe this happened as a result of a stack ==24512== overflow in your program's main thread (unlikely but ==24512== possible), you can try to increase the size of the ==24512== main thread stack using the --main-stacksize= flag. ==24512== 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 "sslv3 alert handshake failure" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 1: clear certs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" 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 1) | |
stream/ssl.t | TEST 24: verify client without CA certificates - Can't connect to 127.0.0.1:1984: Connection refused |
==24514== Invalid read of size 4 ==24514== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24514== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24514== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24514== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24514== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24514== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24514== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24514== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24514== by 0x8065F7E: main (nginx.c:382) ==24514== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24514== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 24: verify client without CA certificates - Can't connect to 127.0.0.1:1984: Connection refused |
==24514== ==24514== Process terminating with default action of signal 11 (SIGSEGV) ==24514== Access not within mapped region at address 0x0 ==24514== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24514== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24514== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24514== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24514== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24514== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24514== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24514== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24514== by 0x8065F7E: main (nginx.c:382) ==24514== If you believe this happened as a result of a stack ==24514== overflow in your program's main thread (unlikely but ==24514== possible), you can try to increase the size of the ==24514== main thread stack using the --main-stacksize= flag. ==24514== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 2: set DER cert and private key - Can't connect to 127.0.0.1:1984: Connection refused |
==24516== Invalid read of size 4 ==24516== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24516== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24516== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24516== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24516== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24516== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24516== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24516== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24516== by 0x8065F7E: main (nginx.c:382) ==24516== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24516== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 2: set DER cert and private key - Can't connect to 127.0.0.1:1984: Connection refused |
==24516== ==24516== Process terminating with default action of signal 11 (SIGSEGV) ==24516== Access not within mapped region at address 0x0 ==24516== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24516== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24516== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24516== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24516== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24516== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24516== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24516== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24516== by 0x8065F7E: main (nginx.c:382) ==24516== If you believe this happened as a result of a stack ==24516== overflow in your program's main thread (unlikely but ==24516== possible), you can try to increase the size of the ==24516== main thread stack using the --main-stacksize= flag. ==24516== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - Can't connect to 127.0.0.1:1984: Connection refused |
==24518== Invalid read of size 4 ==24518== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24518== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24518== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24518== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24518== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24518== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24518== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24518== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24518== by 0x8065F7E: main (nginx.c:382) ==24518== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24518== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - Can't connect to 127.0.0.1:1984: Connection refused |
==24518== ==24518== Process terminating with default action of signal 11 (SIGSEGV) ==24518== Access not within mapped region at address 0x0 ==24518== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24518== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24518== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24518== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24518== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24518== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24518== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24518== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24518== by 0x8065F7E: main (nginx.c:382) ==24518== If you believe this happened as a result of a stack ==24518== overflow in your program's main thread (unlikely but ==24518== possible), you can try to increase the size of the ==24518== main thread stack using the --main-stacksize= flag. ==24518== 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 "got TLS1 version: TLSv1.1," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "got TLS1 version: TLSv1.1," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - Can't connect to 127.0.0.1:1984: Connection refused |
==24520== Invalid read of size 4 ==24520== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24520== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24520== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24520== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24520== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24520== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24520== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24520== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24520== by 0x8065F7E: main (nginx.c:382) ==24520== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24520== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - Can't connect to 127.0.0.1:1984: Connection refused |
==24520== ==24520== Process terminating with default action of signal 11 (SIGSEGV) ==24520== Access not within mapped region at address 0x0 ==24520== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24520== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24520== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24520== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24520== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24520== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24520== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24520== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24520== by 0x8065F7E: main (nginx.c:382) ==24520== If you believe this happened as a result of a stack ==24520== overflow in your program's main thread (unlikely but ==24520== possible), you can try to increase the size of the ==24520== main thread stack using the --main-stacksize= flag. ==24520== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 25: verify client but client provides no certificate - Can't connect to 127.0.0.1:1984: Connection refused |
==24522== Invalid read of size 4 ==24522== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24522== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24522== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24522== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24522== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24522== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24522== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24522== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24522== by 0x8065F7E: main (nginx.c:382) ==24522== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24522== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 25: verify client but client provides no certificate - Can't connect to 127.0.0.1:1984: Connection refused |
==24522== ==24522== Process terminating with default action of signal 11 (SIGSEGV) ==24522== Access not within mapped region at address 0x0 ==24522== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24522== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24522== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24522== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24522== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24522== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24522== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24522== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24522== by 0x8065F7E: main (nginx.c:382) ==24522== If you believe this happened as a result of a stack ==24522== overflow in your program's main thread (unlikely but ==24522== possible), you can try to increase the size of the ==24522== main thread stack using the --main-stacksize= flag. ==24522== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "client certificate subject: nil" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - Can't connect to 127.0.0.1:1984: Connection refused |
==24524== Invalid read of size 4 ==24524== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24524== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24524== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24524== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24524== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24524== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24524== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24524== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24524== by 0x8065F7E: main (nginx.c:382) ==24524== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24524== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 22: tls version - TLSv1.3 - Can't connect to 127.0.0.1:1984: Connection refused |
==24524== ==24524== Process terminating with default action of signal 11 (SIGSEGV) ==24524== Access not within mapped region at address 0x0 ==24524== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24524== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24524== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24524== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24524== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24524== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24524== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24524== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24524== by 0x8065F7E: main (nginx.c:382) ==24524== If you believe this happened as a result of a stack ==24524== overflow in your program's main thread (unlikely but ==24524== possible), you can try to increase the size of the ==24524== main thread stack using the --main-stacksize= flag. ==24524== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "got TLS1 version: TLSv1.3," should match a line in error.log (req 1) | |
stream/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 |
==24526== Invalid read of size 4 ==24526== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24526== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24526== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24526== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24526== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24526== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24526== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24526== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24526== by 0x8065F7E: main (nginx.c:382) ==24526== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24526== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/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 |
==24526== ==24526== Process terminating with default action of signal 11 (SIGSEGV) ==24526== Access not within mapped region at address 0x0 ==24526== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24526== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24526== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24526== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24526== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24526== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24526== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24526== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24526== by 0x8065F7E: main (nginx.c:382) ==24526== If you believe this happened as a result of a stack ==24526== overflow in your program's main thread (unlikely but ==24526== possible), you can try to increase the size of the ==24526== main thread stack using the --main-stacksize= flag. ==24526== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "(?^:Using unix socket file .*?nginx\.sock)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - Can't connect to 127.0.0.1:1984: Connection refused |
==24528== Invalid read of size 4 ==24528== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24528== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24528== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24528== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24528== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24528== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24528== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24528== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24528== by 0x8065F7E: main (nginx.c:382) ==24528== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24528== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - Can't connect to 127.0.0.1:1984: Connection refused |
==24528== ==24528== Process terminating with default action of signal 11 (SIGSEGV) ==24528== Access not within mapped region at address 0x0 ==24528== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24528== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24528== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24528== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24528== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24528== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24528== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24528== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24528== by 0x8065F7E: main (nginx.c:382) ==24528== If you believe this happened as a result of a stack ==24528== overflow in your program's main thread (unlikely but ==24528== possible), you can try to increase the size of the ==24528== main thread stack using the --main-stacksize= flag. ==24528== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused |
==24534== Invalid read of size 4 ==24534== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24534== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24534== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24534== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24534== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24534== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24534== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24534== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24534== by 0x8065F7E: main (nginx.c:382) ==24534== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24534== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused |
==24534== ==24534== Process terminating with default action of signal 11 (SIGSEGV) ==24534== Access not within mapped region at address 0x0 ==24534== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24534== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24534== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24534== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24534== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24534== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24534== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24534== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24534== by 0x8065F7E: main (nginx.c:382) ==24534== If you believe this happened as a result of a stack ==24534== overflow in your program's main thread (unlikely but ==24534== possible), you can try to increase the size of the ==24534== main thread stack using the --main-stacksize= flag. ==24534== 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 "got TLS1 version: TLSv1.2," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "got TLS1 version: TLSv1.2," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==24536== Invalid read of size 4 ==24536== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24536== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24536== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24536== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24536== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24536== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24536== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24536== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24536== by 0x8065F7E: main (nginx.c:382) ==24536== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24536== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==24536== ==24536== Process terminating with default action of signal 11 (SIGSEGV) ==24536== Access not within mapped region at address 0x0 ==24536== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24536== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24536== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24536== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24536== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24536== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24536== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24536== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24536== by 0x8065F7E: main (nginx.c:382) ==24536== If you believe this happened as a result of a stack ==24536== overflow in your program's main thread (unlikely but ==24536== possible), you can try to increase the size of the ==24536== main thread stack using the --main-stacksize= flag. ==24536== 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 +0,0 @@ -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 "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* - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 +0,0 @@ -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 "ssl cert by lua done" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - Can't connect to 127.0.0.1:1984: Connection refused |
==24538== Invalid read of size 4 ==24538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24538== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24538== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24538== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24538== by 0x8065F7E: main (nginx.c:382) ==24538== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24538== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - Can't connect to 127.0.0.1:1984: Connection refused |
==24538== ==24538== Process terminating with default action of signal 11 (SIGSEGV) ==24538== Access not within mapped region at address 0x0 ==24538== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24538== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24538== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24538== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24538== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24538== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24538== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24538== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24538== by 0x8065F7E: main (nginx.c:382) ==24538== If you believe this happened as a result of a stack ==24538== overflow in your program's main thread (unlikely but ==24538== possible), you can try to increase the size of the ==24538== main thread stack using the --main-stacksize= flag. ==24538== 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 "client ip: 127.0.0.1" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "client ip: 127.0.0.1" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 8: set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==24540== Invalid read of size 4 ==24540== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24540== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24540== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24540== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24540== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24540== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24540== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24540== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24540== by 0x8065F7E: main (nginx.c:382) ==24540== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24540== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 8: set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==24540== ==24540== Process terminating with default action of signal 11 (SIGSEGV) ==24540== Access not within mapped region at address 0x0 ==24540== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24540== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24540== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24540== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24540== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24540== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24540== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24540== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24540== by 0x8065F7E: main (nginx.c:382) ==24540== If you believe this happened as a result of a stack ==24540== overflow in your program's main thread (unlikely but ==24540== possible), you can try to increase the size of the ==24540== main thread stack using the --main-stacksize= flag. ==24540== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24544== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24544== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24544== by 0x8065F7E: main (nginx.c:382) ==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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - Can't connect to 127.0.0.1:1984: Connection refused |
==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 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24544== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24544== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24544== by 0x8065F7E: main (nginx.c:382) ==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. |
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 "Using IPv6 address: 0.0.0.1" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "Using IPv6 address: 0.0.0.1" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - Can't connect to 127.0.0.1:1984: Connection refused |
==24546== Invalid read of size 4 ==24546== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24546== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24546== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24546== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24546== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24546== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24546== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24546== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24546== by 0x8065F7E: main (nginx.c:382) ==24546== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24546== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - Can't connect to 127.0.0.1:1984: Connection refused |
==24546== ==24546== Process terminating with default action of signal 11 (SIGSEGV) ==24546== Access not within mapped region at address 0x0 ==24546== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24546== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24546== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24546== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24546== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24546== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24546== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24546== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24546== by 0x8065F7E: main (nginx.c:382) ==24546== If you believe this happened as a result of a stack ==24546== overflow in your program's main thread (unlikely but ==24546== possible), you can try to increase the size of the ==24546== main thread stack using the --main-stacksize= flag. ==24546== 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 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "read SNI name from Lua: nil, type: nil" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - Can't connect to 127.0.0.1:1984: Connection refused |
==24548== Invalid read of size 4 ==24548== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24548== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24548== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24548== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24548== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24548== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24548== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24548== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24548== by 0x8065F7E: main (nginx.c:382) ==24548== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24548== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - Can't connect to 127.0.0.1:1984: Connection refused |
==24548== ==24548== Process terminating with default action of signal 11 (SIGSEGV) ==24548== Access not within mapped region at address 0x0 ==24548== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24548== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24548== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24548== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24548== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24548== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24548== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24548== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24548== by 0x8065F7E: main (nginx.c:382) ==24548== If you believe this happened as a result of a stack ==24548== overflow in your program's main thread (unlikely but ==24548== possible), you can try to increase the size of the ==24548== main thread stack using the --main-stacksize= flag. ==24548== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509_AUX\(\) failed)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - Can't connect to 127.0.0.1:1984: Connection refused |
==24550== Invalid read of size 4 ==24550== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24550== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24550== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24550== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24550== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24550== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24550== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24550== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24550== by 0x8065F7E: main (nginx.c:382) ==24550== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24550== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - Can't connect to 127.0.0.1:1984: Connection refused |
==24550== ==24550== Process terminating with default action of signal 11 (SIGSEGV) ==24550== Access not within mapped region at address 0x0 ==24550== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24550== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24550== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24550== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24550== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24550== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24550== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24550== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24550== by 0x8065F7E: main (nginx.c:382) ==24550== If you believe this happened as a result of a stack ==24550== overflow in your program's main thread (unlikely but ==24550== possible), you can try to increase the size of the ==24550== main thread stack using the --main-stacksize= flag. ==24550== 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) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "(?^:\[error\] .*? failed to parse pem key: PEM_read_bio_PrivateKey\(\) failed)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - Can't connect to 127.0.0.1:1984: Connection refused |
==24552== Invalid read of size 4 ==24552== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24552== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24552== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24552== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24552== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24552== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24552== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24552== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24552== by 0x8065F7E: main (nginx.c:382) ==24552== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24552== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - Can't connect to 127.0.0.1:1984: Connection refused |
==24552== ==24552== Process terminating with default action of signal 11 (SIGSEGV) ==24552== Access not within mapped region at address 0x0 ==24552== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24552== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24552== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24552== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24552== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24552== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24552== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24552== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24552== by 0x8065F7E: main (nginx.c:382) ==24552== If you believe this happened as a result of a stack ==24552== overflow in your program's main thread (unlikely but ==24552== possible), you can try to increase the size of the ==24552== main thread stack using the --main-stacksize= flag. ==24552== 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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "read SNI name from Lua: test.com" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - Can't connect to 127.0.0.1:1984: Connection refused |
==24554== Invalid read of size 4 ==24554== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24554== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24554== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24554== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24554== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24554== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24554== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24554== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24554== by 0x8065F7E: main (nginx.c:382) ==24554== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24554== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - Can't connect to 127.0.0.1:1984: Connection refused |
==24554== ==24554== Process terminating with default action of signal 11 (SIGSEGV) ==24554== Access not within mapped region at address 0x0 ==24554== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24554== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24554== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24554== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24554== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24554== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24554== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24554== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24554== by 0x8065F7E: main (nginx.c:382) ==24554== If you believe this happened as a result of a stack ==24554== overflow in your program's main thread (unlikely but ==24554== possible), you can try to increase the size of the ==24554== main thread stack using the --main-stacksize= flag. ==24554== 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 "Using IPv4 address: 127.0.0.1" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "Using IPv4 address: 127.0.0.1" should match a line in error.log (req 1) | |
stream/time.t | TEST 6: ngx.utctime() - Can't connect to 127.0.0.1:1984: Connection refused |
==24560== Invalid read of size 4 ==24560== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24560== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24560== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24560== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24560== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24560== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24560== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24560== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24560== by 0x8065F7E: main (nginx.c:382) ==24560== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24560== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/time.t | TEST 6: ngx.utctime() - Can't connect to 127.0.0.1:1984: Connection refused |
==24560== ==24560== Process terminating with default action of signal 11 (SIGSEGV) ==24560== Access not within mapped region at address 0x0 ==24560== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24560== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24560== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24560== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24560== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24560== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24560== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24560== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24560== by 0x8065F7E: main (nginx.c:382) ==24560== If you believe this happened as a result of a stack ==24560== overflow in your program's main thread (unlikely but ==24560== possible), you can try to increase the size of the ==24560== main thread stack using the --main-stacksize= flag. ==24560== The main thread stack size used in this run was 8388608. ==24560== 512 bytes in 1 blocks are definitely lost in loss record 2,930 of 3,149 ==24560== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24560== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24560== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24560== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24560== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24560== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24560== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24560== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24560== by 0x40C016A: trace_state (lj_trace.c:680) ==24560== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24560== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24560== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24560== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24560== by 0x4084A29: lua_resume (lj_api.c:1296) ==24560== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24560== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24560== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24560== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24560== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24560== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24560== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24560== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24560== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24560== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24560== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24560== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24560== by 0x8065F7E: main (nginx.c:382) ==24560== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 4: ngx.today() - Can't connect to 127.0.0.1:1984: Connection refused |
==24562== Invalid read of size 4 ==24562== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24562== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24562== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24562== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24562== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24562== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24562== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24562== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24562== by 0x8065F7E: main (nginx.c:382) ==24562== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24562== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/time.t | TEST 4: ngx.today() - Can't connect to 127.0.0.1:1984: Connection refused |
==24562== ==24562== Process terminating with default action of signal 11 (SIGSEGV) ==24562== Access not within mapped region at address 0x0 ==24562== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24562== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24562== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24562== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24562== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24562== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24562== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24562== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24562== by 0x8065F7E: main (nginx.c:382) ==24562== If you believe this happened as a result of a stack ==24562== overflow in your program's main thread (unlikely but ==24562== possible), you can try to increase the size of the ==24562== main thread stack using the --main-stacksize= flag. ==24562== The main thread stack size used in this run was 8388608. ==24562== 512 bytes in 1 blocks are definitely lost in loss record 2,929 of 3,149 ==24562== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24562== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24562== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24562== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24562== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24562== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24562== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24562== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24562== by 0x40C016A: trace_state (lj_trace.c:680) ==24562== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24562== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24562== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24562== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24562== by 0x4084A29: lua_resume (lj_api.c:1296) ==24562== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24562== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24562== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24562== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24562== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24562== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24562== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24562== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24562== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24562== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24562== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24562== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24562== by 0x8065F7E: main (nginx.c:382) ==24562== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 5: ngx.localtime() - Can't connect to 127.0.0.1:1984: Connection refused |
==24564== Invalid read of size 4 ==24564== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24564== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24564== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24564== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24564== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24564== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24564== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24564== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24564== by 0x8065F7E: main (nginx.c:382) ==24564== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24564== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/time.t | TEST 5: ngx.localtime() - Can't connect to 127.0.0.1:1984: Connection refused |
==24564== ==24564== Process terminating with default action of signal 11 (SIGSEGV) ==24564== Access not within mapped region at address 0x0 ==24564== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24564== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24564== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24564== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24564== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24564== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24564== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24564== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24564== by 0x8065F7E: main (nginx.c:382) ==24564== If you believe this happened as a result of a stack ==24564== overflow in your program's main thread (unlikely but ==24564== possible), you can try to increase the size of the ==24564== main thread stack using the --main-stacksize= flag. ==24564== The main thread stack size used in this run was 8388608. ==24564== 512 bytes in 1 blocks are definitely lost in loss record 2,926 of 3,145 ==24564== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24564== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24564== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24564== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24564== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24564== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24564== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24564== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24564== by 0x40C016A: trace_state (lj_trace.c:680) ==24564== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24564== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24564== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24564== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24564== by 0x4084A29: lua_resume (lj_api.c:1296) ==24564== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24564== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24564== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24564== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24564== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24564== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24564== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24564== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24564== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24564== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24564== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24564== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24564== by 0x8065F7E: main (nginx.c:382) ==24564== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 1: ngx.now() - Can't connect to 127.0.0.1:1984: Connection refused |
==24566== Invalid read of size 4 ==24566== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24566== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24566== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24566== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24566== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24566== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24566== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24566== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24566== by 0x8065F7E: main (nginx.c:382) ==24566== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24566== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/time.t | TEST 1: ngx.now() - Can't connect to 127.0.0.1:1984: Connection refused |
==24566== ==24566== Process terminating with default action of signal 11 (SIGSEGV) ==24566== Access not within mapped region at address 0x0 ==24566== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24566== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24566== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24566== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24566== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24566== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24566== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24566== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24566== by 0x8065F7E: main (nginx.c:382) ==24566== If you believe this happened as a result of a stack ==24566== overflow in your program's main thread (unlikely but ==24566== possible), you can try to increase the size of the ==24566== main thread stack using the --main-stacksize= flag. ==24566== The main thread stack size used in this run was 8388608. ==24566== 512 bytes in 1 blocks are definitely lost in loss record 2,929 of 3,148 ==24566== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24566== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24566== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24566== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24566== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24566== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24566== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24566== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24566== by 0x40C016A: trace_state (lj_trace.c:680) ==24566== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24566== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24566== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24566== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24566== by 0x4084A29: lua_resume (lj_api.c:1296) ==24566== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24566== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24566== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24566== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24566== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24566== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24566== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24566== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24566== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24566== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24566== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24566== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24566== by 0x8065F7E: main (nginx.c:382) ==24566== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused |
==24570== Invalid read of size 4 ==24570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24570== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24570== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24570== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24570== by 0x8065F7E: main (nginx.c:382) ==24570== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused |
==24570== ==24570== Process terminating with default action of signal 11 (SIGSEGV) ==24570== Access not within mapped region at address 0x0 ==24570== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24570== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24570== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24570== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24570== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24570== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24570== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24570== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24570== by 0x8065F7E: main (nginx.c:382) ==24570== If you believe this happened as a result of a stack ==24570== overflow in your program's main thread (unlikely but ==24570== possible), you can try to increase the size of the ==24570== main thread stack using the --main-stacksize= flag. ==24570== The main thread stack size used in this run was 8388608. ==24570== 512 bytes in 1 blocks are definitely lost in loss record 2,931 of 3,149 ==24570== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24570== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24570== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24570== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24570== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24570== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24570== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24570== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24570== by 0x40C016A: trace_state (lj_trace.c:680) ==24570== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24570== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24570== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24570== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24570== by 0x4084A29: lua_resume (lj_api.c:1296) ==24570== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24570== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24570== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24570== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24570== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24570== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24570== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24570== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24570== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24570== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24570== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24570== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24570== by 0x8065F7E: main (nginx.c:382) ==24570== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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 (aborted) |
' |
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 3: ngx.update_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==24572== Invalid read of size 4 ==24572== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24572== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24572== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24572== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24572== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24572== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24572== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24572== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24572== by 0x8065F7E: main (nginx.c:382) ==24572== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==24572== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_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_single_process_cycle fun:main } |
stream/time.t | TEST 3: ngx.update_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==24572== ==24572== Process terminating with default action of signal 11 (SIGSEGV) ==24572== Access not within mapped region at address 0x0 ==24572== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==24572== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==24572== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==24572== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==24572== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==24572== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24572== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==24572== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24572== by 0x8065F7E: main (nginx.c:382) ==24572== If you believe this happened as a result of a stack ==24572== overflow in your program's main thread (unlikely but ==24572== possible), you can try to increase the size of the ==24572== main thread stack using the --main-stacksize= flag. ==24572== The main thread stack size used in this run was 8388608. ==24572== 512 bytes in 1 blocks are definitely lost in loss record 2,932 of 3,149 ==24572== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==24572== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==24572== by 0x40D1146: mem_alloc (lib_aux.c:335) ==24572== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==24572== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==24572== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==24572== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==24572== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==24572== by 0x40C016A: trace_state (lj_trace.c:680) ==24572== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24572== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==24572== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==24572== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==24572== by 0x4084A29: lua_resume (lj_api.c:1296) ==24572== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==24572== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==24572== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==24572== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==24572== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==24572== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==24572== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==24572== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==24572== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==24572== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==24572== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==24572== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==24572== by 0x8065F7E: main (nginx.c:382) ==24572== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_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() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
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 ' |
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-raw-log.t | nginx: [error] | hello world from init_by_lua |
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 0) | |
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) | |
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)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d[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[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(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]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[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: 6 times, sem: timeout, ' expected: 'sem: 6 times, ' |
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.081) |
'0.2 sleep for 0.1s... -0.081 ' doesn't match '(?^s:\A0.2 sleep for 0.1s... 0.\d* \z)' |
stream/errlog-raw-log.t | nginx: [error] | hello world from init_by_lua |
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/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/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)]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[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[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[b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c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[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 ' |
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 ' |
time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ true >= 0.099: true -< 0.11: true +< 0.11: false ' |
Go back to the index page.