(This page was automatically generated by the tools in the opsboy project on 09:46:44 03-Nov-2020 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
12abf47c | 2020-10-27 03:33:36 GMT | 2061 | 129 | 78 | 9071 | 4386 sec |
File | Name | Details |
---|---|---|
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-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 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 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.t | ERROR: client socket timed out - TEST 16: https (keepalive) |
' |
balancer.t | TEST 16: https (keepalive) - status code ok |
got: '' expected: '200' |
balancer.t | TEST 16: https (keepalive) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok' |
balancer.t | ERROR: client socket timed out - TEST 16: https (keepalive) |
' |
balancer.t | TEST 16: https (keepalive) - status code ok |
got: '' expected: '200' |
balancer.t | TEST 16: https (keepalive) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok' |
balancer.t | ERROR: client socket timed out - TEST 17: https (no keepalive) |
' |
balancer.t | TEST 17: https (no keepalive) - status code ok |
got: '' expected: '200' |
balancer.t | TEST 17: https (no keepalive) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok' |
balancer.t | ERROR: client socket timed out - TEST 17: https (no keepalive) |
' |
balancer.t | TEST 17: https (no keepalive) - status code ok |
got: '' expected: '200' |
balancer.t | TEST 17: https (no keepalive) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok' |
ctx.t | ERROR: client socket timed out - TEST 3: ngx.ctx in ssl_certificate_by_lua |
' |
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 | ERROR: client socket timed out - TEST 3: ngx.ctx in ssl_certificate_by_lua |
' |
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: "lua release ngx.ctx at ref 1\x{0a}" length: 29 expected: ..."tx at ref 2\x{0a}lua release ngx.ctx at ref 2\x{0a}lua relea"... length: 174 strings begin to differ at char 28 (line 1 column 28) |
ctx.t | ERROR: client socket timed out - TEST 6: ngx.ctx in ssl_session_store_by_lua |
' |
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 - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 0) | |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==31247== Invalid read of size 4 ==31247== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31247== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31247== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31247== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31247== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31247== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31247== by 0x4084A29: lua_resume (lj_api.c:1296) ==31247== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31247== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31247== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31247== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31247== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31247== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31247== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31247== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31247== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31247== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31247== by 0x8065F7E: main (nginx.c:382) ==31247== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31247== { <insert_a_suppression_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 |
==31247== ==31247== Process terminating with default action of signal 11 (SIGSEGV) ==31247== Access not within mapped region at address 0x0 ==31247== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31247== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31247== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31247== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31247== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31247== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31247== by 0x4084A29: lua_resume (lj_api.c:1296) ==31247== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31247== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31247== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31247== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31247== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31247== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31247== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31247== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31247== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31247== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31247== by 0x8065F7E: main (nginx.c:382) ==31247== If you believe this happened as a result of a stack ==31247== overflow in your program's main thread (unlikely but ==31247== possible), you can try to increase the size of the ==31247== main thread stack using the --main-stacksize= flag. ==31247== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}" length: 50 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 6: ngx.ctx in ssl_session_store_by_lua - grep_error_log_out (req 1) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"... length: 174 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | ERROR: client socket timed out - TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) |
' |
ctx.t | TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - status code ok |
got: '' expected: '200' |
ctx.t | TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "closed\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - grep_error_log_out (req 0) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 1\x{0a}" length: 29 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - grep_error_log_out (req 1) |
got: "lua release ngx.ctx at ref 1\x{0a}" length: 29 expected: ..." at ref 1\x{0a}lua release ngx.ctx at ref 1\x{0a}"... length: 58 strings begin to differ at char 30 (line 2 column 1) |
ctx.t | ERROR: client socket timed out - TEST 11: overwrite values will only take affect in the current http request |
' |
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 | ERROR: client socket timed out - TEST 11: overwrite values will only take affect in the current http request |
' |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - status code ok |
got: '' expected: '200' |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "received: 0\x{0a}received: 0\x{0a}" length: 24 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 11: overwrite values will only take affect in the current http request - Can't connect to 127.0.0.1:1984: Connection refused |
==31249== Invalid read of size 4 ==31249== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31249== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31249== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31249== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31249== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31249== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31249== by 0x4084A29: lua_resume (lj_api.c:1296) ==31249== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31249== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31249== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31249== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31249== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31249== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31249== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31249== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31249== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31249== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31249== by 0x8065F7E: main (nginx.c:382) ==31249== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31249== { <insert_a_suppression_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 |
==31249== ==31249== Process terminating with default action of signal 11 (SIGSEGV) ==31249== Access not within mapped region at address 0x0 ==31249== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31249== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31249== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31249== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31249== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31249== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31249== by 0x4084A29: lua_resume (lj_api.c:1296) ==31249== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31249== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31249== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31249== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31249== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31249== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31249== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31249== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31249== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31249== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31249== by 0x8065F7E: main (nginx.c:382) ==31249== If you believe this happened as a result of a stack ==31249== overflow in your program's main thread (unlikely but ==31249== possible), you can try to increase the size of the ==31249== main thread stack using the --main-stacksize= flag. ==31249== The main thread stack size used in this run was 8388608. |
ctx.t | ERROR: client socket timed out - TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) |
' |
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 | ERROR: client socket timed out - TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) |
' |
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 | ERROR: client socket timed out - TEST 8: ngx.ctx in ssl_session_fetch_by_lua |
' |
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 |
==31253== Invalid read of size 4 ==31253== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31253== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31253== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31253== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31253== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31253== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31253== by 0x4084A29: lua_resume (lj_api.c:1296) ==31253== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31253== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31253== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31253== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31253== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31253== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31253== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31253== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31253== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31253== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31253== by 0x8065F7E: main (nginx.c:382) ==31253== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31253== { <insert_a_suppression_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 |
==31253== ==31253== Process terminating with default action of signal 11 (SIGSEGV) ==31253== Access not within mapped region at address 0x0 ==31253== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31253== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31253== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31253== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31253== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31253== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31253== by 0x4084A29: lua_resume (lj_api.c:1296) ==31253== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31253== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31253== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31253== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31253== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31253== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31253== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31253== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31253== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31253== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31253== by 0x8065F7E: main (nginx.c:382) ==31253== If you believe this happened as a result of a stack ==31253== overflow in your program's main thread (unlikely but ==31253== possible), you can try to increase the size of the ==31253== main thread stack using the --main-stacksize= flag. ==31253== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua - status code ok |
got: '' expected: '200' |
ctx.t | TEST 8: ngx.ctx in ssl_session_fetch_by_lua - grep_error_log_out (req 1) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 2\x{0a}received: 42\x{0a}received"... length: 137 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | ERROR: client socket timed out - TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) |
' |
ctx.t | TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - status code ok |
got: '' expected: '200' |
ctx.t | TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "closed\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - grep_error_log_out (req 1) |
got: "" length: 0 expected: "lua release ngx.ctx at ref 1\x{0a}" length: 29 strings begin to differ at char 1 (line 1 column 1) |
ctx.t | ERROR: client socket timed out - TEST 10: ngx.ctx in ssl* and other phases |
' |
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 |
==31255== Invalid read of size 4 ==31255== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31255== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31255== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31255== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31255== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31255== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31255== by 0x4084A29: lua_resume (lj_api.c:1296) ==31255== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31255== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31255== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31255== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31255== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31255== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31255== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31255== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31255== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31255== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31255== by 0x8065F7E: main (nginx.c:382) ==31255== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==31255== { <insert_a_suppression_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 |
==31255== ==31255== Process terminating with default action of signal 11 (SIGSEGV) ==31255== Access not within mapped region at address 0x0 ==31255== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==31255== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==31255== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==31255== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==31255== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==31255== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==31255== by 0x4084A29: lua_resume (lj_api.c:1296) ==31255== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==31255== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==31255== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==31255== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==31255== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==31255== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==31255== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==31255== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==31255== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==31255== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==31255== by 0x8065F7E: main (nginx.c:382) ==31255== If you believe this happened as a result of a stack ==31255== overflow in your program's main thread (unlikely but ==31255== possible), you can try to increase the size of the ==31255== main thread stack using the --main-stacksize= flag. ==31255== The main thread stack size used in this run was 8388608. |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - status code ok |
got: '' expected: '200' |
ctx.t | TEST 10: ngx.ctx in ssl* and other phases - grep_error_log_out (req 1) |
got: "lua release ngx.ctx at ref 1\x{0a}" length: 29 expected: ..."tx at ref 2\x{0a}received: 102\x{0a}lua release ngx.ctx at r"... length: 230 strings begin to differ at char 28 (line 1 column 28) |
ocsp.t | ERROR: client socket timed out - TEST 17: no status req from client |
' |
ocsp.t | TEST 17: no status req from client - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 17: no status req from client - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 17: no status req from client |
' |
ocsp.t | TEST 17: no status req from client - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 17: no status req from client - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 11: fail to validate OCSP response - no issuer cert |
' |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 11: fail to validate OCSP response - no issuer cert |
' |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 1: get OCSP responder (good case) |
' |
ocsp.t | TEST 1: get OCSP responder (good case) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 1: get OCSP responder (good case) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 1: get OCSP responder (good case) |
' |
ocsp.t | TEST 1: get OCSP responder (good case) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 1: get OCSP responder (good case) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 7: create OCSP request (buffer too small) |
' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 7: create OCSP request (buffer too small) |
' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 12: validate good OCSP response - no certs in response |
' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 12: validate good OCSP response - no certs in response |
' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 2: get OCSP responder (not found) |
' |
ocsp.t | TEST 2: get OCSP responder (not found) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 2: get OCSP responder (not found) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 2: get OCSP responder (not found) |
' |
ocsp.t | TEST 2: get OCSP responder (not found) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 2: get OCSP responder (not found) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert |
' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert |
' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 9: create OCSP request (no issuer cert in the chain) |
' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 9: create OCSP request (no issuer cert in the chain) |
' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 16: good status req from client |
' |
ocsp.t | TEST 16: good status req from client - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 16: good status req from client - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 16: good status req from client |
' |
ocsp.t | TEST 16: good status req from client - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 16: good status req from client - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 4: get OCSP responder (issuer cert not next to the leaf cert) |
' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 4: get OCSP responder (issuer cert not next to the leaf cert) |
' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert |
' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert |
' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 5: get OCSP responder (truncated) |
' |
ocsp.t | TEST 5: get OCSP responder (truncated) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 5: get OCSP responder (truncated) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 5: get OCSP responder (truncated) |
' |
ocsp.t | TEST 5: get OCSP responder (truncated) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 5: get OCSP responder (truncated) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 10: validate good OCSP response |
' |
ocsp.t | TEST 10: validate good OCSP response - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 10: validate good OCSP response - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 10: validate good OCSP response |
' |
ocsp.t | TEST 10: validate good OCSP response - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 10: validate good OCSP response - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 6: create OCSP request (good) |
' |
ocsp.t | TEST 6: create OCSP request (good) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 6: create OCSP request (good) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 6: create OCSP request (good) |
' |
ocsp.t | TEST 6: create OCSP request (good) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 6: create OCSP request (good) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 3: get OCSP responder (no issuer cert at all) |
' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
ocsp.t | ERROR: client socket timed out - TEST 3: get OCSP responder (no issuer cert at all) |
' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - status code ok |
got: '' expected: '200' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -connected: 1 -ssl handshake: userdata ' |
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-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,9 @@ reading any -world -more +w reading 3 -dat +orl reading line -a +d reading all +moredata data ' |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
got: 'h ' expected: 'helloworld ' |
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:13:09 [error] 31782\#0: *2 lua entry thread aborted: runtime error: init_worker_by_lua:14: API disabled in the context of ngx.timer +stack traceback: +coroutine 0: + [C]: in function 'say' + init_worker_by_lua:14: in function <init_worker_by_lua:2>, context: ngx.timer + ' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,7 @@ -stdout: ok +stdout err: timeout -stderr err: closed +stderr: 2020/10/27 04:13:10 [error] 31785\#0: *2 lua entry thread aborted: runtime error: init_worker_by_lua:14: API disabled in the context of ngx.timer +stack traceback: +coroutine 0: + [C]: in function 'say' + init_worker_by_lua:14: in function <init_worker_by_lua:2>, context: ngx.timer + ' |
pipe-stdout.t | ERROR: client socket timed out - TEST 20: read process, with yield, read more partial data than preallocated buffer |
' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -closed -ok ' |
pipe-stdout.t | ERROR: client socket timed out - TEST 20: read process, with yield, read more partial data than preallocated buffer |
' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -closed -ok ' |
pipe-stdout.t | ERROR: client socket timed out - TEST 17: read process, without yield, read more data than preallocated buffer |
' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe-stdout.t | ERROR: client socket timed out - TEST 18: read process, without yield, read more partial data than preallocated buffer |
' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -closed -ok ' |
pipe-stdout.t | ERROR: client socket timed out - TEST 19: read process, with yield, read more data than preallocated buffer |
' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe-stdout.t | ERROR: client socket timed out - TEST 19: read process, with yield, read more data than preallocated buffer |
' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
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-stdout.t | TEST 16: read process, without yield, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
got: 'h ' expected: 'helloworld ' |
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 ' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
semaphore.t | ERROR: client socket timed out - TEST 36: basic semaphore_mm free insert head |
' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 0) | |
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) | |
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-fetch.t | ERROR: client socket timed out - TEST 2: attempt to fetch new session in lua_ctx during resumption. |
' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 2: attempt to fetch new session in lua_ctx during resumption. |
' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 3: store new session, and resume it |
' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 3: store new session, and resume it |
' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 1: get resume session id serialized |
' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 1: get resume session id serialized |
' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 6: store new session, and resume it, avoid memory leak when calling repeatly |
' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 6: store new session, and resume it, avoid memory leak when calling repeatly |
' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 4: attempt to resume a corrupted session |
' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-fetch.t | ERROR: client socket timed out - TEST 4: attempt to resume a corrupted session |
' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - status code ok |
got: '' expected: '200' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-store.t | ERROR: client socket timed out - TEST 1: get new session serialized |
' |
ssl-session-store.t | TEST 1: get new session serialized - status code ok |
got: '' expected: '200' |
ssl-session-store.t | TEST 1: get new session serialized - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-store.t | ERROR: client socket timed out - TEST 1: get new session serialized |
' |
ssl-session-store.t | TEST 1: get new session serialized - status code ok |
got: '' expected: '200' |
ssl-session-store.t | TEST 1: get new session serialized - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-store.t | ERROR: client socket timed out - TEST 3: store the session via timer to memcached |
' |
ssl-session-store.t | TEST 3: store the session via timer to memcached - status code ok |
got: '' expected: '200' |
ssl-session-store.t | TEST 3: store the session via timer to memcached - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-store.t | ERROR: client socket timed out - TEST 2: get new session id serialized |
' |
ssl-session-store.t | TEST 2: get new session id serialized - status code ok |
got: '' expected: '200' |
ssl-session-store.t | TEST 2: get new session id serialized - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl-session-store.t | ERROR: client socket timed out - TEST 2: get new session id serialized |
' |
ssl-session-store.t | TEST 2: get new session id serialized - status code ok |
got: '' expected: '200' |
ssl-session-store.t | TEST 2: get new session id serialized - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1 -ssl handshake: userdata -close: 1 nil ' |
ssl.t | ERROR: client socket timed out - TEST 12: tls version - TLSv1.1 |
' |
ssl.t | TEST 12: tls version - TLSv1.1 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 12: tls version - TLSv1.1 |
' |
ssl.t | TEST 12: tls version - TLSv1.1 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 14: ngx.semaphore in ssl_certificate_by_lua* |
' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 14: ngx.semaphore in ssl_certificate_by_lua* |
' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 26: read server port via ssl.server_port() with ipv4 |
' |
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 | ERROR: client socket timed out - TEST 26: read server port via ssl.server_port() with ipv4 |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==411== Invalid read of size 4 ==411== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==411== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==411== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==411== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==411== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==411== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==411== by 0x4084A29: lua_resume (lj_api.c:1296) ==411== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==411== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==411== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==411== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==411== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==411== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==411== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==411== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==411== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==411== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==411== by 0x8065F7E: main (nginx.c:382) ==411== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==411== { <insert_a_suppression_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 |
==411== ==411== Process terminating with default action of signal 11 (SIGSEGV) ==411== Access not within mapped region at address 0x0 ==411== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==411== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==411== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==411== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==411== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==411== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==411== by 0x4084A29: lua_resume (lj_api.c:1296) ==411== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==411== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==411== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==411== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==411== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==411== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==411== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==411== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==411== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==411== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==411== by 0x8065F7E: main (nginx.c:382) ==411== If you believe this happened as a result of a stack ==411== overflow in your program's main thread (unlikely but ==411== possible), you can try to increase the size of the ==411== main thread stack using the --main-stacksize= flag. ==411== The main thread stack size used in this run was 8388608. |
ssl.t | ERROR: client socket timed out - TEST 13: tls version - TLSv1.2 |
' |
ssl.t | TEST 13: tls version - TLSv1.2 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 13: tls version - TLSv1.2 |
' |
ssl.t | TEST 13: tls version - TLSv1.2 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
' |
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 | ERROR: client socket timed out - TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) |
' |
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) - Can't connect to 127.0.0.1:1984: Connection refused |
==417== Invalid read of size 4 ==417== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==417== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==417== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==417== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==417== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==417== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==417== by 0x4084A29: lua_resume (lj_api.c:1296) ==417== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==417== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==417== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==417== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==417== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==417== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==417== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==417== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==417== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==417== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==417== by 0x8065F7E: main (nginx.c:382) ==417== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==417== { <insert_a_suppression_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 |
==417== ==417== Process terminating with default action of signal 11 (SIGSEGV) ==417== Access not within mapped region at address 0x0 ==417== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==417== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==417== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==417== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==417== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==417== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==417== by 0x4084A29: lua_resume (lj_api.c:1296) ==417== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==417== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==417== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==417== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==417== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==417== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==417== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==417== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==417== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==417== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==417== by 0x8065F7E: main (nginx.c:382) ==417== If you believe this happened as a result of a stack ==417== overflow in your program's main thread (unlikely but ==417== possible), you can try to increase the size of the ==417== main thread stack using the --main-stacksize= flag. ==417== The main thread stack size used in this run was 8388608. |
ssl.t | ERROR: client socket timed out - TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
' |
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 | ERROR: client socket timed out - TEST 4: read SNI name via ssl.server_name() when no SNI name specified |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==418== Invalid read of size 4 ==418== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==418== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==418== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==418== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==418== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==418== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==418== by 0x4084A29: lua_resume (lj_api.c:1296) ==418== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==418== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==418== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==418== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==418== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==418== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==418== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==418== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==418== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==418== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==418== by 0x8065F7E: main (nginx.c:382) ==418== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==418== { <insert_a_suppression_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 |
==418== ==418== Process terminating with default action of signal 11 (SIGSEGV) ==418== Access not within mapped region at address 0x0 ==418== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==418== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==418== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==418== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==418== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==418== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==418== by 0x4084A29: lua_resume (lj_api.c:1296) ==418== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==418== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==418== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==418== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==418== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==418== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==418== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==418== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==418== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==418== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==418== by 0x8065F7E: main (nginx.c:382) ==418== If you believe this happened as a result of a stack ==418== overflow in your program's main thread (unlikely but ==418== possible), you can try to increase the size of the ==418== main thread stack using the --main-stacksize= flag. ==418== The main thread stack size used in this run was 8388608. |
ssl.t | ERROR: client socket timed out - TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
' |
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 | ERROR: client socket timed out - TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) |
' |
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) - Can't connect to 127.0.0.1:1984: Connection refused |
==419== Invalid read of size 4 ==419== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==419== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==419== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==419== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==419== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==419== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==419== by 0x4084A29: lua_resume (lj_api.c:1296) ==419== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==419== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==419== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==419== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==419== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==419== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==419== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==419== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==419== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==419== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==419== by 0x8065F7E: main (nginx.c:382) ==419== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==419== { <insert_a_suppression_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 |
==419== ==419== Process terminating with default action of signal 11 (SIGSEGV) ==419== Access not within mapped region at address 0x0 ==419== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==419== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==419== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==419== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==419== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==419== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==419== by 0x4084A29: lua_resume (lj_api.c:1296) ==419== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==419== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==419== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==419== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==419== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==419== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==419== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==419== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==419== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==419== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==419== by 0x8065F7E: main (nginx.c:382) ==419== If you believe this happened as a result of a stack ==419== overflow in your program's main thread (unlikely but ==419== possible), you can try to increase the size of the ==419== main thread stack using the --main-stacksize= flag. ==419== The main thread stack size used in this run was 8388608. |
ssl.t | ERROR: client socket timed out - TEST 8: set DER cert chain |
' |
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 | ERROR: client socket timed out - TEST 8: set DER cert chain |
' |
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 | ERROR: client socket timed out - TEST 2: set DER cert and private key |
' |
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 | ERROR: client socket timed out - TEST 2: set DER cert and private key |
' |
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 | ERROR: client socket timed out - TEST 27: read server port via ssl.server_port() with unix domain socket |
' |
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 | ERROR: client socket timed out - TEST 27: read server port via ssl.server_port() with unix domain socket |
' |
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 - Can't connect to 127.0.0.1:1984: Connection refused |
==422== Invalid read of size 4 ==422== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==422== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==422== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==422== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==422== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==422== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==422== by 0x4084A29: lua_resume (lj_api.c:1296) ==422== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==422== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==422== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==422== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==422== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==422== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==422== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==422== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==422== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==422== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==422== by 0x8065F7E: main (nginx.c:382) ==422== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==422== { <insert_a_suppression_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 |
==422== ==422== Process terminating with default action of signal 11 (SIGSEGV) ==422== Access not within mapped region at address 0x0 ==422== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==422== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==422== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==422== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==422== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==422== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==422== by 0x4084A29: lua_resume (lj_api.c:1296) ==422== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==422== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==422== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==422== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==422== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==422== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==422== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==422== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==422== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==422== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==422== by 0x8065F7E: main (nginx.c:382) ==422== If you believe this happened as a result of a stack ==422== overflow in your program's main thread (unlikely but ==422== possible), you can try to increase the size of the ==422== main thread stack using the --main-stacksize= flag. ==422== The main thread stack size used in this run was 8388608. |
ssl.t | ERROR: client socket timed out - TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) |
' |
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 | ERROR: client socket timed out - TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) |
' |
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) - Can't connect to 127.0.0.1:1984: Connection refused |
==423== Invalid read of size 4 ==423== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==423== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==423== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==423== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==423== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==423== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==423== by 0x4084A29: lua_resume (lj_api.c:1296) ==423== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==423== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==423== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==423== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==423== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==423== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==423== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==423== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==423== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==423== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==423== by 0x8065F7E: main (nginx.c:382) ==423== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==423== { <insert_a_suppression_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 |
==423== ==423== Process terminating with default action of signal 11 (SIGSEGV) ==423== Access not within mapped region at address 0x0 ==423== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==423== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==423== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==423== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==423== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==423== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==423== by 0x4084A29: lua_resume (lj_api.c:1296) ==423== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==423== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==423== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==423== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==423== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==423== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==423== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==423== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==423== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==423== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==423== by 0x8065F7E: main (nginx.c:382) ==423== If you believe this happened as a result of a stack ==423== overflow in your program's main thread (unlikely but ==423== possible), you can try to increase the size of the ==423== main thread stack using the --main-stacksize= flag. ==423== The main thread stack size used in this run was 8388608. |
ssl.t | ERROR: client socket timed out - TEST 10: tls version - SSLv3 |
' |
ssl.t | TEST 10: tls version - SSLv3 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 3: read SNI name via ssl.server_name() |
' |
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 | ERROR: client socket timed out - TEST 3: read SNI name via ssl.server_name() |
' |
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() - Can't connect to 127.0.0.1:1984: Connection refused |
==425== Invalid read of size 4 ==425== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==425== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==425== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==425== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==425== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==425== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==425== by 0x4084A29: lua_resume (lj_api.c:1296) ==425== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==425== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==425== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==425== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==425== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==425== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==425== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==425== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==425== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==425== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==425== by 0x8065F7E: main (nginx.c:382) ==425== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==425== { <insert_a_suppression_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 |
==425== ==425== Process terminating with default action of signal 11 (SIGSEGV) ==425== Access not within mapped region at address 0x0 ==425== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==425== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==425== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==425== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==425== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==425== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==425== by 0x4084A29: lua_resume (lj_api.c:1296) ==425== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==425== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==425== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==425== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==425== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==425== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==425== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==425== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==425== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==425== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==425== by 0x8065F7E: main (nginx.c:382) ==425== If you believe this happened as a result of a stack ==425== overflow in your program's main thread (unlikely but ==425== possible), you can try to increase the size of the ==425== main thread stack using the --main-stacksize= flag. ==425== The main thread stack size used in this run was 8388608. |
ssl.t | ERROR: client socket timed out - TEST 9: read PEM cert chain but set DER cert chain |
' |
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 | ERROR: client socket timed out - TEST 9: read PEM cert chain but set DER cert chain |
' |
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 | ERROR: client socket timed out - TEST 24: verify client without CA certificates |
' |
ssl.t | TEST 24: verify client without CA certificates - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 24: verify client without CA certificates |
' |
ssl.t | TEST 24: verify client without CA certificates - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 15: read PEM key chain but set DER key chain |
' |
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 | ERROR: client socket timed out - TEST 15: read PEM key chain but set DER key chain |
' |
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 | ERROR: client socket timed out - TEST 16: parse PEM cert and key to cdata |
' |
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 | ERROR: client socket timed out - TEST 16: parse PEM cert and key to cdata |
' |
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 | ERROR: client socket timed out - TEST 25: verify client but client provides no certificate |
' |
ssl.t | TEST 25: verify client but client provides no certificate - status code ok |
got: '' expected: '200' |
ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'NONE ' |
ssl.t | ERROR: client socket timed out - TEST 25: verify client but client provides no certificate |
' |
ssl.t | TEST 25: verify client but client provides no certificate - status code ok |
got: '' expected: '200' |
ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'NONE ' |
ssl.t | ERROR: client socket timed out - TEST 11: tls version - TLSv1 |
' |
ssl.t | TEST 11: tls version - TLSv1 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 11: tls version - TLSv1 |
' |
ssl.t | TEST 11: tls version - TLSv1 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 23: verify client with CA certificates |
' |
ssl.t | TEST 23: verify client with CA certificates - status code ok |
got: '' expected: '200' |
ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'SUCCESS ' |
ssl.t | ERROR: client socket timed out - TEST 23: verify client with CA certificates |
' |
ssl.t | TEST 23: verify client with CA certificates - status code ok |
got: '' expected: '200' |
ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'SUCCESS ' |
ssl.t | ERROR: client socket timed out - TEST 22: tls version - TLSv1.3 |
' |
ssl.t | TEST 22: tls version - TLSv1.3 - status code ok |
got: '' expected: '200' |
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 ' |
ssl.t | ERROR: client socket timed out - TEST 20: read client addr via ssl.raw_client_addr() |
' |
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 | ERROR: client socket timed out - TEST 20: read client addr via ssl.raw_client_addr() |
' |
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() - Can't connect to 127.0.0.1:1984: Connection refused |
==445== Invalid read of size 4 ==445== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==445== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==445== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==445== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==445== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==445== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==445== by 0x4084A29: lua_resume (lj_api.c:1296) ==445== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==445== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==445== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==445== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==445== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==445== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==445== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==445== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==445== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==445== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==445== by 0x8065F7E: main (nginx.c:382) ==445== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==445== { <insert_a_suppression_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 |
==445== ==445== Process terminating with default action of signal 11 (SIGSEGV) ==445== Access not within mapped region at address 0x0 ==445== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==445== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==445== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==445== by 0x8153533: ngx_http_lua_socket_tcp_receive_helper (ngx_http_lua_socket_tcp.c:2111) ==445== by 0x8153C80: ngx_http_lua_socket_tcp_receive (ngx_http_lua_socket_tcp.c:2354) ==445== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==445== by 0x4084A29: lua_resume (lj_api.c:1296) ==445== by 0x8141294: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164) ==445== by 0x814D573: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6000) ==445== by 0x814D651: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:5906) ==445== by 0x814524C: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==445== by 0x814B398: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3460) ==445== by 0x814F62F: ngx_http_lua_ssl_handshake_handler (ngx_http_lua_socket_tcp.c:1901) ==445== by 0x8095D20: ngx_ssl_handshake_handler (ngx_event_openssl.c:1986) ==445== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==445== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==445== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==445== by 0x8065F7E: main (nginx.c:382) ==445== If you believe this happened as a result of a stack ==445== overflow in your program's main thread (unlikely but ==445== possible), you can try to increase the size of the ==445== main thread stack using the --main-stacksize= flag. ==445== The main thread stack size used in this run was 8388608. |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==454== Invalid read of size 4 ==454== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==454== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==454== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==454== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==454== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==454== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==454== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==454== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==454== by 0x8065F7E: main (nginx.c:382) ==454== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==454== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==454== ==454== Process terminating with default action of signal 11 (SIGSEGV) ==454== Access not within mapped region at address 0x0 ==454== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==454== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==454== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==454== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==454== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==454== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==454== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==454== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==454== by 0x8065F7E: main (nginx.c:382) ==454== If you believe this happened as a result of a stack ==454== overflow in your program's main thread (unlikely but ==454== possible), you can try to increase the size of the ==454== main thread stack using the --main-stacksize= flag. ==454== 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 7: set send timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==456== Invalid read of size 4 ==456== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==456== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==456== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==456== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==456== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==456== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==456== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==456== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==456== by 0x8065F7E: main (nginx.c:382) ==456== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==456== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==456== ==456== Process terminating with default action of signal 11 (SIGSEGV) ==456== Access not within mapped region at address 0x0 ==456== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==456== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==456== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==456== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==456== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==456== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==456== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==456== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==456== by 0x8065F7E: main (nginx.c:382) ==456== If you believe this happened as a result of a stack ==456== overflow in your program's main thread (unlikely but ==456== possible), you can try to increase the size of the ==456== main thread stack using the --main-stacksize= flag. ==456== 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 3: set_timeouts (nil send timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==458== Invalid read of size 4 ==458== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==458== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==458== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==458== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==458== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==458== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==458== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==458== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==458== by 0x8065F7E: main (nginx.c:382) ==458== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==458== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==458== ==458== Process terminating with default action of signal 11 (SIGSEGV) ==458== Access not within mapped region at address 0x0 ==458== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==458== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==458== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==458== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==458== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==458== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==458== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==458== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==458== by 0x8065F7E: main (nginx.c:382) ==458== If you believe this happened as a result of a stack ==458== overflow in your program's main thread (unlikely but ==458== possible), you can try to increase the size of the ==458== main thread stack using the --main-stacksize= flag. ==458== 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 12: set_timeouts called with a non-numerical parameter - Can't connect to 127.0.0.1:1984: Connection refused |
==460== Invalid read of size 4 ==460== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==460== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==460== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==460== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==460== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==460== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==460== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==460== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==460== by 0x8065F7E: main (nginx.c:382) ==460== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==460== ==460== Process terminating with default action of signal 11 (SIGSEGV) ==460== Access not within mapped region at address 0x0 ==460== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==460== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==460== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==460== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==460== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==460== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==460== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==460== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==460== by 0x8065F7E: main (nginx.c:382) ==460== If you believe this happened as a result of a stack ==460== overflow in your program's main thread (unlikely but ==460== possible), you can try to increase the size of the ==460== main thread stack using the --main-stacksize= flag. ==460== 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 4: set_timeouts (nil read timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==462== Invalid read of size 4 ==462== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==462== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==462== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==462== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==462== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==462== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==462== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==462== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==462== by 0x8065F7E: main (nginx.c:382) ==462== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==462== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==462== ==462== Process terminating with default action of signal 11 (SIGSEGV) ==462== Access not within mapped region at address 0x0 ==462== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==462== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==462== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==462== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==462== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==462== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==462== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==462== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==462== by 0x8065F7E: main (nginx.c:382) ==462== If you believe this happened as a result of a stack ==462== overflow in your program's main thread (unlikely but ==462== possible), you can try to increase the size of the ==462== main thread stack using the --main-stacksize= flag. ==462== 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 1: set_timeouts - Can't connect to 127.0.0.1:1984: Connection refused |
==464== Invalid read of size 4 ==464== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==464== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==464== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==464== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==464== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==464== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==464== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==464== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==464== by 0x8065F7E: main (nginx.c:382) ==464== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==464== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==464== ==464== Process terminating with default action of signal 11 (SIGSEGV) ==464== Access not within mapped region at address 0x0 ==464== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==464== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==464== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==464== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==464== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==464== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==464== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==464== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==464== by 0x8065F7E: main (nginx.c:382) ==464== If you believe this happened as a result of a stack ==464== overflow in your program's main thread (unlikely but ==464== possible), you can try to increase the size of the ==464== main thread stack using the --main-stacksize= flag. ==464== 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-timeout.t | TEST 9: set read timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==466== Invalid read of size 4 ==466== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==466== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==466== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==466== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==466== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==466== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==466== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==466== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==466== by 0x8065F7E: main (nginx.c:382) ==466== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==466== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==466== ==466== Process terminating with default action of signal 11 (SIGSEGV) ==466== Access not within mapped region at address 0x0 ==466== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==466== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==466== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==466== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==466== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==466== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==466== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==466== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==466== by 0x8065F7E: main (nginx.c:382) ==466== If you believe this happened as a result of a stack ==466== overflow in your program's main thread (unlikely but ==466== possible), you can try to increase the size of the ==466== main thread stack using the --main-stacksize= flag. ==466== 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 9: set read timeout to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==468== Invalid read of size 4 ==468== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==468== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==468== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==468== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==468== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==468== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==468== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==468== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==468== by 0x8065F7E: main (nginx.c:382) ==468== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==468== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==468== ==468== Process terminating with default action of signal 11 (SIGSEGV) ==468== Access not within mapped region at address 0x0 ==468== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==468== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==468== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==468== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==468== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==468== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==468== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==468== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==468== by 0x8065F7E: main (nginx.c:382) ==468== If you believe this happened as a result of a stack ==468== overflow in your program's main thread (unlikely but ==468== possible), you can try to increase the size of the ==468== main thread stack using the --main-stacksize= flag. ==468== 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 8: set send timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==470== Invalid read of size 4 ==470== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==470== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==470== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==470== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==470== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==470== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==470== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==470== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==470== by 0x8065F7E: main (nginx.c:382) ==470== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==470== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==470== ==470== Process terminating with default action of signal 11 (SIGSEGV) ==470== Access not within mapped region at address 0x0 ==470== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==470== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==470== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==470== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==470== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==470== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==470== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==470== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==470== by 0x8065F7E: main (nginx.c:382) ==470== If you believe this happened as a result of a stack ==470== overflow in your program's main thread (unlikely but ==470== possible), you can try to increase the size of the ==470== main thread stack using the --main-stacksize= flag. ==470== 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 2: set_timeouts (nil connect timeout) - Can't connect to 127.0.0.1:1984: Connection refused |
==472== Invalid read of size 4 ==472== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==472== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==472== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==472== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==472== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==472== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==472== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==472== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==472== by 0x8065F7E: main (nginx.c:382) ==472== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==472== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==472== ==472== Process terminating with default action of signal 11 (SIGSEGV) ==472== Access not within mapped region at address 0x0 ==472== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==472== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==472== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==472== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==472== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==472== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==472== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==472== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==472== by 0x8065F7E: main (nginx.c:382) ==472== If you believe this happened as a result of a stack ==472== overflow in your program's main thread (unlikely but ==472== possible), you can try to increase the size of the ==472== main thread stack using the --main-stacksize= flag. ==472== 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 6: set connect timeout to -1 - Can't connect to 127.0.0.1:1984: Connection refused |
==474== Invalid read of size 4 ==474== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==474== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==474== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==474== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==474== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==474== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==474== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==474== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==474== by 0x8065F7E: main (nginx.c:382) ==474== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==474== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==474== ==474== Process terminating with default action of signal 11 (SIGSEGV) ==474== Access not within mapped region at address 0x0 ==474== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==474== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==474== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==474== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==474== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==474== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==474== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==474== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==474== by 0x8065F7E: main (nginx.c:382) ==474== If you believe this happened as a result of a stack ==474== overflow in your program's main thread (unlikely but ==474== possible), you can try to increase the size of the ==474== main thread stack using the --main-stacksize= flag. ==474== 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 11: set_timeouts called in a wrong context - Can't connect to 127.0.0.1:1984: Connection refused |
==476== Invalid read of size 4 ==476== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==476== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==476== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==476== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==476== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==476== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==476== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==476== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==476== by 0x8065F7E: main (nginx.c:382) ==476== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==476== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==476== ==476== Process terminating with default action of signal 11 (SIGSEGV) ==476== Access not within mapped region at address 0x0 ==476== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==476== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==476== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==476== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==476== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==476== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==476== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==476== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==476== by 0x8065F7E: main (nginx.c:382) ==476== If you believe this happened as a result of a stack ==476== overflow in your program's main thread (unlikely but ==476== possible), you can try to increase the size of the ==476== main thread stack using the --main-stacksize= flag. ==476== 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.t | TEST 1: set current peer (separate addr and port) - Can't connect to 127.0.0.1:1984: Connection refused |
==482== Invalid read of size 4 ==482== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==482== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==482== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==482== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==482== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==482== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==482== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==482== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==482== by 0x8065F7E: main (nginx.c:382) ==482== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==482== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==482== ==482== Process terminating with default action of signal 11 (SIGSEGV) ==482== Access not within mapped region at address 0x0 ==482== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==482== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==482== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==482== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==482== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==482== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==482== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==482== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==482== by 0x8065F7E: main (nginx.c:382) ==482== If you believe this happened as a result of a stack ==482== overflow in your program's main thread (unlikely but ==482== possible), you can try to increase the size of the ==482== main thread stack using the --main-stacksize= flag. ==482== 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 5: get last peer failure status (connect failed) - Can't connect to 127.0.0.1:1984: Connection refused |
==484== Invalid read of size 4 ==484== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==484== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==484== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==484== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==484== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==484== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==484== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==484== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==484== by 0x8065F7E: main (nginx.c:382) ==484== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==484== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==484== ==484== Process terminating with default action of signal 11 (SIGSEGV) ==484== Access not within mapped region at address 0x0 ==484== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==484== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==484== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==484== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==484== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==484== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==484== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==484== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==484== by 0x8065F7E: main (nginx.c:382) ==484== If you believe this happened as a result of a stack ==484== overflow in your program's main thread (unlikely but ==484== possible), you can try to increase the size of the ==484== main thread stack using the --main-stacksize= flag. ==484== 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 3: set current peer & next upstream (no retries) - Can't connect to 127.0.0.1:1984: Connection refused |
==486== Invalid read of size 4 ==486== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==486== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==486== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==486== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==486== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==486== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==486== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==486== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==486== by 0x8065F7E: main (nginx.c:382) ==486== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==486== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==486== ==486== Process terminating with default action of signal 11 (SIGSEGV) ==486== Access not within mapped region at address 0x0 ==486== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==486== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==486== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==486== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==486== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==486== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==486== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==486== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==486== by 0x8065F7E: main (nginx.c:382) ==486== If you believe this happened as a result of a stack ==486== overflow in your program's main thread (unlikely but ==486== possible), you can try to increase the size of the ==486== main thread stack using the --main-stacksize= flag. ==486== 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/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 |
==488== Invalid read of size 4 ==488== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==488== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==488== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==488== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==488== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==488== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==488== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==488== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==488== by 0x8065F7E: main (nginx.c:382) ==488== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==488== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==488== ==488== Process terminating with default action of signal 11 (SIGSEGV) ==488== Access not within mapped region at address 0x0 ==488== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==488== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==488== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==488== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==488== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==488== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==488== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==488== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==488== by 0x8065F7E: main (nginx.c:382) ==488== If you believe this happened as a result of a stack ==488== overflow in your program's main thread (unlikely but ==488== possible), you can try to increase the size of the ==488== main thread stack using the --main-stacksize= flag. ==488== 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 6: set current peer (port embedded in addr) - Can't connect to 127.0.0.1:1984: Connection refused |
==490== Invalid read of size 4 ==490== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==490== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==490== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==490== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==490== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==490== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==490== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==490== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==490== by 0x8065F7E: main (nginx.c:382) ==490== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==490== ==490== Process terminating with default action of signal 11 (SIGSEGV) ==490== Access not within mapped region at address 0x0 ==490== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==490== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==490== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==490== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==490== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==490== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==490== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==490== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==490== by 0x8065F7E: main (nginx.c:382) ==490== If you believe this happened as a result of a stack ==490== overflow in your program's main thread (unlikely but ==490== possible), you can try to increase the size of the ==490== main thread stack using the --main-stacksize= flag. ==490== 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 2: set current peer & next upstream (3 tries) - Can't connect to 127.0.0.1:1984: Connection refused |
==492== Invalid read of size 4 ==492== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==492== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==492== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==492== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==492== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==492== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==492== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==492== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==492== by 0x8065F7E: main (nginx.c:382) ==492== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==492== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==492== ==492== Process terminating with default action of signal 11 (SIGSEGV) ==492== Access not within mapped region at address 0x0 ==492== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==492== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==492== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==492== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==492== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==492== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==492== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==492== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==492== by 0x8065F7E: main (nginx.c:382) ==492== If you believe this happened as a result of a stack ==492== overflow in your program's main thread (unlikely but ==492== possible), you can try to increase the size of the ==492== main thread stack using the --main-stacksize= flag. ==492== 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/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 |
==498== Invalid read of size 4 ==498== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==498== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==498== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==498== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==498== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==498== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==498== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==498== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==498== by 0x8065F7E: main (nginx.c:382) ==498== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==498== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==498== ==498== Process terminating with default action of signal 11 (SIGSEGV) ==498== Access not within mapped region at address 0x0 ==498== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==498== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==498== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==498== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==498== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==498== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==498== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==498== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==498== by 0x8065F7E: main (nginx.c:382) ==498== If you believe this happened as a result of a stack ==498== overflow in your program's main thread (unlikely but ==498== possible), you can try to increase the size of the ==498== main thread stack using the --main-stacksize= flag. ==498== 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 | ERROR: client socket timed out - TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) |
' |
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 |
==500== Invalid read of size 4 ==500== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==500== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==500== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==500== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==500== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==500== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==500== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==500== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==500== by 0x8065F7E: main (nginx.c:382) ==500== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==500== ==500== Process terminating with default action of signal 11 (SIGSEGV) ==500== Access not within mapped region at address 0x0 ==500== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==500== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==500== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==500== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==500== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==500== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==500== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==500== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==500== by 0x8065F7E: main (nginx.c:382) ==500== If you believe this happened as a result of a stack ==500== overflow in your program's main thread (unlikely but ==500== possible), you can try to increase the size of the ==500== main thread stack using the --main-stacksize= flag. ==500== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'received: 1 ' |
stream/ctx.t | ERROR: client socket timed out - TEST 1: ngx.ctx in ssl_certificate_by_lua |
' |
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 |
==501== Invalid read of size 4 ==501== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==501== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==501== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==501== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==501== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==501== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==501== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==501== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==501== by 0x8065F7E: main (nginx.c:382) ==501== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==501== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==501== ==501== Process terminating with default action of signal 11 (SIGSEGV) ==501== Access not within mapped region at address 0x0 ==501== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==501== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==501== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==501== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==501== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==501== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==501== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==501== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==501== by 0x8065F7E: main (nginx.c:382) ==501== If you believe this happened as a result of a stack ==501== overflow in your program's main thread (unlikely but ==501== possible), you can try to increase the size of the ==501== main thread stack using the --main-stacksize= flag. ==501== The main thread stack size used in this run was 8388608. |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -received: 42 -received: 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 1) |
@@ -1,4 +1 @@ -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/errlog.t | TEST 23: the system default filter level is "debug" - Can't connect to 127.0.0.1:1984: Connection refused |
==529== Invalid read of size 4 ==529== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==529== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==529== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==529== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==529== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==529== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==529== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==529== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==529== by 0x8065F7E: main (nginx.c:382) ==529== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==529== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==529== ==529== Process terminating with default action of signal 11 (SIGSEGV) ==529== Access not within mapped region at address 0x0 ==529== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==529== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==529== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==529== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==529== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==529== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==529== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==529== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==529== by 0x8065F7E: main (nginx.c:382) ==529== If you believe this happened as a result of a stack ==529== overflow in your program's main thread (unlikely but ==529== possible), you can try to increase the size of the ==529== main thread stack using the --main-stacksize= flag. ==529== 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 |
==559== Invalid read of size 4 ==559== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==559== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==559== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==559== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==559== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==559== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==559== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==559== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==559== by 0x8065F7E: main (nginx.c:382) ==559== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==559== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==559== ==559== Process terminating with default action of signal 11 (SIGSEGV) ==559== Access not within mapped region at address 0x0 ==559== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==559== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==559== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==559== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==559== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==559== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==559== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==559== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==559== by 0x8065F7E: main (nginx.c:382) ==559== If you believe this happened as a result of a stack ==559== overflow in your program's main thread (unlikely but ==559== possible), you can try to increase the size of the ==559== main thread stack using the --main-stacksize= flag. ==559== 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 |
==561== Invalid read of size 4 ==561== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==561== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==561== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==561== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==561== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==561== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==561== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==561== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==561== by 0x8065F7E: main (nginx.c:382) ==561== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==561== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==561== ==561== Process terminating with default action of signal 11 (SIGSEGV) ==561== Access not within mapped region at address 0x0 ==561== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==561== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==561== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==561== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==561== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==561== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==561== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==561== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==561== by 0x8065F7E: main (nginx.c:382) ==561== If you believe this happened as a result of a stack ==561== overflow in your program's main thread (unlikely but ==561== possible), you can try to increase the size of the ==561== main thread stack using the --main-stacksize= flag. ==561== 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 |
==571== Invalid read of size 4 ==571== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==571== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==571== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==571== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==571== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==571== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==571== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==571== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==571== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==571== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==571== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==571== by 0x8065F8B: main (nginx.c:385) ==571== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==571== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==571== ==571== Process terminating with default action of signal 11 (SIGSEGV) ==571== Access not within mapped region at address 0x0 ==571== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==571== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==571== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==571== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==571== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==571== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==571== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==571== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==571== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==571== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==571== by 0x808EF58: ngx_master_process_cycle (ngx_process_cycle.c:135) ==571== by 0x8065F8B: main (nginx.c:385) ==571== If you believe this happened as a result of a stack ==571== overflow in your program's main thread (unlikely but ==571== possible), you can try to increase the size of the ==571== main thread stack using the --main-stacksize= flag. ==571== 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) |
==581== Invalid read of size 4 ==581== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==581== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==581== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==581== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==581== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==581== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==581== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==581== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==581== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==581== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==581== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==581== by 0x8065F8B: main (nginx.c:385) ==581== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==581== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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) |
==581== ==581== Process terminating with default action of signal 11 (SIGSEGV) ==581== Access not within mapped region at address 0x0 ==581== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==581== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==581== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==581== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==581== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==581== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==581== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==581== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==581== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==581== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==581== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==581== by 0x8065F8B: main (nginx.c:385) ==581== If you believe this happened as a result of a stack ==581== overflow in your program's main thread (unlikely but ==581== possible), you can try to increase the size of the ==581== main thread stack using the --main-stacksize= flag. ==581== 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) |
==613== Invalid read of size 4 ==613== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==613== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==613== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==613== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==613== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==613== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==613== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==613== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==613== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==613== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==613== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==613== by 0x8065F8B: main (nginx.c:385) ==613== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==613== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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) |
==613== ==613== Process terminating with default action of signal 11 (SIGSEGV) ==613== Access not within mapped region at address 0x0 ==613== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==613== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==613== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==613== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==613== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==613== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==613== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==613== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==613== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==613== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==613== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==613== by 0x8065F8B: main (nginx.c:385) ==613== If you believe this happened as a result of a stack ==613== overflow in your program's main thread (unlikely but ==613== possible), you can try to increase the size of the ==613== main thread stack using the --main-stacksize= flag. ==613== 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) |
==644== Invalid read of size 4 ==644== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==644== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==644== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==644== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==644== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==644== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==644== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==644== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==644== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==644== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==644== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==644== by 0x8065F8B: main (nginx.c:385) ==644== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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) |
==644== ==644== Process terminating with default action of signal 11 (SIGSEGV) ==644== Access not within mapped region at address 0x0 ==644== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==644== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==644== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==644== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==644== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==644== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==644== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==644== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==644== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==644== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==644== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==644== by 0x8065F8B: main (nginx.c:385) ==644== If you believe this happened as a result of a stack ==644== overflow in your program's main thread (unlikely but ==644== possible), you can try to increase the size of the ==644== main thread stack using the --main-stacksize= flag. ==644== 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) |
==674== Invalid read of size 4 ==674== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==674== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==674== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==674== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==674== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==674== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==674== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==674== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==674== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==674== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==674== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==674== by 0x8065F8B: main (nginx.c:385) ==674== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==674== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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) |
==674== ==674== Process terminating with default action of signal 11 (SIGSEGV) ==674== Access not within mapped region at address 0x0 ==674== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==674== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==674== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==674== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==674== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==674== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==674== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==674== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==674== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==674== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==674== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==674== by 0x8065F8B: main (nginx.c:385) ==674== If you believe this happened as a result of a stack ==674== overflow in your program's main thread (unlikely but ==674== possible), you can try to increase the size of the ==674== main thread stack using the --main-stacksize= flag. ==674== 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) |
==706== Invalid read of size 4 ==706== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==706== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==706== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==706== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==706== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==706== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==706== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==706== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==706== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==706== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==706== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==706== by 0x8065F8B: main (nginx.c:385) ==706== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==706== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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) |
==706== ==706== Process terminating with default action of signal 11 (SIGSEGV) ==706== Access not within mapped region at address 0x0 ==706== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==706== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==706== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==706== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==706== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==706== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==706== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==706== by 0x808E51C: ngx_worker_process_cycle (ngx_process_cycle.c:811) ==706== by 0x808CAA4: ngx_spawn_process (ngx_process.c:199) ==706== by 0x808D632: ngx_start_worker_processes (ngx_process_cycle.c:387) ==706== by 0x808F66B: ngx_master_process_cycle (ngx_process_cycle.c:241) ==706== by 0x8065F8B: main (nginx.c:385) ==706== If you believe this happened as a result of a stack ==706== overflow in your program's main thread (unlikely but ==706== possible), you can try to increase the size of the ==706== main thread stack using the --main-stacksize= flag. ==706== The main thread stack size used in this run was 8388608. |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "new\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 8: os.getenv() overwrite is reverted in worker phases - Can't connect to 127.0.0.1:1984: Connection refused |
==732== Invalid read of size 4 ==732== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==732== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==732== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==732== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==732== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==732== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==732== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==732== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==732== by 0x8065F7E: main (nginx.c:382) ==732== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==732== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==732== ==732== Process terminating with default action of signal 11 (SIGSEGV) ==732== Access not within mapped region at address 0x0 ==732== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==732== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==732== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==732== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==732== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==732== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==732== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==732== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==732== by 0x8065F7E: main (nginx.c:382) ==732== If you believe this happened as a result of a stack ==732== overflow in your program's main thread (unlikely but ==732== possible), you can try to increase the size of the ==732== main thread stack using the --main-stacksize= flag. ==732== 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 6: env explicit set vs environment set - Can't connect to 127.0.0.1:1984: Connection refused |
==733== Invalid read of size 4 ==733== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==733== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==733== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==733== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==733== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==733== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==733== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==733== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==733== by 0x8065F7E: main (nginx.c:382) ==733== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==733== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==733== ==733== Process terminating with default action of signal 11 (SIGSEGV) ==733== Access not within mapped region at address 0x0 ==733== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==733== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==733== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==733== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==733== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==733== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==733== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==733== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==733== by 0x8065F7E: main (nginx.c:382) ==733== If you believe this happened as a result of a stack ==733== overflow in your program's main thread (unlikely but ==733== possible), you can try to increase the size of the ==733== main thread stack using the --main-stacksize= flag. ==733== The main thread stack size used in this run was 8388608. |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "goodbye\x{0a}goodbye\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 7: env directive with empty value - Can't connect to 127.0.0.1:1984: Connection refused |
==734== Invalid read of size 4 ==734== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==734== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==734== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==734== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==734== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==734== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==734== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==734== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==734== by 0x8065F7E: main (nginx.c:382) ==734== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==734== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==734== ==734== Process terminating with default action of signal 11 (SIGSEGV) ==734== Access not within mapped region at address 0x0 ==734== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==734== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==734== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==734== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==734== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==734== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==734== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==734== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==734== by 0x8065F7E: main (nginx.c:382) ==734== If you believe this happened as a result of a stack ==734== overflow in your program's main thread (unlikely but ==734== possible), you can try to increase the size of the ==734== main thread stack using the --main-stacksize= flag. ==734== 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 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==735== Invalid read of size 4 ==735== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==735== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==735== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==735== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==735== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==735== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==735== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==735== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==735== by 0x8065F7E: main (nginx.c:382) ==735== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==735== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==735== ==735== Process terminating with default action of signal 11 (SIGSEGV) ==735== Access not within mapped region at address 0x0 ==735== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==735== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==735== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==735== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==735== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==735== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==735== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==735== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==735== by 0x8065F7E: main (nginx.c:382) ==735== If you believe this happened as a result of a stack ==735== overflow in your program's main thread (unlikely but ==735== possible), you can try to increase the size of the ==735== main thread stack using the --main-stacksize= flag. ==735== 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 5: env is visible from environment - Can't connect to 127.0.0.1:1984: Connection refused |
==736== Invalid read of size 4 ==736== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==736== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==736== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==736== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==736== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==736== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==736== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==736== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==736== by 0x8065F7E: main (nginx.c:382) ==736== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==736== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==736== ==736== Process terminating with default action of signal 11 (SIGSEGV) ==736== Access not within mapped region at address 0x0 ==736== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==736== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==736== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==736== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==736== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==736== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==736== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==736== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==736== by 0x8065F7E: main (nginx.c:382) ==736== If you believe this happened as a result of a stack ==736== overflow in your program's main thread (unlikely but ==736== possible), you can try to increase the size of the ==736== main thread stack using the --main-stacksize= flag. ==736== 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 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 |
==737== Invalid read of size 4 ==737== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==737== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==737== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==737== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==737== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==737== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==737== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==737== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==737== by 0x8065F7E: main (nginx.c:382) ==737== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==737== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==737== ==737== Process terminating with default action of signal 11 (SIGSEGV) ==737== Access not within mapped region at address 0x0 ==737== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==737== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==737== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==737== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==737== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==737== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==737== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==737== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==737== by 0x8065F7E: main (nginx.c:382) ==737== If you believe this happened as a result of a stack ==737== overflow in your program's main thread (unlikely but ==737== possible), you can try to increase the size of the ==737== main thread stack using the --main-stacksize= flag. ==737== 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 3: env directive explicit value is case-sensitive within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==738== Invalid read of size 4 ==738== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==738== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==738== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==738== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==738== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==738== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==738== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==738== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==738== by 0x8065F7E: main (nginx.c:382) ==738== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==738== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==738== ==738== Process terminating with default action of signal 11 (SIGSEGV) ==738== Access not within mapped region at address 0x0 ==738== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==738== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==738== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==738== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==738== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==738== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==738== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==738== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==738== by 0x8065F7E: main (nginx.c:382) ==738== If you believe this happened as a result of a stack ==738== overflow in your program's main thread (unlikely but ==738== possible), you can try to increase the size of the ==738== main thread stack using the --main-stacksize= flag. ==738== 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 4: env directives with no value are ignored - Can't connect to 127.0.0.1:1984: Connection refused |
==739== Invalid read of size 4 ==739== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==739== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==739== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==739== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==739== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==739== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==739== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==739== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==739== by 0x8065F7E: main (nginx.c:382) ==739== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==739== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==739== ==739== Process terminating with default action of signal 11 (SIGSEGV) ==739== Access not within mapped region at address 0x0 ==739== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==739== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==739== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==739== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==739== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==739== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==739== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==739== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==739== by 0x8065F7E: main (nginx.c:382) ==739== If you believe this happened as a result of a stack ==739== overflow in your program's main thread (unlikely but ==739== possible), you can try to increase the size of the ==739== main thread stack using the --main-stacksize= flag. ==739== 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 9: os.getenv() can be localized after loading resty.core - Can't connect to 127.0.0.1:1984: Connection refused |
==740== Invalid read of size 4 ==740== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==740== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==740== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==740== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==740== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==740== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==740== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==740== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==740== by 0x8065F7E: main (nginx.c:382) ==740== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==740== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==740== ==740== Process terminating with default action of signal 11 (SIGSEGV) ==740== Access not within mapped region at address 0x0 ==740== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==740== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==740== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==740== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==740== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==740== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==740== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==740== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==740== by 0x8065F7E: main (nginx.c:382) ==740== If you believe this happened as a result of a stack ==740== overflow in your program's main thread (unlikely but ==740== possible), you can try to increase the size of the ==740== main thread stack using the --main-stacksize= flag. ==740== 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/re-base.t | TEST 5: just hit match limit - Can't connect to 127.0.0.1:1984: Connection refused |
==745== Invalid read of size 4 ==745== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==745== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==745== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==745== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==745== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==745== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==745== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==745== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==745== by 0x8065F7E: main (nginx.c:382) ==745== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==745== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==745== ==745== Process terminating with default action of signal 11 (SIGSEGV) ==745== Access not within mapped region at address 0x0 ==745== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==745== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==745== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==745== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==745== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==745== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==745== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==745== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==745== by 0x8065F7E: main (nginx.c:382) ==745== If you believe this happened as a result of a stack ==745== overflow in your program's main thread (unlikely but ==745== possible), you can try to increase the size of the ==745== main thread stack using the --main-stacksize= flag. ==745== The main thread stack size used in this run was 8388608. ==745== 1,024 bytes in 1 blocks are definitely lost in loss record 3,039 of 3,150 ==745== at 0x402C768: realloc (vg_replace_malloc.c:834) ==745== by 0x40D1146: mem_alloc (lib_aux.c:335) ==745== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==745== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==745== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==745== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==745== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==745== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==745== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==745== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==745== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==745== by 0x40C0675: trace_state (lj_trace.c:690) ==745== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==745== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==745== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==745== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==745== by 0x4084A29: lua_resume (lj_api.c:1296) ==745== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==745== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==745== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==745== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==745== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==745== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==745== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==745== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==745== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==745== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==745== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==745== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==745== by 0x8065F7E: main (nginx.c:382) ==745== { <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 6: just not hit match limit - Can't connect to 127.0.0.1:1984: Connection refused |
==747== Invalid read of size 4 ==747== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==747== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==747== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==747== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==747== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==747== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==747== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==747== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==747== by 0x8065F7E: main (nginx.c:382) ==747== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==747== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==747== ==747== Process terminating with default action of signal 11 (SIGSEGV) ==747== Access not within mapped region at address 0x0 ==747== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==747== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==747== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==747== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==747== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==747== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==747== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==747== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==747== by 0x8065F7E: main (nginx.c:382) ==747== If you believe this happened as a result of a stack ==747== overflow in your program's main thread (unlikely but ==747== possible), you can try to increase the size of the ==747== main thread stack using the --main-stacksize= flag. ==747== The main thread stack size used in this run was 8388608. ==747== 1,024 bytes in 1 blocks are definitely lost in loss record 3,035 of 3,144 ==747== at 0x402C768: realloc (vg_replace_malloc.c:834) ==747== by 0x40D1146: mem_alloc (lib_aux.c:335) ==747== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==747== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==747== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==747== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==747== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==747== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==747== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==747== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==747== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==747== by 0x40C0675: trace_state (lj_trace.c:690) ==747== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==747== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==747== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==747== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==747== by 0x4084A29: lua_resume (lj_api.c:1296) ==747== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==747== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==747== by 0x818552D: ngx_stream_lua_content_handler_file (ngx_stream_lua_contentby.c:249) ==747== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==747== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==747== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==747== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==747== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==747== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==747== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==747== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==747== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==747== by 0x8065F7E: main (nginx.c:382) ==747== { <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-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==749== Invalid read of size 4 ==749== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==749== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==749== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==749== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==749== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==749== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==749== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==749== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==749== by 0x8065F7E: main (nginx.c:382) ==749== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==749== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==749== ==749== Process terminating with default action of signal 11 (SIGSEGV) ==749== Access not within mapped region at address 0x0 ==749== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==749== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==749== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==749== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==749== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==749== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==749== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==749== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==749== by 0x8065F7E: main (nginx.c:382) ==749== If you believe this happened as a result of a stack ==749== overflow in your program's main thread (unlikely but ==749== possible), you can try to increase the size of the ==749== main thread stack using the --main-stacksize= flag. ==749== The main thread stack size used in this run was 8388608. ==749== 1,024 bytes in 1 blocks are definitely lost in loss record 3,055 of 3,166 ==749== at 0x402C768: realloc (vg_replace_malloc.c:834) ==749== by 0x40D1146: mem_alloc (lib_aux.c:335) ==749== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==749== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==749== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==749== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==749== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==749== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==749== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==749== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==749== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==749== by 0x40C0675: trace_state (lj_trace.c:690) ==749== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==749== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==749== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==749== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==749== by 0x4084A29: lua_resume (lj_api.c:1296) ==749== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==749== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==749== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==749== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==749== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==749== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==749== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==749== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==749== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==749== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==749== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==749== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==749== by 0x8065F7E: main (nginx.c:382) ==749== { <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 |
==751== Invalid read of size 4 ==751== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==751== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==751== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==751== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==751== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==751== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==751== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==751== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==751== by 0x8065F7E: main (nginx.c:382) ==751== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==751== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==751== ==751== Process terminating with default action of signal 11 (SIGSEGV) ==751== Access not within mapped region at address 0x0 ==751== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==751== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==751== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==751== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==751== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==751== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==751== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==751== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==751== by 0x8065F7E: main (nginx.c:382) ==751== If you believe this happened as a result of a stack ==751== overflow in your program's main thread (unlikely but ==751== possible), you can try to increase the size of the ==751== main thread stack using the --main-stacksize= flag. ==751== The main thread stack size used in this run was 8388608. ==751== 1,024 bytes in 1 blocks are definitely lost in loss record 3,028 of 3,139 ==751== at 0x402C768: realloc (vg_replace_malloc.c:834) ==751== by 0x40D1146: mem_alloc (lib_aux.c:335) ==751== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==751== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==751== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==751== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==751== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==751== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==751== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==751== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==751== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==751== by 0x40C0675: trace_state (lj_trace.c:690) ==751== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==751== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==751== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==751== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==751== by 0x4084A29: lua_resume (lj_api.c:1296) ==751== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==751== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==751== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==751== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==751== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==751== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==751== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==751== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==751== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==751== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==751== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==751== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==751== by 0x8065F7E: main (nginx.c:382) ==751== { <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 3: UTF-8 mode without UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused |
==753== Invalid read of size 4 ==753== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==753== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==753== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==753== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==753== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==753== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==753== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==753== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==753== by 0x8065F7E: main (nginx.c:382) ==753== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==753== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==753== ==753== Process terminating with default action of signal 11 (SIGSEGV) ==753== Access not within mapped region at address 0x0 ==753== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==753== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==753== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==753== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==753== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==753== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==753== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==753== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==753== by 0x8065F7E: main (nginx.c:382) ==753== If you believe this happened as a result of a stack ==753== overflow in your program's main thread (unlikely but ==753== possible), you can try to increase the size of the ==753== main thread stack using the --main-stacksize= flag. ==753== The main thread stack size used in this run was 8388608. ==753== 1,024 bytes in 1 blocks are definitely lost in loss record 3,030 of 3,138 ==753== at 0x402C768: realloc (vg_replace_malloc.c:834) ==753== by 0x40D1146: mem_alloc (lib_aux.c:335) ==753== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==753== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==753== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==753== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==753== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==753== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==753== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==753== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==753== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==753== by 0x40C0675: trace_state (lj_trace.c:690) ==753== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==753== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==753== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==753== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==753== by 0x4084A29: lua_resume (lj_api.c:1296) ==753== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==753== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==753== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==753== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==753== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==753== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==753== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==753== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==753== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==753== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==753== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==753== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==753== by 0x8065F7E: main (nginx.c:382) ==753== { <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 2: bad UTF-8 - Can't connect to 127.0.0.1:1984: Connection refused |
==755== Invalid read of size 4 ==755== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==755== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==755== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==755== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==755== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==755== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==755== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==755== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==755== by 0x8065F7E: main (nginx.c:382) ==755== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==755== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==755== ==755== Process terminating with default action of signal 11 (SIGSEGV) ==755== Access not within mapped region at address 0x0 ==755== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==755== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==755== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==755== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==755== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==755== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==755== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==755== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==755== by 0x8065F7E: main (nginx.c:382) ==755== If you believe this happened as a result of a stack ==755== overflow in your program's main thread (unlikely but ==755== possible), you can try to increase the size of the ==755== main thread stack using the --main-stacksize= flag. ==755== The main thread stack size used in this run was 8388608. ==755== 1,024 bytes in 1 blocks are definitely lost in loss record 3,029 of 3,140 ==755== at 0x402C768: realloc (vg_replace_malloc.c:834) ==755== by 0x40D1146: mem_alloc (lib_aux.c:335) ==755== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==755== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==755== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==755== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==755== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==755== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==755== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==755== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==755== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==755== by 0x40C0675: trace_state (lj_trace.c:690) ==755== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==755== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==755== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==755== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==755== by 0x4084A29: lua_resume (lj_api.c:1296) ==755== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==755== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==755== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==755== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==755== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==755== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==755== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==755== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==755== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==755== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==755== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==755== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==755== by 0x8065F7E: main (nginx.c:382) ==755== { <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-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==761== Invalid read of size 4 ==761== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==761== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==761== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==761== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==761== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==761== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==761== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==761== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==761== by 0x8065F7E: main (nginx.c:382) ==761== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==761== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==761== ==761== Process terminating with default action of signal 11 (SIGSEGV) ==761== Access not within mapped region at address 0x0 ==761== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==761== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==761== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==761== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==761== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==761== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==761== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==761== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==761== by 0x8065F7E: main (nginx.c:382) ==761== If you believe this happened as a result of a stack ==761== overflow in your program's main thread (unlikely but ==761== possible), you can try to increase the size of the ==761== main thread stack using the --main-stacksize= flag. ==761== The main thread stack size used in this run was 8388608. ==761== 2,048 bytes in 1 blocks are definitely lost in loss record 3,114 of 3,185 ==761== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==761== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==761== by 0x40D1146: mem_alloc (lib_aux.c:335) ==761== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==761== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==761== by 0x408F511: ir_nextk (lj_ir.c:175) ==761== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==761== by 0x40AB72C: recff_cdata_index (lj_crecord.c:918) ==761== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==761== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==761== by 0x40C016A: trace_state (lj_trace.c:680) ==761== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==761== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==761== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==761== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==761== by 0x4084A29: lua_resume (lj_api.c:1296) ==761== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==761== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==761== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==761== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==761== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==761== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==761== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==761== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==761== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==761== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==761== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==761== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==761== by 0x8065F7E: main (nginx.c:382) ==761== { <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 |
==763== Invalid read of size 4 ==763== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==763== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==763== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==763== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==763== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==763== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==763== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==763== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==763== by 0x8065F7E: main (nginx.c:382) ==763== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==763== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==763== ==763== Process terminating with default action of signal 11 (SIGSEGV) ==763== Access not within mapped region at address 0x0 ==763== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==763== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==763== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==763== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==763== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==763== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==763== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==763== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==763== by 0x8065F7E: main (nginx.c:382) ==763== If you believe this happened as a result of a stack ==763== overflow in your program's main thread (unlikely but ==763== possible), you can try to increase the size of the ==763== main thread stack using the --main-stacksize= flag. ==763== The main thread stack size used in this run was 8388608. ==763== 4,096 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,168 ==763== at 0x402C768: realloc (vg_replace_malloc.c:834) ==763== by 0x40D1146: mem_alloc (lib_aux.c:335) ==763== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==763== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==763== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==763== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==763== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==763== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==763== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==763== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==763== by 0x40C0675: trace_state (lj_trace.c:690) ==763== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==763== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==763== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==763== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==763== by 0x4084A29: lua_resume (lj_api.c:1296) ==763== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==763== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==763== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==763== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==763== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==763== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==763== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==763== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==763== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==763== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==763== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==763== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==763== by 0x8065F7E: main (nginx.c:382) ==763== { <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 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==765== Invalid read of size 4 ==765== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==765== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==765== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==765== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==765== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==765== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==765== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==765== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==765== by 0x8065F7E: main (nginx.c:382) ==765== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==765== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==765== ==765== Process terminating with default action of signal 11 (SIGSEGV) ==765== Access not within mapped region at address 0x0 ==765== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==765== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==765== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==765== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==765== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==765== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==765== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==765== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==765== by 0x8065F7E: main (nginx.c:382) ==765== If you believe this happened as a result of a stack ==765== overflow in your program's main thread (unlikely but ==765== possible), you can try to increase the size of the ==765== main thread stack using the --main-stacksize= flag. ==765== The main thread stack size used in this run was 8388608. ==765== 2,048 bytes in 1 blocks are definitely lost in loss record 3,100 of 3,163 ==765== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==765== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==765== by 0x40D1146: mem_alloc (lib_aux.c:335) ==765== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==765== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==765== by 0x408F6B5: ir_nextk64 (lj_ir.c:187) ==765== by 0x408F6B5: lj_ir_k64 (lj_ir.c:226) ==765== by 0x408F726: lj_ir_knum_u64 (lj_ir.c:241) ==765== by 0x4092F64: lj_ir_knum (lj_iropt.h:63) ==765== by 0x4092F64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==765== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==765== by 0x40A5FAD: lj_record_ins (lj_record.c:2133) ==765== by 0x40C016A: trace_state (lj_trace.c:680) ==765== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==765== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==765== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==765== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==765== by 0x4084A29: lua_resume (lj_api.c:1296) ==765== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==765== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==765== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==765== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==765== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==765== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==765== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==765== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==765== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==765== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==765== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==765== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==765== by 0x8065F7E: main (nginx.c:382) ==765== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk64 fun:lj_ir_k64 fun:lj_ir_knum_u64 fun:lj_ir_knum fun:fold_kfold_conv_kint_num fun:lj_opt_fold fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_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 4: nil submatch (2nd) - Can't connect to 127.0.0.1:1984: Connection refused |
==767== Invalid read of size 4 ==767== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==767== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==767== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==767== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==767== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==767== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==767== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==767== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==767== by 0x8065F7E: main (nginx.c:382) ==767== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==767== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==767== ==767== Process terminating with default action of signal 11 (SIGSEGV) ==767== Access not within mapped region at address 0x0 ==767== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==767== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==767== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==767== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==767== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==767== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==767== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==767== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==767== by 0x8065F7E: main (nginx.c:382) ==767== If you believe this happened as a result of a stack ==767== overflow in your program's main thread (unlikely but ==767== possible), you can try to increase the size of the ==767== main thread stack using the --main-stacksize= flag. ==767== The main thread stack size used in this run was 8388608. ==767== 2,048 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,163 ==767== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==767== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==767== by 0x40D1146: mem_alloc (lib_aux.c:335) ==767== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==767== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==767== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==767== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==767== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==767== by 0x40C016A: trace_state (lj_trace.c:680) ==767== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==767== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==767== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==767== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==767== by 0x4084A29: lua_resume (lj_api.c:1296) ==767== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==767== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==767== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==767== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==767== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==767== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==767== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==767== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==767== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==767== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==767== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==767== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==767== by 0x8065F7E: main (nginx.c:382) ==767== { <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 |
==769== Invalid read of size 4 ==769== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==769== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==769== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==769== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==769== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==769== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==769== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==769== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==769== by 0x8065F7E: main (nginx.c:382) ==769== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==769== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==769== ==769== Process terminating with default action of signal 11 (SIGSEGV) ==769== Access not within mapped region at address 0x0 ==769== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==769== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==769== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==769== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==769== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==769== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==769== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==769== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==769== by 0x8065F7E: main (nginx.c:382) ==769== If you believe this happened as a result of a stack ==769== overflow in your program's main thread (unlikely but ==769== possible), you can try to increase the size of the ==769== main thread stack using the --main-stacksize= flag. ==769== The main thread stack size used in this run was 8388608. |
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-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==771== Invalid read of size 4 ==771== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==771== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==771== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==771== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==771== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==771== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==771== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==771== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==771== by 0x8065F7E: main (nginx.c:382) ==771== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==771== ==771== Process terminating with default action of signal 11 (SIGSEGV) ==771== Access not within mapped region at address 0x0 ==771== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==771== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==771== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==771== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==771== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==771== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==771== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==771== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==771== by 0x8065F7E: main (nginx.c:382) ==771== If you believe this happened as a result of a stack ==771== overflow in your program's main thread (unlikely but ==771== possible), you can try to increase the size of the ==771== main thread stack using the --main-stacksize= flag. ==771== The main thread stack size used in this run was 8388608. ==771== 2,048 bytes in 1 blocks are definitely lost in loss record 3,096 of 3,160 ==771== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==771== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==771== by 0x40D1146: mem_alloc (lib_aux.c:335) ==771== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==771== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==771== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==771== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==771== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==771== by 0x40C016A: trace_state (lj_trace.c:680) ==771== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==771== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==771== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==771== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==771== by 0x4084A29: lua_resume (lj_api.c:1296) ==771== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==771== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==771== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==771== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==771== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==771== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==771== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==771== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==771== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==771== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==771== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==771== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==771== by 0x8065F7E: main (nginx.c:382) ==771== { <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-gmatch.t | TEST 8: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==777== Invalid read of size 4 ==777== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==777== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==777== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==777== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==777== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==777== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==777== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==777== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==777== by 0x8065F7E: main (nginx.c:382) ==777== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==777== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==777== ==777== Process terminating with default action of signal 11 (SIGSEGV) ==777== Access not within mapped region at address 0x0 ==777== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==777== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==777== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==777== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==777== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==777== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==777== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==777== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==777== by 0x8065F7E: main (nginx.c:382) ==777== If you believe this happened as a result of a stack ==777== overflow in your program's main thread (unlikely but ==777== possible), you can try to increase the size of the ==777== main thread stack using the --main-stacksize= flag. ==777== The main thread stack size used in this run was 8388608. ==777== 1,024 bytes in 1 blocks are definitely lost in loss record 3,046 of 3,157 ==777== at 0x402C768: realloc (vg_replace_malloc.c:834) ==777== by 0x40D1146: mem_alloc (lib_aux.c:335) ==777== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==777== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==777== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==777== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==777== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==777== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==777== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==777== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==777== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==777== by 0x40C0675: trace_state (lj_trace.c:690) ==777== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==777== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==777== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==777== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==777== by 0x4084A29: lua_resume (lj_api.c:1296) ==777== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==777== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==777== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==777== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==777== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==777== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==777== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==777== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==777== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==777== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==777== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==777== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==777== by 0x8065F7E: main (nginx.c:382) ==777== { <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 7: named submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==779== Invalid read of size 4 ==779== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==779== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==779== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==779== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==779== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==779== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==779== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==779== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==779== by 0x8065F7E: main (nginx.c:382) ==779== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==779== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==779== ==779== Process terminating with default action of signal 11 (SIGSEGV) ==779== Access not within mapped region at address 0x0 ==779== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==779== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==779== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==779== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==779== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==779== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==779== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==779== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==779== by 0x8065F7E: main (nginx.c:382) ==779== If you believe this happened as a result of a stack ==779== overflow in your program's main thread (unlikely but ==779== possible), you can try to increase the size of the ==779== main thread stack using the --main-stacksize= flag. ==779== The main thread stack size used in this run was 8388608. ==779== 2,048 bytes in 1 blocks are definitely lost in loss record 3,112 of 3,184 ==779== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==779== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==779== by 0x40D1146: mem_alloc (lib_aux.c:335) ==779== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==779== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==779== by 0x408F511: ir_nextk (lj_ir.c:175) ==779== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==779== by 0x40A0D2D: rec_idx_key (lj_record.c:1376) ==779== by 0x40A0D2D: lj_record_idx (lj_record.c:1455) ==779== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==779== by 0x40C016A: trace_state (lj_trace.c:680) ==779== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==779== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==779== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==779== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==779== by 0x4084A29: lua_resume (lj_api.c:1296) ==779== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==779== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==779== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==779== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==779== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==779== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==779== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==779== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==779== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==779== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==779== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==779== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==779== by 0x8065F7E: main (nginx.c:382) ==779== { <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 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==781== Invalid read of size 4 ==781== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==781== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==781== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==781== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==781== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==781== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==781== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==781== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==781== by 0x8065F7E: main (nginx.c:382) ==781== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==781== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==781== ==781== Process terminating with default action of signal 11 (SIGSEGV) ==781== Access not within mapped region at address 0x0 ==781== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==781== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==781== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==781== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==781== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==781== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==781== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==781== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==781== by 0x8065F7E: main (nginx.c:382) ==781== If you believe this happened as a result of a stack ==781== overflow in your program's main thread (unlikely but ==781== possible), you can try to increase the size of the ==781== main thread stack using the --main-stacksize= flag. ==781== The main thread stack size used in this run was 8388608. ==781== 2,048 bytes in 1 blocks are definitely lost in loss record 3,110 of 3,180 ==781== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==781== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==781== by 0x40D1146: mem_alloc (lib_aux.c:335) ==781== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==781== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==781== by 0x408F511: ir_nextk (lj_ir.c:175) ==781== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==781== by 0x40A8789: crec_tv_ct (lj_crecord.c:595) ==781== by 0x40AB0EB: recff_cdata_index (lj_crecord.c:932) ==781== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==781== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==781== by 0x40C016A: trace_state (lj_trace.c:680) ==781== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==781== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==781== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==781== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==781== by 0x4084A29: lua_resume (lj_api.c:1296) ==781== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==781== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==781== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==781== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==781== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==781== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==781== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==781== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==781== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==781== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==781== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==781== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==781== by 0x8065F7E: main (nginx.c:382) ==781== { <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 13: an error-ed out gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused |
==783== Invalid read of size 4 ==783== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==783== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==783== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==783== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==783== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==783== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==783== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==783== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==783== by 0x8065F7E: main (nginx.c:382) ==783== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==783== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==783== ==783== Process terminating with default action of signal 11 (SIGSEGV) ==783== Access not within mapped region at address 0x0 ==783== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==783== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==783== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==783== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==783== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==783== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==783== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==783== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==783== by 0x8065F7E: main (nginx.c:382) ==783== If you believe this happened as a result of a stack ==783== overflow in your program's main thread (unlikely but ==783== possible), you can try to increase the size of the ==783== main thread stack using the --main-stacksize= flag. ==783== The main thread stack size used in this run was 8388608. ==783== 1,024 bytes in 1 blocks are definitely lost in loss record 3,028 of 3,139 ==783== at 0x402C768: realloc (vg_replace_malloc.c:834) ==783== by 0x40D1146: mem_alloc (lib_aux.c:335) ==783== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==783== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==783== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==783== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==783== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==783== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==783== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==783== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==783== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==783== by 0x40C0675: trace_state (lj_trace.c:690) ==783== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==783== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==783== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==783== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==783== by 0x4084A29: lua_resume (lj_api.c:1296) ==783== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==783== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==783== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==783== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==783== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==783== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==783== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==783== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==783== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==783== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==783== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==783== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==783== by 0x8065F7E: main (nginx.c:382) ==783== { <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 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==785== Invalid read of size 4 ==785== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==785== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==785== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==785== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==785== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==785== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==785== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==785== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==785== by 0x8065F7E: main (nginx.c:382) ==785== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==785== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==785== ==785== Process terminating with default action of signal 11 (SIGSEGV) ==785== Access not within mapped region at address 0x0 ==785== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==785== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==785== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==785== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==785== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==785== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==785== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==785== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==785== by 0x8065F7E: main (nginx.c:382) ==785== If you believe this happened as a result of a stack ==785== overflow in your program's main thread (unlikely but ==785== possible), you can try to increase the size of the ==785== main thread stack using the --main-stacksize= flag. ==785== The main thread stack size used in this run was 8388608. ==785== 4,096 bytes in 1 blocks are definitely lost in loss record 3,060 of 3,087 ==785== at 0x402C768: realloc (vg_replace_malloc.c:834) ==785== by 0x40D1146: mem_alloc (lib_aux.c:335) ==785== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==785== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==785== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==785== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==785== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==785== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==785== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==785== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==785== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==785== by 0x40C0675: trace_state (lj_trace.c:690) ==785== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==785== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==785== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==785== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==785== by 0x4084A29: lua_resume (lj_api.c:1296) ==785== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==785== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==785== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==785== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==785== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==785== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==785== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==785== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==785== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==785== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==785== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==785== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==785== by 0x8065F7E: main (nginx.c:382) ==785== { <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 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==787== Invalid read of size 4 ==787== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==787== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==787== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==787== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==787== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==787== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==787== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==787== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==787== by 0x8065F7E: main (nginx.c:382) ==787== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==787== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==787== ==787== Process terminating with default action of signal 11 (SIGSEGV) ==787== Access not within mapped region at address 0x0 ==787== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==787== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==787== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==787== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==787== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==787== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==787== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==787== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==787== by 0x8065F7E: main (nginx.c:382) ==787== If you believe this happened as a result of a stack ==787== overflow in your program's main thread (unlikely but ==787== possible), you can try to increase the size of the ==787== main thread stack using the --main-stacksize= flag. ==787== The main thread stack size used in this run was 8388608. ==787== 2,048 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,147 ==787== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==787== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==787== by 0x40D1146: mem_alloc (lib_aux.c:335) ==787== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==787== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==787== by 0x408FAB5: ir_nextk (lj_ir.c:175) ==787== by 0x408FAB5: lj_ir_knull (lj_ir.c:347) ==787== by 0x40915C6: lj_opt_fwd_fload (lj_opt_mem.c:597) ==787== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==787== by 0x40A1603: lj_record_mm_lookup (lj_record.c:976) ==787== by 0x40A07DA: lj_record_idx (lj_record.c:1497) ==787== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==787== by 0x40C016A: trace_state (lj_trace.c:680) ==787== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==787== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==787== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==787== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==787== by 0x4084A29: lua_resume (lj_api.c:1296) ==787== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==787== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==787== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==787== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==787== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==787== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==787== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==787== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==787== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==787== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==787== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==787== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==787== by 0x8065F7E: main (nginx.c:382) ==787== { <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 12: an exhausted gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused |
==789== Invalid read of size 4 ==789== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==789== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==789== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==789== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==789== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==789== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==789== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==789== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==789== by 0x8065F7E: main (nginx.c:382) ==789== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==789== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==789== ==789== Process terminating with default action of signal 11 (SIGSEGV) ==789== Access not within mapped region at address 0x0 ==789== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==789== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==789== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==789== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==789== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==789== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==789== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==789== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==789== by 0x8065F7E: main (nginx.c:382) ==789== If you believe this happened as a result of a stack ==789== overflow in your program's main thread (unlikely but ==789== possible), you can try to increase the size of the ==789== main thread stack using the --main-stacksize= flag. ==789== The main thread stack size used in this run was 8388608. ==789== 1,024 bytes in 1 blocks are definitely lost in loss record 3,046 of 3,157 ==789== at 0x402C768: realloc (vg_replace_malloc.c:834) ==789== by 0x40D1146: mem_alloc (lib_aux.c:335) ==789== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==789== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==789== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==789== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==789== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==789== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==789== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==789== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==789== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==789== by 0x40C0675: trace_state (lj_trace.c:690) ==789== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==789== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==789== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==789== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==789== by 0x4084A29: lua_resume (lj_api.c:1296) ==789== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==789== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==789== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==789== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==789== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==789== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==789== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==789== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==789== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==789== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==789== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==789== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==789== by 0x8065F7E: main (nginx.c:382) ==789== { <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-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==791== Invalid read of size 4 ==791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==791== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==791== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==791== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==791== by 0x8065F7E: main (nginx.c:382) ==791== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==791== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==791== ==791== Process terminating with default action of signal 11 (SIGSEGV) ==791== Access not within mapped region at address 0x0 ==791== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==791== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==791== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==791== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==791== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==791== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==791== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==791== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==791== by 0x8065F7E: main (nginx.c:382) ==791== If you believe this happened as a result of a stack ==791== overflow in your program's main thread (unlikely but ==791== possible), you can try to increase the size of the ==791== main thread stack using the --main-stacksize= flag. ==791== The main thread stack size used in this run was 8388608. ==791== 1,024 bytes in 1 blocks are definitely lost in loss record 3,045 of 3,156 ==791== at 0x402C768: realloc (vg_replace_malloc.c:834) ==791== by 0x40D1146: mem_alloc (lib_aux.c:335) ==791== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==791== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==791== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==791== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==791== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==791== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==791== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==791== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==791== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==791== by 0x40C0675: trace_state (lj_trace.c:690) ==791== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==791== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==791== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==791== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==791== by 0x4084A29: lua_resume (lj_api.c:1296) ==791== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==791== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==791== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==791== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==791== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==791== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==791== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==791== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==791== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==791== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==791== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==791== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==791== by 0x8065F7E: main (nginx.c:382) ==791== { <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 14: each gmatch iterator is separate - Can't connect to 127.0.0.1:1984: Connection refused |
==793== Invalid read of size 4 ==793== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==793== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==793== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==793== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==793== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==793== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==793== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==793== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==793== by 0x8065F7E: main (nginx.c:382) ==793== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==793== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==793== ==793== Process terminating with default action of signal 11 (SIGSEGV) ==793== Access not within mapped region at address 0x0 ==793== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==793== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==793== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==793== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==793== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==793== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==793== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==793== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==793== by 0x8065F7E: main (nginx.c:382) ==793== If you believe this happened as a result of a stack ==793== overflow in your program's main thread (unlikely but ==793== possible), you can try to increase the size of the ==793== main thread stack using the --main-stacksize= flag. ==793== The main thread stack size used in this run was 8388608. ==793== 1,024 bytes in 1 blocks are definitely lost in loss record 3,039 of 3,150 ==793== at 0x402C768: realloc (vg_replace_malloc.c:834) ==793== by 0x40D1146: mem_alloc (lib_aux.c:335) ==793== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==793== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==793== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==793== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==793== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==793== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==793== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==793== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==793== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==793== by 0x40C0675: trace_state (lj_trace.c:690) ==793== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==793== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==793== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==793== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==793== by 0x4084A29: lua_resume (lj_api.c:1296) ==793== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==793== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==793== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==793== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==793== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==793== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==793== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==793== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==793== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==793== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==793== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==793== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==793== by 0x8065F7E: main (nginx.c:382) ==793== { <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 10: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==795== Invalid read of size 4 ==795== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==795== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==795== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==795== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==795== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==795== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==795== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==795== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==795== by 0x8065F7E: main (nginx.c:382) ==795== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==795== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==795== ==795== Process terminating with default action of signal 11 (SIGSEGV) ==795== Access not within mapped region at address 0x0 ==795== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==795== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==795== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==795== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==795== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==795== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==795== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==795== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==795== by 0x8065F7E: main (nginx.c:382) ==795== If you believe this happened as a result of a stack ==795== overflow in your program's main thread (unlikely but ==795== possible), you can try to increase the size of the ==795== main thread stack using the --main-stacksize= flag. ==795== The main thread stack size used in this run was 8388608. ==795== 1,024 bytes in 1 blocks are definitely lost in loss record 3,048 of 3,159 ==795== at 0x402C768: realloc (vg_replace_malloc.c:834) ==795== by 0x40D1146: mem_alloc (lib_aux.c:335) ==795== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==795== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==795== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==795== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==795== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==795== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==795== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==795== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==795== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==795== by 0x40C0675: trace_state (lj_trace.c:690) ==795== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==795== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==795== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==795== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==795== by 0x4084A29: lua_resume (lj_api.c:1296) ==795== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==795== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==795== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==795== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==795== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==795== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==795== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==795== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==795== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==795== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==795== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==795== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==795== by 0x8065F7E: main (nginx.c:382) ==795== { <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 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==797== Invalid read of size 4 ==797== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==797== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==797== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==797== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==797== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==797== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==797== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==797== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==797== by 0x8065F7E: main (nginx.c:382) ==797== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==797== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==797== ==797== Process terminating with default action of signal 11 (SIGSEGV) ==797== Access not within mapped region at address 0x0 ==797== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==797== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==797== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==797== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==797== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==797== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==797== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==797== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==797== by 0x8065F7E: main (nginx.c:382) ==797== If you believe this happened as a result of a stack ==797== overflow in your program's main thread (unlikely but ==797== possible), you can try to increase the size of the ==797== main thread stack using the --main-stacksize= flag. ==797== The main thread stack size used in this run was 8388608. ==797== 2,048 bytes in 1 blocks are definitely lost in loss record 3,108 of 3,185 ==797== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==797== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==797== by 0x40D1146: mem_alloc (lib_aux.c:335) ==797== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==797== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==797== by 0x408F511: ir_nextk (lj_ir.c:175) ==797== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==797== by 0x40A8789: crec_tv_ct (lj_crecord.c:595) ==797== by 0x40AB0EB: recff_cdata_index (lj_crecord.c:932) ==797== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==797== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==797== by 0x40C016A: trace_state (lj_trace.c:680) ==797== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==797== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==797== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==797== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==797== by 0x4084A29: lua_resume (lj_api.c:1296) ==797== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==797== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==797== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==797== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==797== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==797== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==797== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==797== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==797== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==797== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==797== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==797== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==797== by 0x8065F7E: main (nginx.c:382) ==797== { <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 15: gmatch (empty matched string) - Can't connect to 127.0.0.1:1984: Connection refused |
==799== Invalid read of size 4 ==799== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==799== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==799== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==799== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==799== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==799== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==799== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==799== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==799== by 0x8065F7E: main (nginx.c:382) ==799== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==799== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==799== ==799== Process terminating with default action of signal 11 (SIGSEGV) ==799== Access not within mapped region at address 0x0 ==799== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==799== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==799== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==799== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==799== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==799== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==799== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==799== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==799== by 0x8065F7E: main (nginx.c:382) ==799== If you believe this happened as a result of a stack ==799== overflow in your program's main thread (unlikely but ==799== possible), you can try to increase the size of the ==799== main thread stack using the --main-stacksize= flag. ==799== The main thread stack size used in this run was 8388608. ==799== 1,024 bytes in 1 blocks are definitely lost in loss record 3,028 of 3,139 ==799== at 0x402C768: realloc (vg_replace_malloc.c:834) ==799== by 0x40D1146: mem_alloc (lib_aux.c:335) ==799== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==799== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==799== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==799== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==799== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==799== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==799== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==799== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==799== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==799== by 0x40C0675: trace_state (lj_trace.c:690) ==799== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==799== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==799== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==799== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==799== by 0x4084A29: lua_resume (lj_api.c:1296) ==799== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==799== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==799== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==799== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==799== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==799== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==799== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==799== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==799== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==799== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==799== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==799== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==799== by 0x8065F7E: main (nginx.c:382) ==799== { <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 9: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==801== Invalid read of size 4 ==801== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==801== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==801== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==801== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==801== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==801== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==801== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==801== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==801== by 0x8065F7E: main (nginx.c:382) ==801== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==801== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==801== ==801== Process terminating with default action of signal 11 (SIGSEGV) ==801== Access not within mapped region at address 0x0 ==801== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==801== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==801== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==801== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==801== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==801== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==801== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==801== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==801== by 0x8065F7E: main (nginx.c:382) ==801== If you believe this happened as a result of a stack ==801== overflow in your program's main thread (unlikely but ==801== possible), you can try to increase the size of the ==801== main thread stack using the --main-stacksize= flag. ==801== The main thread stack size used in this run was 8388608. ==801== 1,024 bytes in 1 blocks are definitely lost in loss record 3,044 of 3,155 ==801== at 0x402C768: realloc (vg_replace_malloc.c:834) ==801== by 0x40D1146: mem_alloc (lib_aux.c:335) ==801== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==801== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==801== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==801== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==801== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==801== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==801== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==801== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==801== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==801== by 0x40C0675: trace_state (lj_trace.c:690) ==801== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==801== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==801== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==801== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==801== by 0x4084A29: lua_resume (lj_api.c:1296) ==801== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==801== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==801== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==801== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==801== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==801== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==801== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==801== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==801== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==801== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==801== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==801== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==801== by 0x8065F7E: main (nginx.c:382) ==801== { <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 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==803== Invalid read of size 4 ==803== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==803== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==803== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==803== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==803== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==803== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==803== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==803== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==803== by 0x8065F7E: main (nginx.c:382) ==803== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==803== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==803== ==803== Process terminating with default action of signal 11 (SIGSEGV) ==803== Access not within mapped region at address 0x0 ==803== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==803== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==803== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==803== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==803== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==803== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==803== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==803== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==803== by 0x8065F7E: main (nginx.c:382) ==803== If you believe this happened as a result of a stack ==803== overflow in your program's main thread (unlikely but ==803== possible), you can try to increase the size of the ==803== main thread stack using the --main-stacksize= flag. ==803== The main thread stack size used in this run was 8388608. ==803== 4,096 bytes in 1 blocks are definitely lost in loss record 3,149 of 3,177 ==803== at 0x402C768: realloc (vg_replace_malloc.c:834) ==803== by 0x40D1146: mem_alloc (lib_aux.c:335) ==803== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==803== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==803== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==803== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==803== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==803== by 0x40AC386: crec_call (lj_crecord.c:1231) ==803== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==803== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==803== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==803== by 0x40C016A: trace_state (lj_trace.c:680) ==803== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==803== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==803== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==803== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==803== by 0x4084A29: lua_resume (lj_api.c:1296) ==803== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==803== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==803== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==803== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==803== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==803== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==803== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==803== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==803== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==803== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==803== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==803== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==803== by 0x8065F7E: main (nginx.c:382) ==803== { <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 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==805== Invalid read of size 4 ==805== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==805== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==805== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==805== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==805== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==805== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==805== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==805== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==805== by 0x8065F7E: main (nginx.c:382) ==805== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==805== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==805== ==805== Process terminating with default action of signal 11 (SIGSEGV) ==805== Access not within mapped region at address 0x0 ==805== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==805== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==805== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==805== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==805== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==805== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==805== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==805== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==805== by 0x8065F7E: main (nginx.c:382) ==805== If you believe this happened as a result of a stack ==805== overflow in your program's main thread (unlikely but ==805== possible), you can try to increase the size of the ==805== main thread stack using the --main-stacksize= flag. ==805== The main thread stack size used in this run was 8388608. ==805== 4,096 bytes in 1 blocks are definitely lost in loss record 3,133 of 3,158 ==805== at 0x402C768: realloc (vg_replace_malloc.c:834) ==805== by 0x40D1146: mem_alloc (lib_aux.c:335) ==805== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==805== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==805== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==805== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==805== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==805== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==805== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==805== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==805== by 0x40C0675: trace_state (lj_trace.c:690) ==805== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==805== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==805== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==805== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==805== by 0x4084A29: lua_resume (lj_api.c:1296) ==805== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==805== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==805== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==805== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==805== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==805== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==805== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==805== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==805== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==805== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==805== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==805== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==805== by 0x8065F7E: main (nginx.c:382) ==805== { <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-match.t | TEST 11: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==811== Invalid read of size 4 ==811== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==811== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==811== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==811== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==811== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==811== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==811== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==811== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==811== by 0x8065F7E: main (nginx.c:382) ==811== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==811== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==811== ==811== Process terminating with default action of signal 11 (SIGSEGV) ==811== Access not within mapped region at address 0x0 ==811== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==811== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==811== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==811== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==811== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==811== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==811== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==811== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==811== by 0x8065F7E: main (nginx.c:382) ==811== If you believe this happened as a result of a stack ==811== overflow in your program's main thread (unlikely but ==811== possible), you can try to increase the size of the ==811== main thread stack using the --main-stacksize= flag. ==811== The main thread stack size used in this run was 8388608. ==811== 1,024 bytes in 1 blocks are definitely lost in loss record 3,038 of 3,146 ==811== at 0x402C768: realloc (vg_replace_malloc.c:834) ==811== by 0x40D1146: mem_alloc (lib_aux.c:335) ==811== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==811== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==811== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==811== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==811== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==811== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==811== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==811== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==811== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==811== by 0x40C0675: trace_state (lj_trace.c:690) ==811== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==811== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==811== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==811== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==811== by 0x4084A29: lua_resume (lj_api.c:1296) ==811== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==811== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==811== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==811== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==811== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==811== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==811== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==811== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==811== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==811== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==811== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==811== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==811== by 0x8065F7E: main (nginx.c:382) ==811== { <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 7: named subpatterns w/ extraction (matched) - Can't connect to 127.0.0.1:1984: Connection refused |
==813== Invalid read of size 4 ==813== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==813== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==813== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==813== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==813== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==813== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==813== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==813== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==813== by 0x8065F7E: main (nginx.c:382) ==813== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==813== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==813== ==813== Process terminating with default action of signal 11 (SIGSEGV) ==813== Access not within mapped region at address 0x0 ==813== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==813== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==813== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==813== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==813== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==813== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==813== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==813== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==813== by 0x8065F7E: main (nginx.c:382) ==813== If you believe this happened as a result of a stack ==813== overflow in your program's main thread (unlikely but ==813== possible), you can try to increase the size of the ==813== main thread stack using the --main-stacksize= flag. ==813== The main thread stack size used in this run was 8388608. ==813== 2,048 bytes in 1 blocks are definitely lost in loss record 3,109 of 3,176 ==813== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==813== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==813== by 0x40D1146: mem_alloc (lib_aux.c:335) ==813== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==813== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==813== by 0x408FB9F: ir_nextk (lj_ir.c:175) ==813== by 0x408FB9F: lj_ir_kslot (lj_ir.c:370) ==813== by 0x40A0D8D: rec_idx_key (lj_record.c:1378) ==813== by 0x40A0D8D: lj_record_idx (lj_record.c:1455) ==813== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==813== by 0x40C016A: trace_state (lj_trace.c:680) ==813== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==813== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==813== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==813== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==813== by 0x4084A29: lua_resume (lj_api.c:1296) ==813== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==813== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==813== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==813== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==813== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==813== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==813== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==813== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==813== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==813== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==813== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==813== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==813== by 0x8065F7E: main (nginx.c:382) ==813== { <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 13: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==815== Invalid read of size 4 ==815== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==815== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==815== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==815== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==815== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==815== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==815== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==815== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==815== by 0x8065F7E: main (nginx.c:382) ==815== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==815== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==815== ==815== Process terminating with default action of signal 11 (SIGSEGV) ==815== Access not within mapped region at address 0x0 ==815== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==815== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==815== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==815== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==815== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==815== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==815== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==815== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==815== by 0x8065F7E: main (nginx.c:382) ==815== If you believe this happened as a result of a stack ==815== overflow in your program's main thread (unlikely but ==815== possible), you can try to increase the size of the ==815== main thread stack using the --main-stacksize= flag. ==815== The main thread stack size used in this run was 8388608. ==815== 1,024 bytes in 1 blocks are definitely lost in loss record 3,047 of 3,158 ==815== at 0x402C768: realloc (vg_replace_malloc.c:834) ==815== by 0x40D1146: mem_alloc (lib_aux.c:335) ==815== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==815== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==815== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==815== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==815== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==815== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==815== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==815== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==815== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==815== by 0x40C0675: trace_state (lj_trace.c:690) ==815== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==815== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==815== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==815== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==815== by 0x4084A29: lua_resume (lj_api.c:1296) ==815== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==815== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==815== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==815== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==815== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==815== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==815== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==815== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==815== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==815== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==815== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==815== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==815== by 0x8065F7E: main (nginx.c:382) ==815== { <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 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused |
==817== Invalid read of size 4 ==817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==817== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==817== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==817== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==817== by 0x8065F7E: main (nginx.c:382) ==817== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==817== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==817== ==817== Process terminating with default action of signal 11 (SIGSEGV) ==817== Access not within mapped region at address 0x0 ==817== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==817== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==817== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==817== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==817== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==817== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==817== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==817== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==817== by 0x8065F7E: main (nginx.c:382) ==817== If you believe this happened as a result of a stack ==817== overflow in your program's main thread (unlikely but ==817== possible), you can try to increase the size of the ==817== main thread stack using the --main-stacksize= flag. ==817== The main thread stack size used in this run was 8388608. ==817== 2,048 bytes in 1 blocks are definitely lost in loss record 3,088 of 3,151 ==817== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==817== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==817== by 0x40D1146: mem_alloc (lib_aux.c:335) ==817== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==817== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==817== by 0x408F511: ir_nextk (lj_ir.c:175) ==817== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==817== by 0x40A8A59: argv2cdata (lj_crecord.c:56) ==817== by 0x40ABD2B: recff_cdata_call (lj_crecord.c:1269) ==817== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==817== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==817== by 0x40C016A: trace_state (lj_trace.c:680) ==817== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==817== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==817== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==817== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==817== by 0x4084A29: lua_resume (lj_api.c:1296) ==817== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==817== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==817== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==817== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==817== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==817== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==817== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==817== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==817== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==817== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==817== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==817== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==817== by 0x8065F7E: main (nginx.c:382) ==817== { <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 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==819== Invalid read of size 4 ==819== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==819== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==819== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==819== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==819== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==819== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==819== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==819== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==819== by 0x8065F7E: main (nginx.c:382) ==819== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==819== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==819== ==819== Process terminating with default action of signal 11 (SIGSEGV) ==819== Access not within mapped region at address 0x0 ==819== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==819== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==819== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==819== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==819== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==819== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==819== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==819== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==819== by 0x8065F7E: main (nginx.c:382) ==819== If you believe this happened as a result of a stack ==819== overflow in your program's main thread (unlikely but ==819== possible), you can try to increase the size of the ==819== main thread stack using the --main-stacksize= flag. ==819== The main thread stack size used in this run was 8388608. ==819== 2,048 bytes in 1 blocks are definitely lost in loss record 3,094 of 3,157 ==819== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==819== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==819== by 0x40D1146: mem_alloc (lib_aux.c:335) ==819== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==819== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==819== by 0x408F511: ir_nextk (lj_ir.c:175) ==819== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==819== by 0x409FE30: rec_upvalue (lj_record.c:1620) ==819== by 0x40A554C: lj_record_ins (lj_record.c:2314) ==819== by 0x40C016A: trace_state (lj_trace.c:680) ==819== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==819== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==819== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==819== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==819== by 0x4084A29: lua_resume (lj_api.c:1296) ==819== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==819== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==819== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==819== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==819== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==819== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==819== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==819== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==819== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==819== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==819== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==819== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==819== by 0x8065F7E: main (nginx.c:382) ==819== { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc fun:mem_alloc fun:lj_mem_realloc fun:lj_ir_growbot fun:ir_nextk fun:lj_ir_kint fun:rec_upvalue fun:lj_record_ins fun:trace_state fun:lj_vm_cpcall fun:lj_trace_ins fun:lj_dispatch_ins fun:lj_vm_inshook fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_core_content_phase fun:ngx_stream_core_run_phases fun:ngx_stream_session_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_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 - 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 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==821== Invalid read of size 4 ==821== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==821== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==821== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==821== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==821== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==821== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==821== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==821== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==821== by 0x8065F7E: main (nginx.c:382) ==821== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==821== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==821== ==821== Process terminating with default action of signal 11 (SIGSEGV) ==821== Access not within mapped region at address 0x0 ==821== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==821== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==821== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==821== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==821== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==821== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==821== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==821== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==821== by 0x8065F7E: main (nginx.c:382) ==821== If you believe this happened as a result of a stack ==821== overflow in your program's main thread (unlikely but ==821== possible), you can try to increase the size of the ==821== main thread stack using the --main-stacksize= flag. ==821== The main thread stack size used in this run was 8388608. ==821== 2,048 bytes in 1 blocks are definitely lost in loss record 3,079 of 3,142 ==821== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==821== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==821== by 0x40D1146: mem_alloc (lib_aux.c:335) ==821== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==821== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==821== by 0x408F511: ir_nextk (lj_ir.c:175) ==821== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==821== by 0x40A8A59: argv2cdata (lj_crecord.c:56) ==821== by 0x40ABD2B: recff_cdata_call (lj_crecord.c:1269) ==821== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==821== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==821== by 0x40C016A: trace_state (lj_trace.c:680) ==821== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==821== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==821== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==821== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==821== by 0x4084A29: lua_resume (lj_api.c:1296) ==821== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==821== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==821== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==821== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==821== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==821== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==821== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==821== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==821== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==821== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==821== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==821== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==821== by 0x8065F7E: main (nginx.c:382) ==821== { <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 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==823== Invalid read of size 4 ==823== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==823== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==823== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==823== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==823== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==823== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==823== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==823== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==823== by 0x8065F7E: main (nginx.c:382) ==823== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==823== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==823== ==823== Process terminating with default action of signal 11 (SIGSEGV) ==823== Access not within mapped region at address 0x0 ==823== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==823== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==823== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==823== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==823== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==823== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==823== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==823== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==823== by 0x8065F7E: main (nginx.c:382) ==823== If you believe this happened as a result of a stack ==823== overflow in your program's main thread (unlikely but ==823== possible), you can try to increase the size of the ==823== main thread stack using the --main-stacksize= flag. ==823== The main thread stack size used in this run was 8388608. ==823== 4,096 bytes in 1 blocks are definitely lost in loss record 3,026 of 3,048 ==823== at 0x402C768: realloc (vg_replace_malloc.c:834) ==823== by 0x40D1146: mem_alloc (lib_aux.c:335) ==823== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==823== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==823== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==823== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==823== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==823== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==823== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==823== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==823== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==823== by 0x40C0675: trace_state (lj_trace.c:690) ==823== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==823== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==823== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==823== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==823== by 0x4084A29: lua_resume (lj_api.c:1296) ==823== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==823== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==823== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==823== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==823== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==823== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==823== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==823== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==823== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==823== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==823== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==823== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==823== by 0x8065F7E: main (nginx.c:382) ==823== { <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 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==825== Invalid read of size 4 ==825== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==825== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==825== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==825== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==825== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==825== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==825== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==825== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==825== by 0x8065F7E: main (nginx.c:382) ==825== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==825== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==825== ==825== Process terminating with default action of signal 11 (SIGSEGV) ==825== Access not within mapped region at address 0x0 ==825== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==825== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==825== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==825== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==825== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==825== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==825== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==825== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==825== by 0x8065F7E: main (nginx.c:382) ==825== If you believe this happened as a result of a stack ==825== overflow in your program's main thread (unlikely but ==825== possible), you can try to increase the size of the ==825== main thread stack using the --main-stacksize= flag. ==825== The main thread stack size used in this run was 8388608. ==825== 2,048 bytes in 1 blocks are definitely lost in loss record 3,098 of 3,162 ==825== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==825== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==825== by 0x40D1146: mem_alloc (lib_aux.c:335) ==825== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==825== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==825== by 0x408FB9F: ir_nextk (lj_ir.c:175) ==825== by 0x408FB9F: lj_ir_kslot (lj_ir.c:370) ==825== by 0x40A0D8D: rec_idx_key (lj_record.c:1378) ==825== by 0x40A0D8D: lj_record_idx (lj_record.c:1455) ==825== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==825== by 0x40C016A: trace_state (lj_trace.c:680) ==825== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==825== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==825== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==825== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==825== by 0x4084A29: lua_resume (lj_api.c:1296) ==825== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==825== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==825== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==825== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==825== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==825== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==825== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==825== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==825== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==825== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==825== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==825== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==825== by 0x8065F7E: main (nginx.c:382) ==825== { <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-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 |
==827== Invalid read of size 4 ==827== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==827== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==827== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==827== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==827== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==827== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==827== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==827== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==827== by 0x8065F7E: main (nginx.c:382) ==827== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==827== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==827== ==827== Process terminating with default action of signal 11 (SIGSEGV) ==827== Access not within mapped region at address 0x0 ==827== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==827== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==827== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==827== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==827== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==827== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==827== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==827== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==827== by 0x8065F7E: main (nginx.c:382) ==827== If you believe this happened as a result of a stack ==827== overflow in your program's main thread (unlikely but ==827== possible), you can try to increase the size of the ==827== main thread stack using the --main-stacksize= flag. ==827== The main thread stack size used in this run was 8388608. ==827== 4,096 bytes in 1 blocks are definitely lost in loss record 3,155 of 3,191 ==827== at 0x402C768: realloc (vg_replace_malloc.c:834) ==827== by 0x40D1146: mem_alloc (lib_aux.c:335) ==827== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==827== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==827== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==827== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==827== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==827== by 0x40A9374: crec_ct_ct (lj_crecord.c:440) ==827== by 0x40A9374: crec_ct_tv (lj_crecord.c:691) ==827== by 0x40AB6A7: recff_cdata_index (lj_crecord.c:936) ==827== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==827== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==827== by 0x40C016A: trace_state (lj_trace.c:680) ==827== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==827== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==827== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==827== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==827== by 0x4084A29: lua_resume (lj_api.c:1296) ==827== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==827== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==827== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==827== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==827== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==827== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==827== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==827== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==827== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==827== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==827== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==827== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==827== by 0x8065F7E: main (nginx.c:382) ==827== { <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 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==831== Invalid read of size 4 ==831== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==831== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==831== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==831== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==831== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==831== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==831== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==831== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==831== by 0x8065F7E: main (nginx.c:382) ==831== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==831== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==831== ==831== Process terminating with default action of signal 11 (SIGSEGV) ==831== Access not within mapped region at address 0x0 ==831== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==831== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==831== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==831== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==831== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==831== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==831== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==831== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==831== by 0x8065F7E: main (nginx.c:382) ==831== If you believe this happened as a result of a stack ==831== overflow in your program's main thread (unlikely but ==831== possible), you can try to increase the size of the ==831== main thread stack using the --main-stacksize= flag. ==831== The main thread stack size used in this run was 8388608. ==831== 2,048 bytes in 1 blocks are definitely lost in loss record 3,094 of 3,157 ==831== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==831== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==831== by 0x40D1146: mem_alloc (lib_aux.c:335) ==831== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==831== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==831== by 0x408FB9F: ir_nextk (lj_ir.c:175) ==831== by 0x408FB9F: lj_ir_kslot (lj_ir.c:370) ==831== by 0x40A0D8D: rec_idx_key (lj_record.c:1378) ==831== by 0x40A0D8D: lj_record_idx (lj_record.c:1455) ==831== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==831== by 0x40C016A: trace_state (lj_trace.c:680) ==831== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==831== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==831== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==831== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==831== by 0x4084A29: lua_resume (lj_api.c:1296) ==831== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==831== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==831== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==831== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==831== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==831== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==831== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==831== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==831== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==831== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==831== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==831== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==831== by 0x8065F7E: main (nginx.c:382) ==831== { <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 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 15: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==833== Invalid read of size 4 ==833== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==833== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==833== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==833== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==833== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==833== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==833== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==833== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==833== by 0x8065F7E: main (nginx.c:382) ==833== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==833== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==833== ==833== Process terminating with default action of signal 11 (SIGSEGV) ==833== Access not within mapped region at address 0x0 ==833== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==833== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==833== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==833== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==833== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==833== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==833== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==833== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==833== by 0x8065F7E: main (nginx.c:382) ==833== If you believe this happened as a result of a stack ==833== overflow in your program's main thread (unlikely but ==833== possible), you can try to increase the size of the ==833== main thread stack using the --main-stacksize= flag. ==833== The main thread stack size used in this run was 8388608. ==833== 1,024 bytes in 1 blocks are definitely lost in loss record 3,043 of 3,154 ==833== at 0x402C768: realloc (vg_replace_malloc.c:834) ==833== by 0x40D1146: mem_alloc (lib_aux.c:335) ==833== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==833== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==833== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==833== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==833== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==833== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==833== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==833== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==833== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==833== by 0x40C0675: trace_state (lj_trace.c:690) ==833== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==833== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==833== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==833== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==833== by 0x4084A29: lua_resume (lj_api.c:1296) ==833== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==833== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==833== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==833== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==833== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==833== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==833== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==833== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==833== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==833== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==833== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==833== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==833== by 0x8065F7E: main (nginx.c:382) ==833== { <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 14: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==835== Invalid read of size 4 ==835== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==835== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==835== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==835== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==835== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==835== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==835== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==835== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==835== by 0x8065F7E: main (nginx.c:382) ==835== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==835== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==835== ==835== Process terminating with default action of signal 11 (SIGSEGV) ==835== Access not within mapped region at address 0x0 ==835== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==835== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==835== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==835== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==835== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==835== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==835== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==835== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==835== by 0x8065F7E: main (nginx.c:382) ==835== If you believe this happened as a result of a stack ==835== overflow in your program's main thread (unlikely but ==835== possible), you can try to increase the size of the ==835== main thread stack using the --main-stacksize= flag. ==835== The main thread stack size used in this run was 8388608. ==835== 1,024 bytes in 1 blocks are definitely lost in loss record 3,042 of 3,153 ==835== at 0x402C768: realloc (vg_replace_malloc.c:834) ==835== by 0x40D1146: mem_alloc (lib_aux.c:335) ==835== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==835== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==835== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==835== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==835== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==835== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==835== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==835== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==835== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==835== by 0x40C0675: trace_state (lj_trace.c:690) ==835== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==835== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==835== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==835== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==835== by 0x4084A29: lua_resume (lj_api.c:1296) ==835== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==835== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==835== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==835== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==835== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==835== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==835== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==835== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==835== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==835== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==835== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==835== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==835== by 0x8065F7E: main (nginx.c:382) ==835== { <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 10: captures input table in ngx.re.match - Can't connect to 127.0.0.1:1984: Connection refused |
==837== Invalid read of size 4 ==837== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==837== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==837== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==837== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==837== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==837== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==837== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==837== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==837== by 0x8065F7E: main (nginx.c:382) ==837== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==837== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==837== ==837== Process terminating with default action of signal 11 (SIGSEGV) ==837== Access not within mapped region at address 0x0 ==837== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==837== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==837== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==837== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==837== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==837== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==837== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==837== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==837== by 0x8065F7E: main (nginx.c:382) ==837== If you believe this happened as a result of a stack ==837== overflow in your program's main thread (unlikely but ==837== possible), you can try to increase the size of the ==837== main thread stack using the --main-stacksize= flag. ==837== The main thread stack size used in this run was 8388608. ==837== 2,048 bytes in 1 blocks are definitely lost in loss record 3,126 of 3,190 ==837== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==837== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==837== by 0x40D1146: mem_alloc (lib_aux.c:335) ==837== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==837== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==837== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==837== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==837== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==837== by 0x40C016A: trace_state (lj_trace.c:680) ==837== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==837== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==837== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==837== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==837== by 0x4084A29: lua_resume (lj_api.c:1296) ==837== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==837== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==837== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==837== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==837== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==837== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==837== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==837== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==837== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==837== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==837== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==837== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==837== by 0x8065F7E: main (nginx.c:382) ==837== { <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 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==839== Invalid read of size 4 ==839== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==839== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==839== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==839== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==839== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==839== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==839== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==839== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==839== by 0x8065F7E: main (nginx.c:382) ==839== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==839== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==839== ==839== Process terminating with default action of signal 11 (SIGSEGV) ==839== Access not within mapped region at address 0x0 ==839== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==839== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==839== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==839== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==839== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==839== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==839== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==839== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==839== by 0x8065F7E: main (nginx.c:382) ==839== If you believe this happened as a result of a stack ==839== overflow in your program's main thread (unlikely but ==839== possible), you can try to increase the size of the ==839== main thread stack using the --main-stacksize= flag. ==839== The main thread stack size used in this run was 8388608. ==839== 2,048 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,154 ==839== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==839== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==839== by 0x40D1146: mem_alloc (lib_aux.c:335) ==839== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==839== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==839== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==839== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==839== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==839== by 0x40A0AA4: lj_record_idx (lj_record.c:1419) ==839== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==839== by 0x40C016A: trace_state (lj_trace.c:680) ==839== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==839== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==839== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==839== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==839== by 0x4084A29: lua_resume (lj_api.c:1296) ==839== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==839== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==839== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==839== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==839== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==839== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==839== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==839== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==839== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==839== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==839== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==839== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==839== by 0x8065F7E: main (nginx.c:382) ==839== { <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 12: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused |
==841== Invalid read of size 4 ==841== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==841== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==841== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==841== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==841== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==841== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==841== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==841== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==841== by 0x8065F7E: main (nginx.c:382) ==841== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==841== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==841== ==841== Process terminating with default action of signal 11 (SIGSEGV) ==841== Access not within mapped region at address 0x0 ==841== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==841== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==841== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==841== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==841== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==841== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==841== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==841== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==841== by 0x8065F7E: main (nginx.c:382) ==841== If you believe this happened as a result of a stack ==841== overflow in your program's main thread (unlikely but ==841== possible), you can try to increase the size of the ==841== main thread stack using the --main-stacksize= flag. ==841== The main thread stack size used in this run was 8388608. ==841== 1,024 bytes in 1 blocks are definitely lost in loss record 3,045 of 3,156 ==841== at 0x402C768: realloc (vg_replace_malloc.c:834) ==841== by 0x40D1146: mem_alloc (lib_aux.c:335) ==841== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==841== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==841== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==841== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==841== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==841== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==841== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==841== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==841== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==841== by 0x40C0675: trace_state (lj_trace.c:690) ==841== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==841== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==841== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==841== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==841== by 0x4084A29: lua_resume (lj_api.c:1296) ==841== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==841== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==841== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==841== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==841== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==841== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==841== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==841== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==841== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==841== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==841== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==841== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==841== by 0x8065F7E: main (nginx.c:382) ==841== { <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-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 |
==848== Invalid read of size 4 ==848== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==848== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==848== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==848== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==848== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==848== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==848== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==848== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==848== by 0x8065F7E: main (nginx.c:382) ==848== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==848== ==848== Process terminating with default action of signal 11 (SIGSEGV) ==848== Access not within mapped region at address 0x0 ==848== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==848== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==848== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==848== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==848== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==848== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==848== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==848== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==848== by 0x8065F7E: main (nginx.c:382) ==848== If you believe this happened as a result of a stack ==848== overflow in your program's main thread (unlikely but ==848== possible), you can try to increase the size of the ==848== main thread stack using the --main-stacksize= flag. ==848== The main thread stack size used in this run was 8388608. ==848== 1,024 bytes in 1 blocks are definitely lost in loss record 3,112 of 3,228 ==848== at 0x402C768: realloc (vg_replace_malloc.c:834) ==848== by 0x40D1146: mem_alloc (lib_aux.c:335) ==848== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==848== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==848== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==848== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==848== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==848== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==848== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==848== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==848== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==848== by 0x40C0675: trace_state (lj_trace.c:690) ==848== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==848== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==848== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==848== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==848== by 0x4084A29: lua_resume (lj_api.c:1296) ==848== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==848== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==848== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==848== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==848== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==848== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==848== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==848== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==848== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==848== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==848== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==848== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==848== by 0x8065F7E: main (nginx.c:382) ==848== { <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 |
==850== Invalid read of size 4 ==850== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==850== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==850== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==850== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==850== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==850== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==850== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==850== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==850== by 0x8065F7E: main (nginx.c:382) ==850== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==850== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==850== ==850== Process terminating with default action of signal 11 (SIGSEGV) ==850== Access not within mapped region at address 0x0 ==850== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==850== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==850== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==850== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==850== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==850== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==850== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==850== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==850== by 0x8065F7E: main (nginx.c:382) ==850== If you believe this happened as a result of a stack ==850== overflow in your program's main thread (unlikely but ==850== possible), you can try to increase the size of the ==850== main thread stack using the --main-stacksize= flag. ==850== 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-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused |
==852== Invalid read of size 4 ==852== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==852== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==852== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==852== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==852== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==852== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==852== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==852== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==852== by 0x8065F7E: main (nginx.c:382) ==852== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==852== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==852== ==852== Process terminating with default action of signal 11 (SIGSEGV) ==852== Access not within mapped region at address 0x0 ==852== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==852== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==852== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==852== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==852== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==852== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==852== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==852== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==852== by 0x8065F7E: main (nginx.c:382) ==852== If you believe this happened as a result of a stack ==852== overflow in your program's main thread (unlikely but ==852== possible), you can try to increase the size of the ==852== main thread stack using the --main-stacksize= flag. ==852== The main thread stack size used in this run was 8388608. ==852== 1,024 bytes in 1 blocks are definitely lost in loss record 3,076 of 3,192 ==852== at 0x402C768: realloc (vg_replace_malloc.c:834) ==852== by 0x40D1146: mem_alloc (lib_aux.c:335) ==852== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==852== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==852== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==852== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==852== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==852== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==852== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==852== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==852== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==852== by 0x40C0675: trace_state (lj_trace.c:690) ==852== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==852== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==852== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==852== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==852== by 0x4084A29: lua_resume (lj_api.c:1296) ==852== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==852== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==852== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==852== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==852== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==852== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==852== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==852== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==852== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==852== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==852== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==852== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==852== by 0x8065F7E: main (nginx.c:382) ==852== { <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 |
==855== Invalid read of size 4 ==855== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==855== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==855== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==855== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==855== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==855== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==855== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==855== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==855== by 0x8065F7E: main (nginx.c:382) ==855== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==855== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==855== ==855== Process terminating with default action of signal 11 (SIGSEGV) ==855== Access not within mapped region at address 0x0 ==855== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==855== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==855== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==855== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==855== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==855== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==855== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==855== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==855== by 0x8065F7E: main (nginx.c:382) ==855== If you believe this happened as a result of a stack ==855== overflow in your program's main thread (unlikely but ==855== possible), you can try to increase the size of the ==855== main thread stack using the --main-stacksize= flag. ==855== The main thread stack size used in this run was 8388608. ==855== 1,024 bytes in 1 blocks are definitely lost in loss record 3,045 of 3,158 ==855== at 0x402C768: realloc (vg_replace_malloc.c:834) ==855== by 0x40D1146: mem_alloc (lib_aux.c:335) ==855== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==855== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==855== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==855== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==855== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==855== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==855== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==855== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==855== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==855== by 0x40C0675: trace_state (lj_trace.c:690) ==855== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==855== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==855== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==855== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==855== by 0x4084A29: lua_resume (lj_api.c:1296) ==855== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==855== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==855== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==855== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==855== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==855== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==855== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==855== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==855== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==855== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==855== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==855== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==855== by 0x8065F7E: main (nginx.c:382) ==855== { <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-split.t | TEST 20: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==861== Invalid read of size 4 ==861== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==861== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==861== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==861== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==861== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==861== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==861== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==861== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==861== by 0x8065F7E: main (nginx.c:382) ==861== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==861== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==861== ==861== Process terminating with default action of signal 11 (SIGSEGV) ==861== Access not within mapped region at address 0x0 ==861== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==861== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==861== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==861== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==861== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==861== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==861== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==861== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==861== by 0x8065F7E: main (nginx.c:382) ==861== If you believe this happened as a result of a stack ==861== overflow in your program's main thread (unlikely but ==861== possible), you can try to increase the size of the ==861== main thread stack using the --main-stacksize= flag. ==861== The main thread stack size used in this run was 8388608. ==861== 1,024 bytes in 1 blocks are definitely lost in loss record 3,097 of 3,210 ==861== at 0x402C768: realloc (vg_replace_malloc.c:834) ==861== by 0x40D1146: mem_alloc (lib_aux.c:335) ==861== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==861== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==861== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==861== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==861== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==861== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==861== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==861== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==861== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==861== by 0x40C0675: trace_state (lj_trace.c:690) ==861== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==861== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==861== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==861== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==861== by 0x4084A29: lua_resume (lj_api.c:1296) ==861== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==861== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==861== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==861== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==861== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==861== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==861== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==861== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==861== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==861== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==861== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==861== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==861== by 0x8065F7E: main (nginx.c:382) ==861== { <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 29: no match separator bis (github issue #104) - Can't connect to 127.0.0.1:1984: Connection refused |
==863== Invalid read of size 4 ==863== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==863== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==863== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==863== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==863== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==863== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==863== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==863== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==863== by 0x8065F7E: main (nginx.c:382) ==863== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==863== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==863== ==863== Process terminating with default action of signal 11 (SIGSEGV) ==863== Access not within mapped region at address 0x0 ==863== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==863== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==863== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==863== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==863== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==863== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==863== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==863== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==863== by 0x8065F7E: main (nginx.c:382) ==863== If you believe this happened as a result of a stack ==863== overflow in your program's main thread (unlikely but ==863== possible), you can try to increase the size of the ==863== main thread stack using the --main-stacksize= flag. ==863== The main thread stack size used in this run was 8388608. ==863== 1,024 bytes in 1 blocks are definitely lost in loss record 3,081 of 3,197 ==863== at 0x402C768: realloc (vg_replace_malloc.c:834) ==863== by 0x40D1146: mem_alloc (lib_aux.c:335) ==863== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==863== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==863== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==863== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==863== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==863== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==863== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==863== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==863== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==863== by 0x40C0675: trace_state (lj_trace.c:690) ==863== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==863== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==863== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==863== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==863== by 0x4084A29: lua_resume (lj_api.c:1296) ==863== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==863== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==863== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==863== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==863== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==863== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==863== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==863== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==863== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==863== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==863== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==863== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==863== by 0x8065F7E: main (nginx.c:382) ==863== { <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 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==866== Invalid read of size 4 ==866== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==866== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==866== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==866== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==866== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==866== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==866== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==866== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==866== by 0x8065F7E: main (nginx.c:382) ==866== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==866== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==866== ==866== Process terminating with default action of signal 11 (SIGSEGV) ==866== Access not within mapped region at address 0x0 ==866== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==866== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==866== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==866== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==866== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==866== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==866== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==866== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==866== by 0x8065F7E: main (nginx.c:382) ==866== If you believe this happened as a result of a stack ==866== overflow in your program's main thread (unlikely but ==866== possible), you can try to increase the size of the ==866== main thread stack using the --main-stacksize= flag. ==866== The main thread stack size used in this run was 8388608. ==866== 1,024 bytes in 1 blocks are definitely lost in loss record 3,075 of 3,190 ==866== at 0x402C768: realloc (vg_replace_malloc.c:834) ==866== by 0x40D1146: mem_alloc (lib_aux.c:335) ==866== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==866== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==866== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==866== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==866== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==866== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==866== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==866== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==866== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==866== by 0x40C0675: trace_state (lj_trace.c:690) ==866== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==866== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==866== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==866== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==866== by 0x4084A29: lua_resume (lj_api.c:1296) ==866== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==866== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==866== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==866== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==866== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==866== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==866== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==866== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==866== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==866== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==866== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==866== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==866== by 0x8065F7E: main (nginx.c:382) ==866== { <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 17: split matches, trailing subjects - Can't connect to 127.0.0.1:1984: Connection refused |
==868== Invalid read of size 4 ==868== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==868== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==868== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==868== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==868== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==868== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==868== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==868== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==868== by 0x8065F7E: main (nginx.c:382) ==868== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==868== ==868== Process terminating with default action of signal 11 (SIGSEGV) ==868== Access not within mapped region at address 0x0 ==868== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==868== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==868== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==868== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==868== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==868== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==868== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==868== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==868== by 0x8065F7E: main (nginx.c:382) ==868== If you believe this happened as a result of a stack ==868== overflow in your program's main thread (unlikely but ==868== possible), you can try to increase the size of the ==868== main thread stack using the --main-stacksize= flag. ==868== The main thread stack size used in this run was 8388608. ==868== 1,024 bytes in 1 blocks are definitely lost in loss record 3,079 of 3,195 ==868== at 0x402C768: realloc (vg_replace_malloc.c:834) ==868== by 0x40D1146: mem_alloc (lib_aux.c:335) ==868== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==868== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==868== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==868== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==868== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==868== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==868== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==868== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==868== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==868== by 0x40C0675: trace_state (lj_trace.c:690) ==868== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==868== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==868== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==868== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==868== by 0x4084A29: lua_resume (lj_api.c:1296) ==868== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==868== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==868== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==868== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==868== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==868== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==868== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==868== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==868== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==868== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==868== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==868== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==868== by 0x8065F7E: main (nginx.c:382) ==868== { <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-split.t | TEST 18: split matches, real use-case - Can't connect to 127.0.0.1:1984: Connection refused |
==870== Invalid read of size 4 ==870== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==870== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==870== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==870== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==870== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==870== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==870== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==870== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==870== by 0x8065F7E: main (nginx.c:382) ==870== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==870== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==870== ==870== Process terminating with default action of signal 11 (SIGSEGV) ==870== Access not within mapped region at address 0x0 ==870== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==870== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==870== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==870== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==870== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==870== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==870== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==870== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==870== by 0x8065F7E: main (nginx.c:382) ==870== If you believe this happened as a result of a stack ==870== overflow in your program's main thread (unlikely but ==870== possible), you can try to increase the size of the ==870== main thread stack using the --main-stacksize= flag. ==870== The main thread stack size used in this run was 8388608. ==870== 1,024 bytes in 1 blocks are definitely lost in loss record 2,983 of 3,074 ==870== at 0x402C768: realloc (vg_replace_malloc.c:834) ==870== by 0x40D1146: mem_alloc (lib_aux.c:335) ==870== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==870== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==870== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==870== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==870== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==870== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==870== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==870== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==870== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==870== by 0x40C0675: trace_state (lj_trace.c:690) ==870== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==870== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==870== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==870== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==870== by 0x4084A29: lua_resume (lj_api.c:1296) ==870== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==870== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==870== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==870== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==870== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==870== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==870== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==870== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==870== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==870== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==870== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==870== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==870== by 0x8065F7E: main (nginx.c:382) ==870== { <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 6: split matches + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==872== Invalid read of size 4 ==872== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==872== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==872== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==872== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==872== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==872== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==872== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==872== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==872== by 0x8065F7E: main (nginx.c:382) ==872== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==872== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==872== ==872== Process terminating with default action of signal 11 (SIGSEGV) ==872== Access not within mapped region at address 0x0 ==872== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==872== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==872== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==872== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==872== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==872== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==872== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==872== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==872== by 0x8065F7E: main (nginx.c:382) ==872== If you believe this happened as a result of a stack ==872== overflow in your program's main thread (unlikely but ==872== possible), you can try to increase the size of the ==872== main thread stack using the --main-stacksize= flag. ==872== The main thread stack size used in this run was 8388608. ==872== 1,024 bytes in 1 blocks are definitely lost in loss record 3,077 of 3,193 ==872== at 0x402C768: realloc (vg_replace_malloc.c:834) ==872== by 0x40D1146: mem_alloc (lib_aux.c:335) ==872== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==872== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==872== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==872== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==872== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==872== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==872== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==872== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==872== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==872== by 0x40C0675: trace_state (lj_trace.c:690) ==872== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==872== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==872== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==872== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==872== by 0x4084A29: lua_resume (lj_api.c:1296) ==872== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==872== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==872== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==872== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==872== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==872== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==872== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==872== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==872== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==872== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==872== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==872== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==872== by 0x8065F7E: main (nginx.c:382) ==872== { <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 14: split matches, provided res table (non-cleared) + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==874== Invalid read of size 4 ==874== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==874== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==874== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==874== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==874== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==874== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==874== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==874== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==874== by 0x8065F7E: main (nginx.c:382) ==874== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==874== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==874== ==874== Process terminating with default action of signal 11 (SIGSEGV) ==874== Access not within mapped region at address 0x0 ==874== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==874== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==874== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==874== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==874== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==874== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==874== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==874== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==874== by 0x8065F7E: main (nginx.c:382) ==874== If you believe this happened as a result of a stack ==874== overflow in your program's main thread (unlikely but ==874== possible), you can try to increase the size of the ==874== main thread stack using the --main-stacksize= flag. ==874== The main thread stack size used in this run was 8388608. ==874== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,198 ==874== at 0x402C768: realloc (vg_replace_malloc.c:834) ==874== by 0x40D1146: mem_alloc (lib_aux.c:335) ==874== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==874== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==874== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==874== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==874== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==874== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==874== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==874== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==874== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==874== by 0x40C0675: trace_state (lj_trace.c:690) ==874== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==874== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==874== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==874== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==874== by 0x4084A29: lua_resume (lj_api.c:1296) ==874== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==874== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==874== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==874== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==874== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==874== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==874== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==874== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==874== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==874== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==874== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==874== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==874== by 0x8065F7E: main (nginx.c:382) ==874== { <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 23: regex is "" with max - Can't connect to 127.0.0.1:1984: Connection refused |
==876== Invalid read of size 4 ==876== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==876== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==876== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==876== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==876== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==876== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==876== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==876== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==876== by 0x8065F7E: main (nginx.c:382) ==876== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==876== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==876== ==876== Process terminating with default action of signal 11 (SIGSEGV) ==876== Access not within mapped region at address 0x0 ==876== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==876== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==876== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==876== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==876== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==876== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==876== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==876== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==876== by 0x8065F7E: main (nginx.c:382) ==876== If you believe this happened as a result of a stack ==876== overflow in your program's main thread (unlikely but ==876== possible), you can try to increase the size of the ==876== main thread stack using the --main-stacksize= flag. ==876== The main thread stack size used in this run was 8388608. ==876== 1,024 bytes in 1 blocks are definitely lost in loss record 3,094 of 3,210 ==876== at 0x402C768: realloc (vg_replace_malloc.c:834) ==876== by 0x40D1146: mem_alloc (lib_aux.c:335) ==876== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==876== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==876== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==876== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==876== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==876== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==876== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==876== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==876== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==876== by 0x40C0675: trace_state (lj_trace.c:690) ==876== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==876== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==876== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==876== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==876== by 0x4084A29: lua_resume (lj_api.c:1296) ==876== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==876== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==876== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==876== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==876== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==876== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==876== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==876== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==876== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==876== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==876== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==876== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==876== by 0x8065F7E: main (nginx.c:382) ==876== { <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 4: split matches + submatch (matching) - Can't connect to 127.0.0.1:1984: Connection refused |
==878== Invalid read of size 4 ==878== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==878== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==878== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==878== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==878== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==878== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==878== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==878== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==878== by 0x8065F7E: main (nginx.c:382) ==878== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==878== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==878== ==878== Process terminating with default action of signal 11 (SIGSEGV) ==878== Access not within mapped region at address 0x0 ==878== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==878== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==878== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==878== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==878== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==878== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==878== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==878== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==878== by 0x8065F7E: main (nginx.c:382) ==878== If you believe this happened as a result of a stack ==878== overflow in your program's main thread (unlikely but ==878== possible), you can try to increase the size of the ==878== main thread stack using the --main-stacksize= flag. ==878== The main thread stack size used in this run was 8388608. ==878== 1,024 bytes in 1 blocks are definitely lost in loss record 3,076 of 3,188 ==878== at 0x402C768: realloc (vg_replace_malloc.c:834) ==878== by 0x40D1146: mem_alloc (lib_aux.c:335) ==878== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==878== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==878== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==878== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==878== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==878== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==878== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==878== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==878== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==878== by 0x40C0675: trace_state (lj_trace.c:690) ==878== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==878== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==878== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==878== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==878== by 0x4084A29: lua_resume (lj_api.c:1296) ==878== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==878== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==878== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==878== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==878== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==878== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==878== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==878== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==878== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==878== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==878== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==878== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==878== by 0x8065F7E: main (nginx.c:382) ==878== { <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 5: split matches + submatch (not matching) - Can't connect to 127.0.0.1:1984: Connection refused |
==880== Invalid read of size 4 ==880== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==880== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==880== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==880== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==880== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==880== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==880== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==880== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==880== by 0x8065F7E: main (nginx.c:382) ==880== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==880== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==880== ==880== Process terminating with default action of signal 11 (SIGSEGV) ==880== Access not within mapped region at address 0x0 ==880== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==880== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==880== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==880== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==880== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==880== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==880== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==880== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==880== by 0x8065F7E: main (nginx.c:382) ==880== If you believe this happened as a result of a stack ==880== overflow in your program's main thread (unlikely but ==880== possible), you can try to increase the size of the ==880== main thread stack using the --main-stacksize= flag. ==880== The main thread stack size used in this run was 8388608. ==880== 1,024 bytes in 1 blocks are definitely lost in loss record 3,079 of 3,191 ==880== at 0x402C768: realloc (vg_replace_malloc.c:834) ==880== by 0x40D1146: mem_alloc (lib_aux.c:335) ==880== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==880== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==880== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==880== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==880== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==880== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==880== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==880== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==880== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==880== by 0x40C0675: trace_state (lj_trace.c:690) ==880== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==880== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==880== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==880== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==880== by 0x4084A29: lua_resume (lj_api.c:1296) ==880== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==880== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==880== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==880== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==880== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==880== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==880== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==880== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==880== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==880== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==880== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==880== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==880== by 0x8065F7E: main (nginx.c:382) ==880== { <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 36: split by unit separator 1/2 (GH issue lua-nginx-module #1217) - Can't connect to 127.0.0.1:1984: Connection refused |
==882== Invalid read of size 4 ==882== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==882== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==882== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==882== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==882== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==882== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==882== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==882== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==882== by 0x8065F7E: main (nginx.c:382) ==882== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==882== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==882== ==882== Process terminating with default action of signal 11 (SIGSEGV) ==882== Access not within mapped region at address 0x0 ==882== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==882== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==882== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==882== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==882== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==882== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==882== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==882== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==882== by 0x8065F7E: main (nginx.c:382) ==882== If you believe this happened as a result of a stack ==882== overflow in your program's main thread (unlikely but ==882== possible), you can try to increase the size of the ==882== main thread stack using the --main-stacksize= flag. ==882== The main thread stack size used in this run was 8388608. ==882== 2,048 bytes in 1 blocks are definitely lost in loss record 3,152 of 3,217 ==882== at 0x402C768: realloc (vg_replace_malloc.c:834) ==882== by 0x40D1146: mem_alloc (lib_aux.c:335) ==882== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==882== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==882== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==882== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==882== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==882== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==882== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==882== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==882== by 0x40C0675: trace_state (lj_trace.c:690) ==882== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==882== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==882== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==882== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==882== by 0x4084A29: lua_resume (lj_api.c:1296) ==882== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==882== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==882== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==882== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==882== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==882== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==882== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==882== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==882== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==882== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==882== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==882== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==882== by 0x8065F7E: main (nginx.c:382) ==882== { <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 28: no match separator (github issue #104) & max - Can't connect to 127.0.0.1:1984: Connection refused |
==884== Invalid read of size 4 ==884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==884== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==884== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==884== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==884== by 0x8065F7E: main (nginx.c:382) ==884== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==884== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==884== ==884== Process terminating with default action of signal 11 (SIGSEGV) ==884== Access not within mapped region at address 0x0 ==884== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==884== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==884== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==884== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==884== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==884== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==884== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==884== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==884== by 0x8065F7E: main (nginx.c:382) ==884== If you believe this happened as a result of a stack ==884== overflow in your program's main thread (unlikely but ==884== possible), you can try to increase the size of the ==884== main thread stack using the --main-stacksize= flag. ==884== The main thread stack size used in this run was 8388608. ==884== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,198 ==884== at 0x402C768: realloc (vg_replace_malloc.c:834) ==884== by 0x40D1146: mem_alloc (lib_aux.c:335) ==884== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==884== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==884== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==884== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==884== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==884== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==884== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==884== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==884== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==884== by 0x40C0675: trace_state (lj_trace.c:690) ==884== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==884== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==884== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==884== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==884== by 0x4084A29: lua_resume (lj_api.c:1296) ==884== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==884== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==884== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==884== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==884== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==884== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==884== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==884== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==884== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==884== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==884== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==884== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==884== by 0x8065F7E: main (nginx.c:382) ==884== { <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 12: split matches, provided res table (non-cleared) - Can't connect to 127.0.0.1:1984: Connection refused |
==905== Invalid read of size 4 ==905== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==905== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==905== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==905== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==905== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==905== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==905== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==905== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==905== by 0x8065F7E: main (nginx.c:382) ==905== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==905== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==905== ==905== Process terminating with default action of signal 11 (SIGSEGV) ==905== Access not within mapped region at address 0x0 ==905== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==905== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==905== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==905== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==905== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==905== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==905== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==905== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==905== by 0x8065F7E: main (nginx.c:382) ==905== If you believe this happened as a result of a stack ==905== overflow in your program's main thread (unlikely but ==905== possible), you can try to increase the size of the ==905== main thread stack using the --main-stacksize= flag. ==905== The main thread stack size used in this run was 8388608. ==905== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,200 ==905== at 0x402C768: realloc (vg_replace_malloc.c:834) ==905== by 0x40D1146: mem_alloc (lib_aux.c:335) ==905== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==905== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==905== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==905== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==905== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==905== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==905== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==905== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==905== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==905== by 0x40C0675: trace_state (lj_trace.c:690) ==905== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==905== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==905== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==905== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==905== by 0x4084A29: lua_resume (lj_api.c:1296) ==905== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==905== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==905== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==905== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==905== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==905== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==905== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==905== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==905== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==905== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==905== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==905== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==905== by 0x8065F7E: main (nginx.c:382) ==905== { <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 21: split matches, pos is larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused |
==907== Invalid read of size 4 ==907== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==907== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==907== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==907== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==907== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==907== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==907== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==907== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==907== by 0x8065F7E: main (nginx.c:382) ==907== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==907== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==907== ==907== Process terminating with default action of signal 11 (SIGSEGV) ==907== Access not within mapped region at address 0x0 ==907== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==907== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==907== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==907== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==907== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==907== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==907== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==907== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==907== by 0x8065F7E: main (nginx.c:382) ==907== If you believe this happened as a result of a stack ==907== overflow in your program's main thread (unlikely but ==907== possible), you can try to increase the size of the ==907== main thread stack using the --main-stacksize= flag. ==907== 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 15: split matches, provided res table + max limiter + sub-match capturing group - Can't connect to 127.0.0.1:1984: Connection refused |
==909== Invalid read of size 4 ==909== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==909== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==909== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==909== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==909== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==909== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==909== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==909== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==909== by 0x8065F7E: main (nginx.c:382) ==909== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==909== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==909== ==909== Process terminating with default action of signal 11 (SIGSEGV) ==909== Access not within mapped region at address 0x0 ==909== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==909== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==909== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==909== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==909== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==909== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==909== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==909== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==909== by 0x8065F7E: main (nginx.c:382) ==909== If you believe this happened as a result of a stack ==909== overflow in your program's main thread (unlikely but ==909== possible), you can try to increase the size of the ==909== main thread stack using the --main-stacksize= flag. ==909== The main thread stack size used in this run was 8388608. ==909== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,194 ==909== at 0x402C768: realloc (vg_replace_malloc.c:834) ==909== by 0x40D1146: mem_alloc (lib_aux.c:335) ==909== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==909== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==909== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==909== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==909== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==909== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==909== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==909== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==909== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==909== by 0x40C0675: trace_state (lj_trace.c:690) ==909== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==909== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==909== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==909== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==909== by 0x4084A29: lua_resume (lj_api.c:1296) ==909== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==909== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==909== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==909== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==909== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==909== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==909== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==909== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==909== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==909== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==909== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==909== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==909== by 0x8065F7E: main (nginx.c:382) ==909== { <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 19: split no matches - Can't connect to 127.0.0.1:1984: Connection refused |
==911== Invalid read of size 4 ==911== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==911== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==911== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==911== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==911== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==911== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==911== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==911== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==911== by 0x8065F7E: main (nginx.c:382) ==911== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==911== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==911== ==911== Process terminating with default action of signal 11 (SIGSEGV) ==911== Access not within mapped region at address 0x0 ==911== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==911== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==911== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==911== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==911== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==911== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==911== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==911== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==911== by 0x8065F7E: main (nginx.c:382) ==911== If you believe this happened as a result of a stack ==911== overflow in your program's main thread (unlikely but ==911== possible), you can try to increase the size of the ==911== main thread stack using the --main-stacksize= flag. ==911== The main thread stack size used in this run was 8388608. ==911== 1,024 bytes in 1 blocks are definitely lost in loss record 3,074 of 3,190 ==911== at 0x402C768: realloc (vg_replace_malloc.c:834) ==911== by 0x40D1146: mem_alloc (lib_aux.c:335) ==911== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==911== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==911== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==911== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==911== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==911== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==911== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==911== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==911== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==911== by 0x40C0675: trace_state (lj_trace.c:690) ==911== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==911== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==911== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==911== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==911== by 0x4084A29: lua_resume (lj_api.c:1296) ==911== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==911== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==911== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==911== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==911== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==911== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==911== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==911== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==911== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==911== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==911== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==911== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==911== by 0x8065F7E: main (nginx.c:382) ==911== { <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 7: split matches + submatch + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==913== Invalid read of size 4 ==913== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==913== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==913== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==913== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==913== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==913== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==913== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==913== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==913== by 0x8065F7E: main (nginx.c:382) ==913== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==913== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==913== ==913== Process terminating with default action of signal 11 (SIGSEGV) ==913== Access not within mapped region at address 0x0 ==913== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==913== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==913== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==913== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==913== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==913== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==913== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==913== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==913== by 0x8065F7E: main (nginx.c:382) ==913== If you believe this happened as a result of a stack ==913== overflow in your program's main thread (unlikely but ==913== possible), you can try to increase the size of the ==913== main thread stack using the --main-stacksize= flag. ==913== The main thread stack size used in this run was 8388608. ==913== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,194 ==913== at 0x402C768: realloc (vg_replace_malloc.c:834) ==913== by 0x40D1146: mem_alloc (lib_aux.c:335) ==913== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==913== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==913== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==913== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==913== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==913== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==913== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==913== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==913== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==913== by 0x40C0675: trace_state (lj_trace.c:690) ==913== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==913== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==913== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==913== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==913== by 0x4084A29: lua_resume (lj_api.c:1296) ==913== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==913== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==913== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==913== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==913== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==913== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==913== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==913== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==913== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==913== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==913== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==913== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==913== by 0x8065F7E: main (nginx.c:382) ==913== { <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 39: remaining characters are matched by regex (with max) - Can't connect to 127.0.0.1:1984: Connection refused |
==915== Invalid read of size 4 ==915== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==915== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==915== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==915== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==915== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==915== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==915== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==915== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==915== by 0x8065F7E: main (nginx.c:382) ==915== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==915== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==915== ==915== Process terminating with default action of signal 11 (SIGSEGV) ==915== Access not within mapped region at address 0x0 ==915== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==915== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==915== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==915== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==915== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==915== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==915== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==915== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==915== by 0x8065F7E: main (nginx.c:382) ==915== If you believe this happened as a result of a stack ==915== overflow in your program's main thread (unlikely but ==915== possible), you can try to increase the size of the ==915== main thread stack using the --main-stacksize= flag. ==915== The main thread stack size used in this run was 8388608. ==915== 1,024 bytes in 1 blocks are definitely lost in loss record 3,086 of 3,202 ==915== at 0x402C768: realloc (vg_replace_malloc.c:834) ==915== by 0x40D1146: mem_alloc (lib_aux.c:335) ==915== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==915== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==915== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==915== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==915== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==915== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==915== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==915== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==915== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==915== by 0x40C0675: trace_state (lj_trace.c:690) ==915== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==915== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==915== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==915== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==915== by 0x4084A29: lua_resume (lj_api.c:1296) ==915== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==915== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==915== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==915== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==915== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==915== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==915== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==915== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==915== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==915== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==915== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==915== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==915== by 0x8065F7E: main (nginx.c:382) ==915== { <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 32: behavior with /^()/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused |
==917== Invalid read of size 4 ==917== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==917== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==917== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==917== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==917== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==917== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==917== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==917== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==917== by 0x8065F7E: main (nginx.c:382) ==917== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==917== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==917== ==917== Process terminating with default action of signal 11 (SIGSEGV) ==917== Access not within mapped region at address 0x0 ==917== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==917== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==917== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==917== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==917== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==917== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==917== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==917== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==917== by 0x8065F7E: main (nginx.c:382) ==917== If you believe this happened as a result of a stack ==917== overflow in your program's main thread (unlikely but ==917== possible), you can try to increase the size of the ==917== main thread stack using the --main-stacksize= flag. ==917== The main thread stack size used in this run was 8388608. ==917== 1,024 bytes in 1 blocks are definitely lost in loss record 3,071 of 3,184 ==917== at 0x402C768: realloc (vg_replace_malloc.c:834) ==917== by 0x40D1146: mem_alloc (lib_aux.c:335) ==917== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==917== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==917== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==917== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==917== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==917== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==917== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==917== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==917== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==917== by 0x40C0675: trace_state (lj_trace.c:690) ==917== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==917== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==917== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==917== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==917== by 0x4084A29: lua_resume (lj_api.c:1296) ==917== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==917== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==917== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==917== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==917== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==917== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==917== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==917== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==917== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==917== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==917== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==917== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==917== by 0x8065F7E: main (nginx.c:382) ==917== { <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 8: split matches + max limiter set to 0 - Can't connect to 127.0.0.1:1984: Connection refused |
==919== Invalid read of size 4 ==919== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==919== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==919== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==919== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==919== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==919== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==919== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==919== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==919== by 0x8065F7E: main (nginx.c:382) ==919== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==919== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==919== ==919== Process terminating with default action of signal 11 (SIGSEGV) ==919== Access not within mapped region at address 0x0 ==919== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==919== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==919== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==919== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==919== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==919== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==919== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==919== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==919== by 0x8065F7E: main (nginx.c:382) ==919== If you believe this happened as a result of a stack ==919== overflow in your program's main thread (unlikely but ==919== possible), you can try to increase the size of the ==919== main thread stack using the --main-stacksize= flag. ==919== The main thread stack size used in this run was 8388608. ==919== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,194 ==919== at 0x402C768: realloc (vg_replace_malloc.c:834) ==919== by 0x40D1146: mem_alloc (lib_aux.c:335) ==919== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==919== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==919== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==919== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==919== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==919== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==919== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==919== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==919== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==919== by 0x40C0675: trace_state (lj_trace.c:690) ==919== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==919== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==919== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==919== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==919== by 0x4084A29: lua_resume (lj_api.c:1296) ==919== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==919== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==919== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==919== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==919== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==919== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==919== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==919== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==919== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==919== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==919== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==919== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==919== by 0x8065F7E: main (nginx.c:382) ==919== { <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 35: behavior with /^(\d)/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused |
==921== Invalid read of size 4 ==921== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==921== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==921== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==921== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==921== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==921== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==921== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==921== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==921== by 0x8065F7E: main (nginx.c:382) ==921== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==921== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==921== ==921== Process terminating with default action of signal 11 (SIGSEGV) ==921== Access not within mapped region at address 0x0 ==921== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==921== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==921== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==921== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==921== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==921== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==921== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==921== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==921== by 0x8065F7E: main (nginx.c:382) ==921== If you believe this happened as a result of a stack ==921== overflow in your program's main thread (unlikely but ==921== possible), you can try to increase the size of the ==921== main thread stack using the --main-stacksize= flag. ==921== The main thread stack size used in this run was 8388608. ==921== 1,024 bytes in 1 blocks are definitely lost in loss record 3,099 of 3,215 ==921== at 0x402C768: realloc (vg_replace_malloc.c:834) ==921== by 0x40D1146: mem_alloc (lib_aux.c:335) ==921== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==921== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==921== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==921== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==921== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==921== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==921== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==921== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==921== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==921== by 0x40C0675: trace_state (lj_trace.c:690) ==921== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==921== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==921== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==921== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==921== by 0x4084A29: lua_resume (lj_api.c:1296) ==921== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==921== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==921== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==921== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==921== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==921== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==921== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==921== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==921== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==921== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==921== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==921== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==921== by 0x8065F7E: main (nginx.c:382) ==921== { <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 9: split matches + max limiter set to a negative value - Can't connect to 127.0.0.1:1984: Connection refused |
==923== Invalid read of size 4 ==923== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==923== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==923== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==923== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==923== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==923== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==923== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==923== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==923== by 0x8065F7E: main (nginx.c:382) ==923== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==923== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==923== ==923== Process terminating with default action of signal 11 (SIGSEGV) ==923== Access not within mapped region at address 0x0 ==923== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==923== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==923== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==923== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==923== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==923== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==923== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==923== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==923== by 0x8065F7E: main (nginx.c:382) ==923== If you believe this happened as a result of a stack ==923== overflow in your program's main thread (unlikely but ==923== possible), you can try to increase the size of the ==923== main thread stack using the --main-stacksize= flag. ==923== The main thread stack size used in this run was 8388608. ==923== 1,024 bytes in 1 blocks are definitely lost in loss record 3,076 of 3,192 ==923== at 0x402C768: realloc (vg_replace_malloc.c:834) ==923== by 0x40D1146: mem_alloc (lib_aux.c:335) ==923== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==923== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==923== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==923== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==923== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==923== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==923== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==923== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==923== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==923== by 0x40C0675: trace_state (lj_trace.c:690) ==923== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==923== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==923== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==923== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==923== by 0x4084A29: lua_resume (lj_api.c:1296) ==923== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==923== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==923== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==923== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==923== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==923== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==923== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==923== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==923== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==923== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==923== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==923== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==923== by 0x8065F7E: main (nginx.c:382) ==923== { <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 10: split matches + max limiter set to 1 - Can't connect to 127.0.0.1:1984: Connection refused |
==925== Invalid read of size 4 ==925== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==925== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==925== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==925== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==925== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==925== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==925== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==925== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==925== by 0x8065F7E: main (nginx.c:382) ==925== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==925== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==925== ==925== Process terminating with default action of signal 11 (SIGSEGV) ==925== Access not within mapped region at address 0x0 ==925== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==925== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==925== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==925== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==925== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==925== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==925== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==925== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==925== by 0x8065F7E: main (nginx.c:382) ==925== If you believe this happened as a result of a stack ==925== overflow in your program's main thread (unlikely but ==925== possible), you can try to increase the size of the ==925== main thread stack using the --main-stacksize= flag. ==925== The main thread stack size used in this run was 8388608. ==925== 1,024 bytes in 1 blocks are definitely lost in loss record 3,075 of 3,191 ==925== at 0x402C768: realloc (vg_replace_malloc.c:834) ==925== by 0x40D1146: mem_alloc (lib_aux.c:335) ==925== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==925== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==925== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==925== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==925== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==925== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==925== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==925== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==925== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==925== by 0x40C0675: trace_state (lj_trace.c:690) ==925== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==925== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==925== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==925== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==925== by 0x4084A29: lua_resume (lj_api.c:1296) ==925== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==925== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==925== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==925== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==925== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==925== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==925== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==925== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==925== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==925== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==925== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==925== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==925== by 0x8065F7E: main (nginx.c:382) ==925== { <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 27: no match separator (github issue #104) - Can't connect to 127.0.0.1:1984: Connection refused |
==927== Invalid read of size 4 ==927== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==927== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==927== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==927== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==927== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==927== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==927== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==927== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==927== by 0x8065F7E: main (nginx.c:382) ==927== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==927== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==927== ==927== Process terminating with default action of signal 11 (SIGSEGV) ==927== Access not within mapped region at address 0x0 ==927== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==927== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==927== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==927== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==927== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==927== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==927== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==927== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==927== by 0x8065F7E: main (nginx.c:382) ==927== If you believe this happened as a result of a stack ==927== overflow in your program's main thread (unlikely but ==927== possible), you can try to increase the size of the ==927== main thread stack using the --main-stacksize= flag. ==927== The main thread stack size used in this run was 8388608. ==927== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,198 ==927== at 0x402C768: realloc (vg_replace_malloc.c:834) ==927== by 0x40D1146: mem_alloc (lib_aux.c:335) ==927== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==927== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==927== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==927== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==927== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==927== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==927== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==927== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==927== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==927== by 0x40C0675: trace_state (lj_trace.c:690) ==927== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==927== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==927== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==927== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==927== by 0x4084A29: lua_resume (lj_api.c:1296) ==927== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==927== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==927== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==927== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==927== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==927== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==927== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==927== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==927== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==927== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==927== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==927== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==927== by 0x8065F7E: main (nginx.c:382) ==927== { <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 24: regex is "" with pos - Can't connect to 127.0.0.1:1984: Connection refused |
==929== Invalid read of size 4 ==929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==929== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==929== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==929== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==929== by 0x8065F7E: main (nginx.c:382) ==929== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==929== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==929== ==929== Process terminating with default action of signal 11 (SIGSEGV) ==929== Access not within mapped region at address 0x0 ==929== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==929== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==929== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==929== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==929== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==929== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==929== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==929== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==929== by 0x8065F7E: main (nginx.c:382) ==929== If you believe this happened as a result of a stack ==929== overflow in your program's main thread (unlikely but ==929== possible), you can try to increase the size of the ==929== main thread stack using the --main-stacksize= flag. ==929== The main thread stack size used in this run was 8388608. ==929== 1,024 bytes in 1 blocks are definitely lost in loss record 3,097 of 3,213 ==929== at 0x402C768: realloc (vg_replace_malloc.c:834) ==929== by 0x40D1146: mem_alloc (lib_aux.c:335) ==929== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==929== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==929== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==929== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==929== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==929== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==929== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==929== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==929== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==929== by 0x40C0675: trace_state (lj_trace.c:690) ==929== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==929== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==929== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==929== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==929== by 0x4084A29: lua_resume (lj_api.c:1296) ==929== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==929== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==929== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==929== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==929== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==929== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==929== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==929== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==929== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==929== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==929== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==929== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==929== by 0x8065F7E: main (nginx.c:382) ==929== { <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 2: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==931== Invalid read of size 4 ==931== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==931== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==931== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==931== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==931== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==931== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==931== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==931== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==931== by 0x8065F7E: main (nginx.c:382) ==931== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==931== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==931== ==931== Process terminating with default action of signal 11 (SIGSEGV) ==931== Access not within mapped region at address 0x0 ==931== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==931== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==931== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==931== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==931== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==931== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==931== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==931== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==931== by 0x8065F7E: main (nginx.c:382) ==931== If you believe this happened as a result of a stack ==931== overflow in your program's main thread (unlikely but ==931== possible), you can try to increase the size of the ==931== main thread stack using the --main-stacksize= flag. ==931== The main thread stack size used in this run was 8388608. ==931== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,194 ==931== at 0x402C768: realloc (vg_replace_malloc.c:834) ==931== by 0x40D1146: mem_alloc (lib_aux.c:335) ==931== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==931== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==931== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==931== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==931== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==931== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==931== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==931== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==931== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==931== by 0x40C0675: trace_state (lj_trace.c:690) ==931== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==931== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==931== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==931== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==931== by 0x4084A29: lua_resume (lj_api.c:1296) ==931== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==931== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==931== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==931== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==931== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==931== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==931== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==931== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==931== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==931== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==931== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==931== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==931== by 0x8065F7E: main (nginx.c:382) ==931== { <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 37: split by unit separator 2/2 (with ctx.pos) - Can't connect to 127.0.0.1:1984: Connection refused |
==933== Invalid read of size 4 ==933== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==933== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==933== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==933== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==933== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==933== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==933== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==933== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==933== by 0x8065F7E: main (nginx.c:382) ==933== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==933== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==933== ==933== Process terminating with default action of signal 11 (SIGSEGV) ==933== Access not within mapped region at address 0x0 ==933== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==933== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==933== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==933== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==933== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==933== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==933== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==933== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==933== by 0x8065F7E: main (nginx.c:382) ==933== If you believe this happened as a result of a stack ==933== overflow in your program's main thread (unlikely but ==933== possible), you can try to increase the size of the ==933== main thread stack using the --main-stacksize= flag. ==933== The main thread stack size used in this run was 8388608. ==933== 2,048 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,206 ==933== at 0x402C768: realloc (vg_replace_malloc.c:834) ==933== by 0x40D1146: mem_alloc (lib_aux.c:335) ==933== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==933== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==933== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==933== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==933== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==933== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==933== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==933== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==933== by 0x40C0675: trace_state (lj_trace.c:690) ==933== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==933== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==933== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==933== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==933== by 0x4084A29: lua_resume (lj_api.c:1296) ==933== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==933== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==933== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==933== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==933== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==933== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==933== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==933== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==933== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==933== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==933== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==933== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==933== by 0x8065F7E: main (nginx.c:382) ==933== { <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 30: behavior with /^/ differs from Perl's split - Can't connect to 127.0.0.1:1984: Connection refused |
==935== Invalid read of size 4 ==935== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==935== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==935== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==935== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==935== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==935== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==935== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==935== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==935== by 0x8065F7E: main (nginx.c:382) ==935== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==935== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==935== ==935== Process terminating with default action of signal 11 (SIGSEGV) ==935== Access not within mapped region at address 0x0 ==935== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==935== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==935== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==935== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==935== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==935== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==935== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==935== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==935== by 0x8065F7E: main (nginx.c:382) ==935== If you believe this happened as a result of a stack ==935== overflow in your program's main thread (unlikely but ==935== possible), you can try to increase the size of the ==935== main thread stack using the --main-stacksize= flag. ==935== The main thread stack size used in this run was 8388608. ==935== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,194 ==935== at 0x402C768: realloc (vg_replace_malloc.c:834) ==935== by 0x40D1146: mem_alloc (lib_aux.c:335) ==935== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==935== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==935== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==935== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==935== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==935== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==935== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==935== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==935== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==935== by 0x40C0675: trace_state (lj_trace.c:690) ==935== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==935== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==935== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==935== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==935== by 0x4084A29: lua_resume (lj_api.c:1296) ==935== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==935== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==935== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==935== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==935== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==935== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==935== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==935== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==935== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==935== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==935== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==935== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==935== by 0x8065F7E: main (nginx.c:382) ==935== { <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 34: behavior with /^\d/m - Can't connect to 127.0.0.1:1984: Connection refused |
==937== Invalid read of size 4 ==937== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==937== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==937== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==937== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==937== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==937== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==937== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==937== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==937== by 0x8065F7E: main (nginx.c:382) ==937== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==937== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==937== ==937== Process terminating with default action of signal 11 (SIGSEGV) ==937== Access not within mapped region at address 0x0 ==937== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==937== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==937== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==937== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==937== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==937== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==937== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==937== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==937== by 0x8065F7E: main (nginx.c:382) ==937== If you believe this happened as a result of a stack ==937== overflow in your program's main thread (unlikely but ==937== possible), you can try to increase the size of the ==937== main thread stack using the --main-stacksize= flag. ==937== The main thread stack size used in this run was 8388608. ==937== 1,024 bytes in 1 blocks are definitely lost in loss record 2,982 of 3,073 ==937== at 0x402C768: realloc (vg_replace_malloc.c:834) ==937== by 0x40D1146: mem_alloc (lib_aux.c:335) ==937== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==937== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==937== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==937== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==937== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==937== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==937== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==937== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==937== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==937== by 0x40C0675: trace_state (lj_trace.c:690) ==937== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==937== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==937== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==937== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==937== by 0x4084A29: lua_resume (lj_api.c:1296) ==937== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==937== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==937== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==937== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==937== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==937== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==937== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==937== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==937== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==937== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==937== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==937== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==937== by 0x8065F7E: main (nginx.c:382) ==937== { <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 22: regex is "" - Can't connect to 127.0.0.1:1984: Connection refused |
==939== Invalid read of size 4 ==939== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==939== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==939== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==939== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==939== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==939== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==939== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==939== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==939== by 0x8065F7E: main (nginx.c:382) ==939== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==939== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==939== ==939== Process terminating with default action of signal 11 (SIGSEGV) ==939== Access not within mapped region at address 0x0 ==939== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==939== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==939== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==939== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==939== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==939== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==939== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==939== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==939== by 0x8065F7E: main (nginx.c:382) ==939== If you believe this happened as a result of a stack ==939== overflow in your program's main thread (unlikely but ==939== possible), you can try to increase the size of the ==939== main thread stack using the --main-stacksize= flag. ==939== The main thread stack size used in this run was 8388608. ==939== 1,024 bytes in 1 blocks are definitely lost in loss record 3,093 of 3,209 ==939== at 0x402C768: realloc (vg_replace_malloc.c:834) ==939== by 0x40D1146: mem_alloc (lib_aux.c:335) ==939== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==939== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==939== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==939== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==939== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==939== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==939== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==939== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==939== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==939== by 0x40C0675: trace_state (lj_trace.c:690) ==939== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==939== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==939== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==939== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==939== by 0x4084A29: lua_resume (lj_api.c:1296) ==939== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==939== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==939== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==939== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==939== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==939== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==939== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==939== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==939== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==939== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==939== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==939== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==939== by 0x8065F7E: main (nginx.c:382) ==939== { <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 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused |
==941== Invalid read of size 4 ==941== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==941== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==941== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==941== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==941== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==941== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==941== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==941== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==941== by 0x8065F7E: main (nginx.c:382) ==941== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==941== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==941== ==941== Process terminating with default action of signal 11 (SIGSEGV) ==941== Access not within mapped region at address 0x0 ==941== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==941== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==941== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==941== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==941== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==941== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==941== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==941== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==941== by 0x8065F7E: main (nginx.c:382) ==941== If you believe this happened as a result of a stack ==941== overflow in your program's main thread (unlikely but ==941== possible), you can try to increase the size of the ==941== main thread stack using the --main-stacksize= flag. ==941== The main thread stack size used in this run was 8388608. ==941== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,198 ==941== at 0x402C768: realloc (vg_replace_malloc.c:834) ==941== by 0x40D1146: mem_alloc (lib_aux.c:335) ==941== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==941== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==941== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==941== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==941== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==941== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==941== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==941== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==941== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==941== by 0x40C0675: trace_state (lj_trace.c:690) ==941== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==941== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==941== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==941== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==941== by 0x4084A29: lua_resume (lj_api.c:1296) ==941== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==941== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==941== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==941== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==941== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==941== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==941== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==941== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==941== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==941== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==941== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==941== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==941== by 0x8065F7E: main (nginx.c:382) ==941== { <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 33: behavior with /^/m & max - Can't connect to 127.0.0.1:1984: Connection refused |
==943== Invalid read of size 4 ==943== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==943== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==943== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==943== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==943== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==943== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==943== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==943== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==943== by 0x8065F7E: main (nginx.c:382) ==943== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==943== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==943== ==943== Process terminating with default action of signal 11 (SIGSEGV) ==943== Access not within mapped region at address 0x0 ==943== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==943== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==943== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==943== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==943== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==943== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==943== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==943== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==943== by 0x8065F7E: main (nginx.c:382) ==943== If you believe this happened as a result of a stack ==943== overflow in your program's main thread (unlikely but ==943== possible), you can try to increase the size of the ==943== main thread stack using the --main-stacksize= flag. ==943== The main thread stack size used in this run was 8388608. ==943== 1,024 bytes in 1 blocks are definitely lost in loss record 3,083 of 3,199 ==943== at 0x402C768: realloc (vg_replace_malloc.c:834) ==943== by 0x40D1146: mem_alloc (lib_aux.c:335) ==943== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==943== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==943== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==943== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==943== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==943== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==943== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==943== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==943== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==943== by 0x40C0675: trace_state (lj_trace.c:690) ==943== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==943== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==943== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==943== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==943== by 0x4084A29: lua_resume (lj_api.c:1296) ==943== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==943== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==943== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==943== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==943== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==943== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==943== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==943== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==943== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==943== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==943== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==943== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==943== by 0x8065F7E: main (nginx.c:382) ==943== { <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 25: regex is "" with pos larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused |
==945== Invalid read of size 4 ==945== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==945== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==945== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==945== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==945== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==945== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==945== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==945== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==945== by 0x8065F7E: main (nginx.c:382) ==945== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==945== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==945== ==945== Process terminating with default action of signal 11 (SIGSEGV) ==945== Access not within mapped region at address 0x0 ==945== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==945== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==945== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==945== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==945== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==945== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==945== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==945== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==945== by 0x8065F7E: main (nginx.c:382) ==945== If you believe this happened as a result of a stack ==945== overflow in your program's main thread (unlikely but ==945== possible), you can try to increase the size of the ==945== main thread stack using the --main-stacksize= flag. ==945== 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 |
==947== Invalid read of size 4 ==947== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==947== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==947== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==947== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==947== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==947== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==947== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==947== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==947== by 0x8065F7E: main (nginx.c:382) ==947== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==947== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==947== ==947== Process terminating with default action of signal 11 (SIGSEGV) ==947== Access not within mapped region at address 0x0 ==947== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==947== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==947== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==947== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==947== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==947== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==947== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==947== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==947== by 0x8065F7E: main (nginx.c:382) ==947== If you believe this happened as a result of a stack ==947== overflow in your program's main thread (unlikely but ==947== possible), you can try to increase the size of the ==947== main thread stack using the --main-stacksize= flag. ==947== The main thread stack size used in this run was 8388608. ==947== 1,024 bytes in 1 blocks are definitely lost in loss record 3,103 of 3,218 ==947== at 0x402C768: realloc (vg_replace_malloc.c:834) ==947== by 0x40D1146: mem_alloc (lib_aux.c:335) ==947== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==947== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==947== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==947== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==947== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==947== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==947== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==947== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==947== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==947== by 0x40C0675: trace_state (lj_trace.c:690) ==947== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==947== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==947== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==947== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==947== by 0x4084A29: lua_resume (lj_api.c:1296) ==947== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==947== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==947== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==947== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==947== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==947== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==947== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==947== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==947== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==947== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==947== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==947== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==947== by 0x8065F7E: main (nginx.c:382) ==947== { <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 16: split matches, ctx arg - Can't connect to 127.0.0.1:1984: Connection refused |
==949== Invalid read of size 4 ==949== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==949== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==949== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==949== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==949== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==949== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==949== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==949== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==949== by 0x8065F7E: main (nginx.c:382) ==949== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==949== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==949== ==949== Process terminating with default action of signal 11 (SIGSEGV) ==949== Access not within mapped region at address 0x0 ==949== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==949== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==949== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==949== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==949== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==949== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==949== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==949== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==949== by 0x8065F7E: main (nginx.c:382) ==949== If you believe this happened as a result of a stack ==949== overflow in your program's main thread (unlikely but ==949== possible), you can try to increase the size of the ==949== main thread stack using the --main-stacksize= flag. ==949== The main thread stack size used in this run was 8388608. ==949== 1,024 bytes in 1 blocks are definitely lost in loss record 3,078 of 3,194 ==949== at 0x402C768: realloc (vg_replace_malloc.c:834) ==949== by 0x40D1146: mem_alloc (lib_aux.c:335) ==949== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==949== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==949== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==949== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==949== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==949== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==949== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==949== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==949== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==949== by 0x40C0675: trace_state (lj_trace.c:690) ==949== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==949== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==949== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==949== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==949== by 0x4084A29: lua_resume (lj_api.c:1296) ==949== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==949== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==949== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==949== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==949== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==949== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==949== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==949== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==949== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==949== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==949== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==949== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==949== by 0x8065F7E: main (nginx.c:382) ==949== { <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 38: remaining characters are matched by regex (without max) - Can't connect to 127.0.0.1:1984: Connection refused |
==951== Invalid read of size 4 ==951== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==951== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==951== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==951== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==951== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==951== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==951== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==951== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==951== by 0x8065F7E: main (nginx.c:382) ==951== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==951== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==951== ==951== Process terminating with default action of signal 11 (SIGSEGV) ==951== Access not within mapped region at address 0x0 ==951== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==951== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==951== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==951== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==951== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==951== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==951== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==951== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==951== by 0x8065F7E: main (nginx.c:382) ==951== If you believe this happened as a result of a stack ==951== overflow in your program's main thread (unlikely but ==951== possible), you can try to increase the size of the ==951== main thread stack using the --main-stacksize= flag. ==951== The main thread stack size used in this run was 8388608. ==951== 1,024 bytes in 1 blocks are definitely lost in loss record 3,082 of 3,198 ==951== at 0x402C768: realloc (vg_replace_malloc.c:834) ==951== by 0x40D1146: mem_alloc (lib_aux.c:335) ==951== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==951== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==951== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==951== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==951== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==951== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==951== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==951== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==951== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==951== by 0x40C0675: trace_state (lj_trace.c:690) ==951== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==951== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==951== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==951== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==951== by 0x4084A29: lua_resume (lj_api.c:1296) ==951== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==951== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==951== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==951== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==951== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==951== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==951== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==951== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==951== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==951== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==951== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==951== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==951== by 0x8065F7E: main (nginx.c:382) ==951== { <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 26: regex is "" with pos & max - Can't connect to 127.0.0.1:1984: Connection refused |
==953== Invalid read of size 4 ==953== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==953== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==953== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==953== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==953== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==953== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==953== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==953== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==953== by 0x8065F7E: main (nginx.c:382) ==953== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==953== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==953== ==953== Process terminating with default action of signal 11 (SIGSEGV) ==953== Access not within mapped region at address 0x0 ==953== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==953== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==953== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==953== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==953== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==953== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==953== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==953== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==953== by 0x8065F7E: main (nginx.c:382) ==953== If you believe this happened as a result of a stack ==953== overflow in your program's main thread (unlikely but ==953== possible), you can try to increase the size of the ==953== main thread stack using the --main-stacksize= flag. ==953== The main thread stack size used in this run was 8388608. ==953== 1,024 bytes in 1 blocks are definitely lost in loss record 3,001 of 3,092 ==953== at 0x402C768: realloc (vg_replace_malloc.c:834) ==953== by 0x40D1146: mem_alloc (lib_aux.c:335) ==953== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==953== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==953== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==953== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==953== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==953== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==953== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==953== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==953== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==953== by 0x40C0675: trace_state (lj_trace.c:690) ==953== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==953== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==953== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==953== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==953== by 0x4084A29: lua_resume (lj_api.c:1296) ==953== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==953== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==953== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==953== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==953== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==953== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==953== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==953== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==953== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==953== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==953== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==953== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==953== by 0x8065F7E: main (nginx.c:382) ==953== { <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 11: split matches, provided res table - Can't connect to 127.0.0.1:1984: Connection refused |
==955== Invalid read of size 4 ==955== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==955== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==955== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==955== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==955== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==955== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==955== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==955== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==955== by 0x8065F7E: main (nginx.c:382) ==955== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==955== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==955== ==955== Process terminating with default action of signal 11 (SIGSEGV) ==955== Access not within mapped region at address 0x0 ==955== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==955== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==955== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==955== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==955== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==955== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==955== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==955== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==955== by 0x8065F7E: main (nginx.c:382) ==955== If you believe this happened as a result of a stack ==955== overflow in your program's main thread (unlikely but ==955== possible), you can try to increase the size of the ==955== main thread stack using the --main-stacksize= flag. ==955== The main thread stack size used in this run was 8388608. ==955== 1,024 bytes in 1 blocks are definitely lost in loss record 3,067 of 3,180 ==955== at 0x402C768: realloc (vg_replace_malloc.c:834) ==955== by 0x40D1146: mem_alloc (lib_aux.c:335) ==955== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==955== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==955== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==955== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==955== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==955== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==955== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==955== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==955== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==955== by 0x40C0675: trace_state (lj_trace.c:690) ==955== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==955== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==955== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==955== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==955== by 0x4084A29: lua_resume (lj_api.c:1296) ==955== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==955== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==955== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==955== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==955== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==955== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==955== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==955== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==955== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==955== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==955== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==955== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==955== by 0x8065F7E: main (nginx.c:382) ==955== { <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 13: split matches, provided res table + max limiter - Can't connect to 127.0.0.1:1984: Connection refused |
==957== Invalid read of size 4 ==957== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==957== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==957== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==957== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==957== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==957== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==957== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==957== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==957== by 0x8065F7E: main (nginx.c:382) ==957== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==957== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==957== ==957== Process terminating with default action of signal 11 (SIGSEGV) ==957== Access not within mapped region at address 0x0 ==957== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==957== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==957== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==957== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==957== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==957== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==957== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==957== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==957== by 0x8065F7E: main (nginx.c:382) ==957== If you believe this happened as a result of a stack ==957== overflow in your program's main thread (unlikely but ==957== possible), you can try to increase the size of the ==957== main thread stack using the --main-stacksize= flag. ==957== The main thread stack size used in this run was 8388608. ==957== 1,024 bytes in 1 blocks are definitely lost in loss record 3,080 of 3,196 ==957== at 0x402C768: realloc (vg_replace_malloc.c:834) ==957== by 0x40D1146: mem_alloc (lib_aux.c:335) ==957== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==957== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==957== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==957== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==957== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==957== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==957== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==957== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==957== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==957== by 0x40C0675: trace_state (lj_trace.c:690) ==957== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==957== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==957== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==957== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==957== by 0x4084A29: lua_resume (lj_api.c:1296) ==957== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==957== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==957== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==957== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==957== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==957== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==957== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==957== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==957== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==957== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==957== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==957== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==957== by 0x8065F7E: main (nginx.c:382) ==957== { <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-sub.t | TEST 4: replace template + submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==963== Invalid read of size 4 ==963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==963== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==963== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==963== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==963== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==963== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==963== by 0x8065F7E: main (nginx.c:382) ==963== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==963== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==963== ==963== Process terminating with default action of signal 11 (SIGSEGV) ==963== Access not within mapped region at address 0x0 ==963== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==963== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==963== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==963== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==963== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==963== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==963== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==963== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==963== by 0x8065F7E: main (nginx.c:382) ==963== If you believe this happened as a result of a stack ==963== overflow in your program's main thread (unlikely but ==963== possible), you can try to increase the size of the ==963== main thread stack using the --main-stacksize= flag. ==963== The main thread stack size used in this run was 8388608. ==963== 4,096 bytes in 1 blocks are definitely lost in loss record 3,149 of 3,176 ==963== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==963== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==963== by 0x40D1146: mem_alloc (lib_aux.c:335) ==963== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==963== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==963== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==963== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==963== by 0x409FAFA: lj_record_constify (lj_record.c:251) ==963== by 0x409FE30: rec_upvalue (lj_record.c:1620) ==963== by 0x40A554C: lj_record_ins (lj_record.c:2314) ==963== by 0x40C016A: trace_state (lj_trace.c:680) ==963== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==963== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==963== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==963== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==963== by 0x4084A29: lua_resume (lj_api.c:1296) ==963== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==963== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==963== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==963== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==963== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==963== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==963== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==963== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==963== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==963== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==963== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==963== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==963== by 0x8065F7E: main (nginx.c:382) ==963== { <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 3: func + submatches - Can't connect to 127.0.0.1:1984: Connection refused |
==965== Invalid read of size 4 ==965== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==965== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==965== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==965== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==965== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==965== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==965== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==965== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==965== by 0x8065F7E: main (nginx.c:382) ==965== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==965== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==965== ==965== Process terminating with default action of signal 11 (SIGSEGV) ==965== Access not within mapped region at address 0x0 ==965== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==965== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==965== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==965== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==965== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==965== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==965== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==965== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==965== by 0x8065F7E: main (nginx.c:382) ==965== If you believe this happened as a result of a stack ==965== overflow in your program's main thread (unlikely but ==965== possible), you can try to increase the size of the ==965== main thread stack using the --main-stacksize= flag. ==965== The main thread stack size used in this run was 8388608. ==965== 4,096 bytes in 1 blocks are definitely lost in loss record 3,115 of 3,142 ==965== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==965== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==965== by 0x40D1146: mem_alloc (lib_aux.c:335) ==965== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==965== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==965== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==965== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==965== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==965== by 0x40A1F20: rec_mm_callcomp (lj_record.c:1098) ==965== by 0x40A5BF3: lj_record_ins (lj_record.c:2173) ==965== by 0x40C016A: trace_state (lj_trace.c:680) ==965== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==965== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==965== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==965== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==965== by 0x4084A29: lua_resume (lj_api.c:1296) ==965== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==965== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==965== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==965== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==965== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==965== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==965== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==965== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==965== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==965== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==965== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==965== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==965== by 0x8065F7E: main (nginx.c:382) ==965== { <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 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module#445) - Can't connect to 127.0.0.1:1984: Connection refused |
==968== Invalid read of size 4 ==968== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==968== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==968== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==968== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==968== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==968== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==968== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==968== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==968== by 0x8065F7E: main (nginx.c:382) ==968== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==968== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==968== ==968== Process terminating with default action of signal 11 (SIGSEGV) ==968== Access not within mapped region at address 0x0 ==968== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==968== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==968== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==968== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==968== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==968== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==968== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==968== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==968== by 0x8065F7E: main (nginx.c:382) ==968== If you believe this happened as a result of a stack ==968== overflow in your program's main thread (unlikely but ==968== possible), you can try to increase the size of the ==968== main thread stack using the --main-stacksize= flag. ==968== 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 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused |
==970== Invalid read of size 4 ==970== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==970== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==970== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==970== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==970== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==970== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==970== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==970== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==970== by 0x8065F7E: main (nginx.c:382) ==970== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==970== ==970== Process terminating with default action of signal 11 (SIGSEGV) ==970== Access not within mapped region at address 0x0 ==970== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==970== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==970== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==970== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==970== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==970== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==970== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==970== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==970== by 0x8065F7E: main (nginx.c:382) ==970== If you believe this happened as a result of a stack ==970== overflow in your program's main thread (unlikely but ==970== possible), you can try to increase the size of the ==970== main thread stack using the --main-stacksize= flag. ==970== 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/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 |
==972== Invalid read of size 4 ==972== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==972== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==972== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==972== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==972== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==972== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==972== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==972== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==972== by 0x8065F7E: main (nginx.c:382) ==972== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==972== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==972== ==972== Process terminating with default action of signal 11 (SIGSEGV) ==972== Access not within mapped region at address 0x0 ==972== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==972== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==972== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==972== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==972== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==972== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==972== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==972== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==972== by 0x8065F7E: main (nginx.c:382) ==972== If you believe this happened as a result of a stack ==972== overflow in your program's main thread (unlikely but ==972== possible), you can try to increase the size of the ==972== main thread stack using the --main-stacksize= flag. ==972== 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 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 |
==974== Invalid read of size 4 ==974== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==974== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==974== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==974== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==974== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==974== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==974== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==974== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==974== by 0x8065F7E: main (nginx.c:382) ==974== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==974== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==974== ==974== Process terminating with default action of signal 11 (SIGSEGV) ==974== Access not within mapped region at address 0x0 ==974== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==974== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==974== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==974== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==974== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==974== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==974== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==974== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==974== by 0x8065F7E: main (nginx.c:382) ==974== If you believe this happened as a result of a stack ==974== overflow in your program's main thread (unlikely but ==974== possible), you can try to increase the size of the ==974== main thread stack using the --main-stacksize= flag. ==974== 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 1: sub, no submatch, no jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==976== Invalid read of size 4 ==976== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==976== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==976== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==976== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==976== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==976== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==976== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==976== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==976== by 0x8065F7E: main (nginx.c:382) ==976== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==976== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==976== ==976== Process terminating with default action of signal 11 (SIGSEGV) ==976== Access not within mapped region at address 0x0 ==976== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==976== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==976== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==976== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==976== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==976== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==976== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==976== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==976== by 0x8065F7E: main (nginx.c:382) ==976== If you believe this happened as a result of a stack ==976== overflow in your program's main thread (unlikely but ==976== possible), you can try to increase the size of the ==976== main thread stack using the --main-stacksize= flag. ==976== The main thread stack size used in this run was 8388608. ==976== 4,096 bytes in 1 blocks are definitely lost in loss record 3,142 of 3,169 ==976== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==976== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==976== by 0x40D1146: mem_alloc (lib_aux.c:335) ==976== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==976== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==976== by 0x408F511: ir_nextk (lj_ir.c:175) ==976== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==976== by 0x40A8A4C: argv2cdata (lj_crecord.c:55) ==976== by 0x40AA179: argv2ctype (lj_crecord.c:91) ==976== by 0x40ADAE9: recff_ffi_new (lj_crecord.c:1608) ==976== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==976== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==976== by 0x40C016A: trace_state (lj_trace.c:680) ==976== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==976== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==976== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==976== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==976== by 0x4084A29: lua_resume (lj_api.c:1296) ==976== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==976== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==976== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==976== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==976== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==976== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==976== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==976== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==976== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==976== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==976== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==976== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==976== by 0x8065F7E: main (nginx.c:382) ==976== { <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 10: func replace return is not a string type (ngx.re.gsub) - Can't connect to 127.0.0.1:1984: Connection refused |
==978== Invalid read of size 4 ==978== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==978== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==978== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==978== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==978== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==978== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==978== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==978== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==978== by 0x8065F7E: main (nginx.c:382) ==978== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==978== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==978== ==978== Process terminating with default action of signal 11 (SIGSEGV) ==978== Access not within mapped region at address 0x0 ==978== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==978== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==978== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==978== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==978== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==978== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==978== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==978== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==978== by 0x8065F7E: main (nginx.c:382) ==978== If you believe this happened as a result of a stack ==978== overflow in your program's main thread (unlikely but ==978== possible), you can try to increase the size of the ==978== main thread stack using the --main-stacksize= flag. ==978== 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 2: sub, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused |
==980== Invalid read of size 4 ==980== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==980== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==980== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==980== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==980== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==980== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==980== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==980== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==980== by 0x8065F7E: main (nginx.c:382) ==980== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==980== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==980== ==980== Process terminating with default action of signal 11 (SIGSEGV) ==980== Access not within mapped region at address 0x0 ==980== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==980== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==980== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==980== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==980== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==980== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==980== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==980== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==980== by 0x8065F7E: main (nginx.c:382) ==980== If you believe this happened as a result of a stack ==980== overflow in your program's main thread (unlikely but ==980== possible), you can try to increase the size of the ==980== main thread stack using the --main-stacksize= flag. ==980== The main thread stack size used in this run was 8388608. ==980== 4,096 bytes in 1 blocks are definitely lost in loss record 3,126 of 3,155 ==980== at 0x402C768: realloc (vg_replace_malloc.c:834) ==980== by 0x40D1146: mem_alloc (lib_aux.c:335) ==980== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==980== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==980== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==980== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==980== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==980== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==980== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==980== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==980== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==980== by 0x40C0675: trace_state (lj_trace.c:690) ==980== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==980== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==980== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==980== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==980== by 0x4084A29: lua_resume (lj_api.c:1296) ==980== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==980== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==980== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==980== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==980== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==980== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==980== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==980== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==980== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==980== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==980== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==980== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==980== by 0x8065F7E: main (nginx.c:382) ==980== { <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-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/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==986== Invalid read of size 4 ==986== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==986== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==986== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==986== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==986== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==986== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==986== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==986== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==986== by 0x8065F7E: main (nginx.c:382) ==986== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==986== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==986== ==986== Process terminating with default action of signal 11 (SIGSEGV) ==986== Access not within mapped region at address 0x0 ==986== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==986== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==986== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==986== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==986== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==986== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==986== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==986== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==986== by 0x8065F7E: main (nginx.c:382) ==986== If you believe this happened as a result of a stack ==986== overflow in your program's main thread (unlikely but ==986== possible), you can try to increase the size of the ==986== main thread stack using the --main-stacksize= flag. ==986== The main thread stack size used in this run was 8388608. ==986== 1,024 bytes in 1 blocks are definitely lost in loss record 3,003 of 3,109 ==986== at 0x402C768: realloc (vg_replace_malloc.c:834) ==986== by 0x40D1146: mem_alloc (lib_aux.c:335) ==986== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==986== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==986== by 0x408F321: lj_ir_nextins (lj_iropt.h:34) ==986== by 0x408F321: lj_ir_emit (lj_ir.c:118) ==986== by 0x40995CF: loop_emit_phi (lj_opt_loop.c:197) ==986== by 0x40995CF: loop_unroll (lj_opt_loop.c:379) ==986== by 0x40995CF: cploop_opt (lj_opt_loop.c:409) ==986== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==986== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==986== by 0x40C0675: trace_state (lj_trace.c:690) ==986== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==986== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==986== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==986== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==986== by 0x4084A29: lua_resume (lj_api.c:1296) ==986== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==986== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==986== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==986== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==986== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==986== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==986== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==986== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==986== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==986== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==986== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==986== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==986== by 0x8065F7E: main (nginx.c:382) ==986== { <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 21: multi wait and mult post with one semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==992== Invalid read of size 4 ==992== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==992== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==992== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==992== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==992== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==992== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==992== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==992== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==992== by 0x8065F7E: main (nginx.c:382) ==992== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==992== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==992== ==992== Process terminating with default action of signal 11 (SIGSEGV) ==992== Access not within mapped region at address 0x0 ==992== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==992== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==992== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==992== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==992== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==992== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==992== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==992== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==992== by 0x8065F7E: main (nginx.c:382) ==992== If you believe this happened as a result of a stack ==992== overflow in your program's main thread (unlikely but ==992== possible), you can try to increase the size of the ==992== main thread stack using the --main-stacksize= flag. ==992== 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 3: semaphore wait time=0 - Can't connect to 127.0.0.1:1984: Connection refused |
==994== Invalid read of size 4 ==994== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==994== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==994== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==994== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==994== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==994== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==994== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==994== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==994== by 0x8065F7E: main (nginx.c:382) ==994== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==994== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==994== ==994== Process terminating with default action of signal 11 (SIGSEGV) ==994== Access not within mapped region at address 0x0 ==994== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==994== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==994== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==994== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==994== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==994== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==994== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==994== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==994== by 0x8065F7E: main (nginx.c:382) ==994== If you believe this happened as a result of a stack ==994== overflow in your program's main thread (unlikely but ==994== possible), you can try to increase the size of the ==994== main thread stack using the --main-stacksize= flag. ==994== 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/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - Can't connect to 127.0.0.1:1984: Connection refused |
==996== Invalid read of size 4 ==996== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==996== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==996== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==996== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==996== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==996== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==996== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==996== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==996== by 0x8065F7E: main (nginx.c:382) ==996== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==996== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==996== ==996== Process terminating with default action of signal 11 (SIGSEGV) ==996== Access not within mapped region at address 0x0 ==996== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==996== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==996== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==996== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==996== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==996== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==996== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==996== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==996== by 0x8065F7E: main (nginx.c:382) ==996== If you believe this happened as a result of a stack ==996== overflow in your program's main thread (unlikely but ==996== possible), you can try to increase the size of the ==996== main thread stack using the --main-stacksize= flag. ==996== 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 6: semaphore in init_worker_by_lua (wait is not allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==998== Invalid read of size 4 ==998== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==998== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==998== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==998== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==998== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==998== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==998== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==998== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==998== by 0x8065F7E: main (nginx.c:382) ==998== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==998== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==998== ==998== Process terminating with default action of signal 11 (SIGSEGV) ==998== Access not within mapped region at address 0x0 ==998== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==998== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==998== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==998== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==998== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==998== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==998== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==998== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==998== by 0x8065F7E: main (nginx.c:382) ==998== If you believe this happened as a result of a stack ==998== overflow in your program's main thread (unlikely but ==998== possible), you can try to increase the size of the ==998== main thread stack using the --main-stacksize= flag. ==998== 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 1: basic semaphore in uthread - Can't connect to 127.0.0.1:1984: Connection refused |
==1000== Invalid read of size 4 ==1000== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1000== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1000== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1000== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1000== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1000== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1000== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1000== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1000== by 0x8065F7E: main (nginx.c:382) ==1000== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1000== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1000== ==1000== Process terminating with default action of signal 11 (SIGSEGV) ==1000== Access not within mapped region at address 0x0 ==1000== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1000== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1000== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1000== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1000== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1000== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1000== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1000== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1000== by 0x8065F7E: main (nginx.c:382) ==1000== If you believe this happened as a result of a stack ==1000== overflow in your program's main thread (unlikely but ==1000== possible), you can try to increase the size of the ==1000== main thread stack using the --main-stacksize= flag. ==1000== 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 4: semaphore.new in init_by_lua* (w/o shdict) - Can't connect to 127.0.0.1:1984: Connection refused |
==1002== Invalid read of size 4 ==1002== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1002== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1002== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1002== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1002== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1002== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1002== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1002== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1002== by 0x8065F7E: main (nginx.c:382) ==1002== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1002== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1002== ==1002== Process terminating with default action of signal 11 (SIGSEGV) ==1002== Access not within mapped region at address 0x0 ==1002== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1002== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1002== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1002== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1002== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1002== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1002== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1002== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1002== by 0x8065F7E: main (nginx.c:382) ==1002== If you believe this happened as a result of a stack ==1002== overflow in your program's main thread (unlikely but ==1002== possible), you can try to increase the size of the ==1002== main thread stack using the --main-stacksize= flag. ==1002== 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 27: semaphore_mm free block (load <= 50% & the on the older side) - Can't connect to 127.0.0.1:1984: Connection refused |
==1004== Invalid read of size 4 ==1004== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1004== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1004== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1004== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1004== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1004== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1004== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1004== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1004== by 0x8065F7E: main (nginx.c:382) ==1004== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1004== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1004== ==1004== Process terminating with default action of signal 11 (SIGSEGV) ==1004== Access not within mapped region at address 0x0 ==1004== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1004== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1004== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1004== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1004== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1004== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1004== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1004== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1004== by 0x8065F7E: main (nginx.c:382) ==1004== If you believe this happened as a result of a stack ==1004== overflow in your program's main thread (unlikely but ==1004== possible), you can try to increase the size of the ==1004== main thread stack using the --main-stacksize= flag. ==1004== The main thread stack size used in this run was 8388608. ==1004== 2,048 bytes in 1 blocks are definitely lost in loss record 3,014 of 3,080 ==1004== at 0x402C768: realloc (vg_replace_malloc.c:834) ==1004== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1004== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1004== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==1004== by 0x40BECC1: lj_ir_nextins (lj_iropt.h:34) ==1004== by 0x40BECC1: lj_asm_trace (lj_asm.c:2346) ==1004== by 0x40BFF25: trace_state (lj_trace.c:707) ==1004== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1004== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1004== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1004== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1004== by 0x4084A29: lua_resume (lj_api.c:1296) ==1004== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1004== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1004== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1004== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1004== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1004== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1004== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1004== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1004== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1004== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1004== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1004== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1004== by 0x8065F7E: main (nginx.c:382) ==1004== { <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 | TEST 15: two thread wait for each other - Can't connect to 127.0.0.1:1984: Connection refused |
==1006== Invalid read of size 4 ==1006== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1006== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1006== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1006== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1006== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1006== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1006== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1006== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1006== by 0x8065F7E: main (nginx.c:382) ==1006== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1006== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1006== ==1006== Process terminating with default action of signal 11 (SIGSEGV) ==1006== Access not within mapped region at address 0x0 ==1006== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1006== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1006== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1006== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1006== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1006== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1006== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1006== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1006== by 0x8065F7E: main (nginx.c:382) ==1006== If you believe this happened as a result of a stack ==1006== overflow in your program's main thread (unlikely but ==1006== possible), you can try to increase the size of the ==1006== main thread stack using the --main-stacksize= flag. ==1006== 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 | 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 |
==1008== Invalid read of size 4 ==1008== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1008== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1008== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1008== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1008== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1008== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1008== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1008== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1008== by 0x8065F7E: main (nginx.c:382) ==1008== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1008== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1008== ==1008== Process terminating with default action of signal 11 (SIGSEGV) ==1008== Access not within mapped region at address 0x0 ==1008== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1008== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1008== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1008== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1008== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1008== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1008== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1008== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1008== by 0x8065F7E: main (nginx.c:382) ==1008== If you believe this happened as a result of a stack ==1008== overflow in your program's main thread (unlikely but ==1008== possible), you can try to increase the size of the ==1008== main thread stack using the --main-stacksize= flag. ==1008== The main thread stack size used in this run was 8388608. ==1008== 2,048 bytes in 1 blocks are definitely lost in loss record 3,013 of 3,079 ==1008== at 0x402C768: realloc (vg_replace_malloc.c:834) ==1008== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1008== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1008== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==1008== by 0x40BECC1: lj_ir_nextins (lj_iropt.h:34) ==1008== by 0x40BECC1: lj_asm_trace (lj_asm.c:2346) ==1008== by 0x40BFF25: trace_state (lj_trace.c:707) ==1008== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1008== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1008== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1008== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1008== by 0x4084A29: lua_resume (lj_api.c:1296) ==1008== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1008== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1008== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1008== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1008== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1008== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1008== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1008== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1008== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1008== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1008== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1008== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1008== by 0x8065F7E: main (nginx.c:382) ==1008== { <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 28: basic semaphore count - Can't connect to 127.0.0.1:1984: Connection refused |
==1009== Invalid read of size 4 ==1009== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1009== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1009== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1009== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1009== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1009== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1009== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1009== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1009== by 0x8065F7E: main (nginx.c:382) ==1009== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1009== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1009== ==1009== Process terminating with default action of signal 11 (SIGSEGV) ==1009== Access not within mapped region at address 0x0 ==1009== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1009== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1009== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1009== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1009== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1009== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1009== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1009== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1009== by 0x8065F7E: main (nginx.c:382) ==1009== If you believe this happened as a result of a stack ==1009== overflow in your program's main thread (unlikely but ==1009== possible), you can try to increase the size of the ==1009== main thread stack using the --main-stacksize= flag. ==1009== 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 22: semaphore wait time is zero - Can't connect to 127.0.0.1:1984: Connection refused |
==1011== Invalid read of size 4 ==1011== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1011== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1011== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1011== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1011== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1011== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1011== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1011== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1011== by 0x8065F7E: main (nginx.c:382) ==1011== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1011== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1011== ==1011== Process terminating with default action of signal 11 (SIGSEGV) ==1011== Access not within mapped region at address 0x0 ==1011== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1011== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1011== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1011== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1011== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1011== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1011== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1011== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1011== by 0x8065F7E: main (nginx.c:382) ==1011== If you believe this happened as a result of a stack ==1011== overflow in your program's main thread (unlikely but ==1011== possible), you can try to increase the size of the ==1011== main thread stack using the --main-stacksize= flag. ==1011== 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 9: semaphore in content_by_lua (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==1013== Invalid read of size 4 ==1013== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1013== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1013== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1013== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1013== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1013== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1013== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1013== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1013== by 0x8065F7E: main (nginx.c:382) ==1013== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1013== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1013== ==1013== Process terminating with default action of signal 11 (SIGSEGV) ==1013== Access not within mapped region at address 0x0 ==1013== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1013== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1013== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1013== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1013== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1013== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1013== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1013== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1013== by 0x8065F7E: main (nginx.c:382) ==1013== If you believe this happened as a result of a stack ==1013== overflow in your program's main thread (unlikely but ==1013== possible), you can try to increase the size of the ==1013== main thread stack using the --main-stacksize= flag. ==1013== 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 | 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 |
==1015== Invalid read of size 4 ==1015== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1015== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1015== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1015== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1015== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1015== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1015== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1015== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1015== by 0x8065F7E: main (nginx.c:382) ==1015== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1015== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1015== ==1015== Process terminating with default action of signal 11 (SIGSEGV) ==1015== Access not within mapped region at address 0x0 ==1015== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1015== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1015== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1015== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1015== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1015== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1015== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1015== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1015== by 0x8065F7E: main (nginx.c:382) ==1015== If you believe this happened as a result of a stack ==1015== overflow in your program's main thread (unlikely but ==1015== possible), you can try to increase the size of the ==1015== main thread stack using the --main-stacksize= flag. ==1015== The main thread stack size used in this run was 8388608. ==1015== 2,048 bytes in 1 blocks are definitely lost in loss record 3,013 of 3,079 ==1015== at 0x402C768: realloc (vg_replace_malloc.c:834) ==1015== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1015== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1015== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==1015== by 0x40BECC1: lj_ir_nextins (lj_iropt.h:34) ==1015== by 0x40BECC1: lj_asm_trace (lj_asm.c:2346) ==1015== by 0x40BFF25: trace_state (lj_trace.c:707) ==1015== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1015== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1015== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1015== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1015== by 0x4084A29: lua_resume (lj_api.c:1296) ==1015== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1015== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1015== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1015== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1015== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1015== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1015== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1015== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1015== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1015== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1015== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1015== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1015== by 0x8065F7E: main (nginx.c:382) ==1015== { <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 23: test semaphore gc - Can't connect to 127.0.0.1:1984: Connection refused |
==1016== Invalid read of size 4 ==1016== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1016== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1016== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1016== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1016== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1016== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1016== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1016== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1016== by 0x8065F7E: main (nginx.c:382) ==1016== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1016== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1016== ==1016== Process terminating with default action of signal 11 (SIGSEGV) ==1016== Access not within mapped region at address 0x0 ==1016== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1016== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1016== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1016== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1016== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1016== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1016== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1016== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1016== by 0x8065F7E: main (nginx.c:382) ==1016== If you believe this happened as a result of a stack ==1016== overflow in your program's main thread (unlikely but ==1016== possible), you can try to increase the size of the ==1016== main thread stack using the --main-stacksize= flag. ==1016== 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 17: kill a light thread that is waiting on a semaphore (after post) - Can't connect to 127.0.0.1:1984: Connection refused |
==1018== Invalid read of size 4 ==1018== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1018== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1018== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1018== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1018== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1018== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1018== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1018== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1018== by 0x8065F7E: main (nginx.c:382) ==1018== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1018== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1018== ==1018== Process terminating with default action of signal 11 (SIGSEGV) ==1018== Access not within mapped region at address 0x0 ==1018== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1018== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1018== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1018== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1018== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1018== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1018== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1018== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1018== by 0x8065F7E: main (nginx.c:382) ==1018== If you believe this happened as a result of a stack ==1018== overflow in your program's main thread (unlikely but ==1018== possible), you can try to increase the size of the ==1018== main thread stack using the --main-stacksize= flag. ==1018== 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 20: main thread wait a light thread that is waiting on a semaphore - Can't connect to 127.0.0.1:1984: Connection refused |
==1020== Invalid read of size 4 ==1020== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1020== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1020== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1020== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1020== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1020== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1020== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1020== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1020== by 0x8065F7E: main (nginx.c:382) ==1020== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1020== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1020== ==1020== Process terminating with default action of signal 11 (SIGSEGV) ==1020== Access not within mapped region at address 0x0 ==1020== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1020== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1020== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1020== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1020== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1020== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1020== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1020== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1020== by 0x8065F7E: main (nginx.c:382) ==1020== If you believe this happened as a result of a stack ==1020== overflow in your program's main thread (unlikely but ==1020== possible), you can try to increase the size of the ==1020== main thread stack using the --main-stacksize= flag. ==1020== 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 29: basic semaphore count (negative number) - Can't connect to 127.0.0.1:1984: Connection refused |
==1022== Invalid read of size 4 ==1022== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1022== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1022== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1022== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1022== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1022== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1022== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1022== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1022== by 0x8065F7E: main (nginx.c:382) ==1022== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1022== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1022== ==1022== Process terminating with default action of signal 11 (SIGSEGV) ==1022== Access not within mapped region at address 0x0 ==1022== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1022== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1022== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1022== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1022== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1022== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1022== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1022== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1022== by 0x8065F7E: main (nginx.c:382) ==1022== If you believe this happened as a result of a stack ==1022== overflow in your program's main thread (unlikely but ==1022== possible), you can try to increase the size of the ==1022== main thread stack using the --main-stacksize= flag. ==1022== 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 7: semaphore in init_worker_by_lua (new and post) - Can't connect to 127.0.0.1:1984: Connection refused |
==1024== Invalid read of size 4 ==1024== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1024== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1024== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1024== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1024== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1024== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1024== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1024== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1024== by 0x8065F7E: main (nginx.c:382) ==1024== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1024== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1024== ==1024== Process terminating with default action of signal 11 (SIGSEGV) ==1024== Access not within mapped region at address 0x0 ==1024== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1024== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1024== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1024== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1024== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1024== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1024== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1024== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1024== by 0x8065F7E: main (nginx.c:382) ==1024== If you believe this happened as a result of a stack ==1024== overflow in your program's main thread (unlikely but ==1024== possible), you can try to increase the size of the ==1024== main thread stack using the --main-stacksize= flag. ==1024== 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 11: semaphore in ngx.timer (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==1026== Invalid read of size 4 ==1026== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1026== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1026== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1026== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1026== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1026== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1026== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1026== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1026== by 0x8065F7E: main (nginx.c:382) ==1026== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1026== ==1026== Process terminating with default action of signal 11 (SIGSEGV) ==1026== Access not within mapped region at address 0x0 ==1026== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1026== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1026== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1026== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1026== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1026== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1026== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1026== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1026== by 0x8065F7E: main (nginx.c:382) ==1026== If you believe this happened as a result of a stack ==1026== overflow in your program's main thread (unlikely but ==1026== possible), you can try to increase the size of the ==1026== main thread stack using the --main-stacksize= flag. ==1026== 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 14: semaphore wait in timer.at - Can't connect to 127.0.0.1:1984: Connection refused |
==1028== Invalid read of size 4 ==1028== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1028== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1028== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1028== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1028== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1028== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1028== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1028== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1028== by 0x8065F7E: main (nginx.c:382) ==1028== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1028== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1028== ==1028== Process terminating with default action of signal 11 (SIGSEGV) ==1028== Access not within mapped region at address 0x0 ==1028== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1028== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1028== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1028== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1028== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1028== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1028== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1028== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1028== by 0x8065F7E: main (nginx.c:382) ==1028== If you believe this happened as a result of a stack ==1028== overflow in your program's main thread (unlikely but ==1028== possible), you can try to increase the size of the ==1028== main thread stack using the --main-stacksize= flag. ==1028== 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 2: semaphore wait order - Can't connect to 127.0.0.1:1984: Connection refused |
==1030== Invalid read of size 4 ==1030== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1030== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1030== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1030== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1030== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1030== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1030== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1030== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1030== by 0x8065F7E: main (nginx.c:382) ==1030== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1030== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1030== ==1030== Process terminating with default action of signal 11 (SIGSEGV) ==1030== Access not within mapped region at address 0x0 ==1030== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1030== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1030== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1030== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1030== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1030== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1030== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1030== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1030== by 0x8065F7E: main (nginx.c:382) ==1030== If you believe this happened as a result of a stack ==1030== overflow in your program's main thread (unlikely but ==1030== possible), you can try to increase the size of the ==1030== main thread stack using the --main-stacksize= flag. ==1030== 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 | 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 |
==1032== Invalid read of size 4 ==1032== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1032== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1032== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1032== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1032== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1032== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1032== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1032== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1032== by 0x8065F7E: main (nginx.c:382) ==1032== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1032== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1032== ==1032== Process terminating with default action of signal 11 (SIGSEGV) ==1032== Access not within mapped region at address 0x0 ==1032== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1032== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1032== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1032== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1032== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1032== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1032== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1032== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1032== by 0x8065F7E: main (nginx.c:382) ==1032== If you believe this happened as a result of a stack ==1032== overflow in your program's main thread (unlikely but ==1032== possible), you can try to increase the size of the ==1032== main thread stack using the --main-stacksize= flag. ==1032== 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 5: semaphore.new in init_by_lua* (with shdict) - Can't connect to 127.0.0.1:1984: Connection refused |
==1034== Invalid read of size 4 ==1034== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1034== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1034== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1034== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1034== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1034== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1034== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1034== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1034== by 0x8065F7E: main (nginx.c:382) ==1034== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1034== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1034== ==1034== Process terminating with default action of signal 11 (SIGSEGV) ==1034== Access not within mapped region at address 0x0 ==1034== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1034== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1034== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1034== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1034== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1034== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1034== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1034== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1034== by 0x8065F7E: main (nginx.c:382) ==1034== If you believe this happened as a result of a stack ==1034== overflow in your program's main thread (unlikely but ==1034== possible), you can try to increase the size of the ==1034== main thread stack using the --main-stacksize= flag. ==1034== 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 16: kill a light thread that is waiting on a semaphore (no resource) - Can't connect to 127.0.0.1:1984: Connection refused |
==1036== Invalid read of size 4 ==1036== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1036== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1036== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1036== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1036== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1036== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1036== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1036== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1036== by 0x8065F7E: main (nginx.c:382) ==1036== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1036== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1036== ==1036== Process terminating with default action of signal 11 (SIGSEGV) ==1036== Access not within mapped region at address 0x0 ==1036== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1036== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1036== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1036== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1036== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1036== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1036== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1036== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1036== by 0x8065F7E: main (nginx.c:382) ==1036== If you believe this happened as a result of a stack ==1036== overflow in your program's main thread (unlikely but ==1036== possible), you can try to increase the size of the ==1036== main thread stack using the --main-stacksize= flag. ==1036== 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 10: semaphore in log_by_lua (wait not allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==1038== Invalid read of size 4 ==1038== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1038== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1038== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1038== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1038== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1038== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1038== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1038== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1038== by 0x8065F7E: main (nginx.c:382) ==1038== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1038== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1038== ==1038== Process terminating with default action of signal 11 (SIGSEGV) ==1038== Access not within mapped region at address 0x0 ==1038== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1038== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1038== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1038== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1038== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1038== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1038== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1038== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1038== by 0x8065F7E: main (nginx.c:382) ==1038== If you believe this happened as a result of a stack ==1038== overflow in your program's main thread (unlikely but ==1038== possible), you can try to increase the size of the ==1038== main thread stack using the --main-stacksize= flag. ==1038== 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) - 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 24: basic semaphore_mm alloc - Can't connect to 127.0.0.1:1984: Connection refused |
==1040== Invalid read of size 4 ==1040== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1040== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1040== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1040== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1040== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1040== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1040== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1040== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1040== by 0x8065F7E: main (nginx.c:382) ==1040== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1040== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1040== ==1040== Process terminating with default action of signal 11 (SIGSEGV) ==1040== Access not within mapped region at address 0x0 ==1040== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1040== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1040== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1040== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1040== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1040== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1040== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1040== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1040== by 0x8065F7E: main (nginx.c:382) ==1040== If you believe this happened as a result of a stack ==1040== overflow in your program's main thread (unlikely but ==1040== possible), you can try to increase the size of the ==1040== main thread stack using the --main-stacksize= flag. ==1040== 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 8: semaphore in preread_by_lua (all allowed) - Can't connect to 127.0.0.1:1984: Connection refused |
==1042== Invalid read of size 4 ==1042== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1042== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1042== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1042== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1042== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1042== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1042== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1042== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1042== by 0x8065F7E: main (nginx.c:382) ==1042== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1042== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1042== ==1042== Process terminating with default action of signal 11 (SIGSEGV) ==1042== Access not within mapped region at address 0x0 ==1042== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1042== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1042== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1042== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1042== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1042== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1042== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1042== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1042== by 0x8065F7E: main (nginx.c:382) ==1042== If you believe this happened as a result of a stack ==1042== overflow in your program's main thread (unlikely but ==1042== possible), you can try to increase the size of the ==1042== main thread stack using the --main-stacksize= flag. ==1042== 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 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 |
==1044== Invalid read of size 4 ==1044== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1044== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1044== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1044== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1044== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1044== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1044== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1044== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1044== by 0x8065F7E: main (nginx.c:382) ==1044== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1044== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1044== ==1044== Process terminating with default action of signal 11 (SIGSEGV) ==1044== Access not within mapped region at address 0x0 ==1044== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1044== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1044== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1044== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1044== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1044== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1044== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1044== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1044== by 0x8065F7E: main (nginx.c:382) ==1044== If you believe this happened as a result of a stack ==1044== overflow in your program's main thread (unlikely but ==1044== possible), you can try to increase the size of the ==1044== main thread stack using the --main-stacksize= flag. ==1044== 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 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 |
==1046== Invalid read of size 4 ==1046== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1046== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1046== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1046== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1046== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1046== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1046== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1046== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1046== by 0x8065F7E: main (nginx.c:382) ==1046== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1046== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1046== ==1046== Process terminating with default action of signal 11 (SIGSEGV) ==1046== Access not within mapped region at address 0x0 ==1046== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1046== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1046== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1046== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1046== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1046== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1046== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1046== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1046== by 0x8065F7E: main (nginx.c:382) ==1046== If you believe this happened as a result of a stack ==1046== overflow in your program's main thread (unlikely but ==1046== possible), you can try to increase the size of the ==1046== main thread stack using the --main-stacksize= flag. ==1046== 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 12: semaphore post in all phase (in a request) - Can't connect to 127.0.0.1:1984: Connection refused |
==1048== Invalid read of size 4 ==1048== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1048== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1048== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1048== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1048== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1048== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1048== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1048== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1048== by 0x8065F7E: main (nginx.c:382) ==1048== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1048== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1048== ==1048== Process terminating with default action of signal 11 (SIGSEGV) ==1048== Access not within mapped region at address 0x0 ==1048== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1048== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1048== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1048== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1048== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1048== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1048== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1048== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1048== by 0x8065F7E: main (nginx.c:382) ==1048== If you believe this happened as a result of a stack ==1048== overflow in your program's main thread (unlikely but ==1048== possible), you can try to increase the size of the ==1048== main thread stack using the --main-stacksize= flag. ==1048== 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) - 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/shdict.t | TEST 24: get nil key - Can't connect to 127.0.0.1:1984: Connection refused |
==1054== Invalid read of size 4 ==1054== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1054== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1054== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1054== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1054== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1054== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1054== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1054== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1054== by 0x8065F7E: main (nginx.c:382) ==1054== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1054== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1054== ==1054== Process terminating with default action of signal 11 (SIGSEGV) ==1054== Access not within mapped region at address 0x0 ==1054== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1054== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1054== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1054== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1054== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1054== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1054== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1054== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1054== by 0x8065F7E: main (nginx.c:382) ==1054== If you believe this happened as a result of a stack ==1054== overflow in your program's main thread (unlikely but ==1054== possible), you can try to increase the size of the ==1054== main thread stack using the --main-stacksize= flag. ==1054== 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 1: get a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==1056== Invalid read of size 4 ==1056== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1056== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1056== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1056== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1056== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1056== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1056== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1056== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1056== by 0x8065F7E: main (nginx.c:382) ==1056== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1056== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1056== ==1056== Process terminating with default action of signal 11 (SIGSEGV) ==1056== Access not within mapped region at address 0x0 ==1056== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1056== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1056== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1056== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1056== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1056== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1056== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1056== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1056== by 0x8065F7E: main (nginx.c:382) ==1056== If you believe this happened as a result of a stack ==1056== overflow in your program's main thread (unlikely but ==1056== possible), you can try to increase the size of the ==1056== main thread stack using the --main-stacksize= flag. ==1056== The main thread stack size used in this run was 8388608. ==1056== 2,048 bytes in 1 blocks are definitely lost in loss record 3,139 of 3,204 ==1056== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1056== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1056== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1056== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1056== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1056== by 0x408F511: ir_nextk (lj_ir.c:175) ==1056== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1056== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1056== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1056== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1056== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1056== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1056== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1056== by 0x40C016A: trace_state (lj_trace.c:680) ==1056== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1056== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1056== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1056== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1056== by 0x4084A29: lua_resume (lj_api.c:1296) ==1056== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1056== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1056== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1056== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1056== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1056== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1056== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1056== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1056== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1056== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1056== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1056== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1056== by 0x8065F7E: main (nginx.c:382) ==1056== { <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 22: set a number value and delete - Can't connect to 127.0.0.1:1984: Connection refused |
==1058== Invalid read of size 4 ==1058== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1058== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1058== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1058== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1058== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1058== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1058== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1058== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1058== by 0x8065F7E: main (nginx.c:382) ==1058== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1058== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1058== ==1058== Process terminating with default action of signal 11 (SIGSEGV) ==1058== Access not within mapped region at address 0x0 ==1058== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1058== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1058== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1058== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1058== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1058== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1058== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1058== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1058== by 0x8065F7E: main (nginx.c:382) ==1058== If you believe this happened as a result of a stack ==1058== overflow in your program's main thread (unlikely but ==1058== possible), you can try to increase the size of the ==1058== main thread stack using the --main-stacksize= flag. ==1058== The main thread stack size used in this run was 8388608. ==1058== 2,048 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,183 ==1058== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1058== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1058== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1058== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1058== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1058== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1058== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1058== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==1058== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1058== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==1058== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1058== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1058== by 0x40C016A: trace_state (lj_trace.c:680) ==1058== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1058== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1058== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1058== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1058== by 0x4084A29: lua_resume (lj_api.c:1296) ==1058== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1058== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1058== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1058== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1058== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1058== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1058== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1058== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1058== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1058== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1058== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1058== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1058== by 0x8065F7E: main (nginx.c:382) ==1058== { <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 21: replace a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==1061== Invalid read of size 4 ==1061== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1061== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1061== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1061== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1061== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1061== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1061== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1061== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1061== by 0x8065F7E: main (nginx.c:382) ==1061== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1061== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1061== ==1061== Process terminating with default action of signal 11 (SIGSEGV) ==1061== Access not within mapped region at address 0x0 ==1061== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1061== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1061== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1061== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1061== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1061== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1061== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1061== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1061== by 0x8065F7E: main (nginx.c:382) ==1061== If you believe this happened as a result of a stack ==1061== overflow in your program's main thread (unlikely but ==1061== possible), you can try to increase the size of the ==1061== main thread stack using the --main-stacksize= flag. ==1061== The main thread stack size used in this run was 8388608. ==1061== 2,048 bytes in 1 blocks are definitely lost in loss record 3,125 of 3,189 ==1061== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1061== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1061== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1061== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1061== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1061== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1061== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1061== by 0x40A1767: lj_record_mm_lookup (lj_record.c:999) ==1061== by 0x40A0444: lj_record_idx (lj_record.c:1415) ==1061== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==1061== by 0x40C016A: trace_state (lj_trace.c:680) ==1061== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1061== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1061== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1061== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1061== by 0x4084A29: lua_resume (lj_api.c:1296) ==1061== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1061== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1061== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1061== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1061== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1061== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1061== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1061== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1061== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1061== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1061== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1061== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1061== by 0x8065F7E: main (nginx.c:382) ==1061== { <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 49: init_ttl uses long type to avoid overflow in incr() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==1063== Invalid read of size 4 ==1063== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1063== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1063== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1063== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1063== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1063== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1063== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1063== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1063== by 0x8065F7E: main (nginx.c:382) ==1063== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1063== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1063== ==1063== Process terminating with default action of signal 11 (SIGSEGV) ==1063== Access not within mapped region at address 0x0 ==1063== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1063== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1063== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1063== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1063== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1063== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1063== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1063== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1063== by 0x8065F7E: main (nginx.c:382) ==1063== If you believe this happened as a result of a stack ==1063== overflow in your program's main thread (unlikely but ==1063== possible), you can try to increase the size of the ==1063== main thread stack using the --main-stacksize= flag. ==1063== 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 40: incr init_ttl argument is not a number - Can't connect to 127.0.0.1:1984: Connection refused |
==1065== Invalid read of size 4 ==1065== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1065== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1065== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1065== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1065== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1065== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1065== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1065== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1065== by 0x8065F7E: main (nginx.c:382) ==1065== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1065== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1065== ==1065== Process terminating with default action of signal 11 (SIGSEGV) ==1065== Access not within mapped region at address 0x0 ==1065== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1065== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1065== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1065== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1065== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1065== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1065== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1065== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1065== by 0x8065F7E: main (nginx.c:382) ==1065== If you believe this happened as a result of a stack ==1065== overflow in your program's main thread (unlikely but ==1065== possible), you can try to increase the size of the ==1065== main thread stack using the --main-stacksize= flag. ==1065== 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 13: set a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==1067== Invalid read of size 4 ==1067== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1067== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1067== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1067== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1067== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1067== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1067== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1067== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1067== by 0x8065F7E: main (nginx.c:382) ==1067== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1067== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1067== ==1067== Process terminating with default action of signal 11 (SIGSEGV) ==1067== Access not within mapped region at address 0x0 ==1067== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1067== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1067== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1067== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1067== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1067== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1067== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1067== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1067== by 0x8065F7E: main (nginx.c:382) ==1067== If you believe this happened as a result of a stack ==1067== overflow in your program's main thread (unlikely but ==1067== possible), you can try to increase the size of the ==1067== main thread stack using the --main-stacksize= flag. ==1067== The main thread stack size used in this run was 8388608. ==1067== 2,048 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,183 ==1067== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1067== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1067== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1067== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1067== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1067== by 0x408F511: ir_nextk (lj_ir.c:175) ==1067== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1067== by 0x40AAFEB: recff_cdata_index (lj_crecord.c:838) ==1067== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1067== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1067== by 0x40C016A: trace_state (lj_trace.c:680) ==1067== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1067== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1067== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1067== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1067== by 0x4084A29: lua_resume (lj_api.c:1296) ==1067== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1067== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1067== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1067== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1067== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1067== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1067== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1067== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1067== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1067== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1067== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1067== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1067== by 0x8065F7E: main (nginx.c:382) ==1067== { <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 37: free_space, got forcible - Can't connect to 127.0.0.1:1984: Connection refused |
==1069== Invalid read of size 4 ==1069== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1069== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1069== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1069== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1069== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1069== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1069== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1069== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1069== by 0x8065F7E: main (nginx.c:382) ==1069== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1069== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1069== ==1069== Process terminating with default action of signal 11 (SIGSEGV) ==1069== Access not within mapped region at address 0x0 ==1069== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1069== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1069== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1069== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1069== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1069== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1069== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1069== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1069== by 0x8065F7E: main (nginx.c:382) ==1069== If you believe this happened as a result of a stack ==1069== overflow in your program's main thread (unlikely but ==1069== possible), you can try to increase the size of the ==1069== main thread stack using the --main-stacksize= flag. ==1069== The main thread stack size used in this run was 8388608. ==1069== 4,096 bytes in 1 blocks are definitely lost in loss record 3,163 of 3,188 ==1069== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1069== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1069== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1069== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1069== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1069== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1069== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1069== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==1069== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1069== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==1069== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1069== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1069== by 0x40C016A: trace_state (lj_trace.c:680) ==1069== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1069== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1069== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1069== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1069== by 0x4084A29: lua_resume (lj_api.c:1296) ==1069== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1069== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1069== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1069== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1069== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1069== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1069== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1069== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1069== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1069== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1069== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1069== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1069== by 0x8065F7E: main (nginx.c:382) ==1069== { <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 30: incr, init is not number - Can't connect to 127.0.0.1:1984: Connection refused |
==1071== Invalid read of size 4 ==1071== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1071== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1071== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1071== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1071== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1071== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1071== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1071== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1071== by 0x8065F7E: main (nginx.c:382) ==1071== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1071== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1071== ==1071== Process terminating with default action of signal 11 (SIGSEGV) ==1071== Access not within mapped region at address 0x0 ==1071== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1071== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1071== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1071== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1071== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1071== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1071== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1071== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1071== by 0x8065F7E: main (nginx.c:382) ==1071== If you believe this happened as a result of a stack ==1071== overflow in your program's main thread (unlikely but ==1071== possible), you can try to increase the size of the ==1071== main thread stack using the --main-stacksize= flag. ==1071== 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 42: incr key with init_ttl (key exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==1073== Invalid read of size 4 ==1073== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1073== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1073== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1073== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1073== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1073== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1073== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1073== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1073== by 0x8065F7E: main (nginx.c:382) ==1073== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1073== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1073== ==1073== Process terminating with default action of signal 11 (SIGSEGV) ==1073== Access not within mapped region at address 0x0 ==1073== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1073== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1073== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1073== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1073== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1073== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1073== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1073== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1073== by 0x8065F7E: main (nginx.c:382) ==1073== If you believe this happened as a result of a stack ==1073== overflow in your program's main thread (unlikely but ==1073== possible), you can try to increase the size of the ==1073== main thread stack using the --main-stacksize= flag. ==1073== 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 44: incr key with init and init_ttl as string (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==1075== Invalid read of size 4 ==1075== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1075== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1075== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1075== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1075== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1075== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1075== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1075== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1075== by 0x8065F7E: main (nginx.c:382) ==1075== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1075== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1075== ==1075== Process terminating with default action of signal 11 (SIGSEGV) ==1075== Access not within mapped region at address 0x0 ==1075== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1075== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1075== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1075== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1075== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1075== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1075== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1075== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1075== by 0x8065F7E: main (nginx.c:382) ==1075== If you believe this happened as a result of a stack ==1075== overflow in your program's main thread (unlikely but ==1075== possible), you can try to increase the size of the ==1075== main thread stack using the --main-stacksize= flag. ==1075== 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 4: get a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==1077== Invalid read of size 4 ==1077== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1077== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1077== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1077== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1077== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1077== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1077== by 0x8065F7E: main (nginx.c:382) ==1077== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1077== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1077== ==1077== Process terminating with default action of signal 11 (SIGSEGV) ==1077== Access not within mapped region at address 0x0 ==1077== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1077== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1077== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1077== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1077== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1077== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1077== by 0x8065F7E: main (nginx.c:382) ==1077== If you believe this happened as a result of a stack ==1077== overflow in your program's main thread (unlikely but ==1077== possible), you can try to increase the size of the ==1077== main thread stack using the --main-stacksize= flag. ==1077== The main thread stack size used in this run was 8388608. ==1077== 2,048 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,183 ==1077== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1077== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1077== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1077== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1077== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1077== by 0x408F511: ir_nextk (lj_ir.c:175) ==1077== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1077== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1077== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1077== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1077== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1077== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1077== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1077== by 0x40C016A: trace_state (lj_trace.c:680) ==1077== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1077== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1077== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1077== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1077== by 0x4084A29: lua_resume (lj_api.c:1296) ==1077== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1077== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1077== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1077== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1077== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1077== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1077== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1077== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1077== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1077== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1077== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1077== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1077== by 0x8065F7E: main (nginx.c:382) ==1077== { <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/shdict.t | TEST 27: flush_all - Can't connect to 127.0.0.1:1984: Connection refused |
==1079== Invalid read of size 4 ==1079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1079== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1079== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1079== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1079== by 0x8065F7E: main (nginx.c:382) ==1079== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1079== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1079== ==1079== Process terminating with default action of signal 11 (SIGSEGV) ==1079== Access not within mapped region at address 0x0 ==1079== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1079== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1079== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1079== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1079== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1079== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1079== by 0x8065F7E: main (nginx.c:382) ==1079== If you believe this happened as a result of a stack ==1079== overflow in your program's main thread (unlikely but ==1079== possible), you can try to increase the size of the ==1079== main thread stack using the --main-stacksize= flag. ==1079== The main thread stack size used in this run was 8388608. ==1079== 1,024 bytes in 1 blocks are definitely lost in loss record 3,069 of 3,180 ==1079== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1079== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1079== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1079== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1079== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1079== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1079== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1079== by 0x40B15D9: recff_type (lj_ffrecord.c:204) ==1079== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1079== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1079== by 0x40C016A: trace_state (lj_trace.c:680) ==1079== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1079== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1079== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1079== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1079== by 0x4084A29: lua_resume (lj_api.c:1296) ==1079== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1079== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1079== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1079== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1079== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1079== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1079== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1079== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1079== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1079== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1079== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1079== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1079== by 0x8065F7E: main (nginx.c:382) ==1079== { <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 36: free_space, full - Can't connect to 127.0.0.1:1984: Connection refused |
==1081== Invalid read of size 4 ==1081== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1081== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1081== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1081== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1081== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1081== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1081== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1081== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1081== by 0x8065F7E: main (nginx.c:382) ==1081== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1081== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1081== ==1081== Process terminating with default action of signal 11 (SIGSEGV) ==1081== Access not within mapped region at address 0x0 ==1081== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1081== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1081== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1081== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1081== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1081== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1081== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1081== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1081== by 0x8065F7E: main (nginx.c:382) ==1081== If you believe this happened as a result of a stack ==1081== overflow in your program's main thread (unlikely but ==1081== possible), you can try to increase the size of the ==1081== main thread stack using the --main-stacksize= flag. ==1081== The main thread stack size used in this run was 8388608. ==1081== 2,048 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,181 ==1081== at 0x402C768: realloc (vg_replace_malloc.c:834) ==1081== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1081== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1081== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==1081== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==1081== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==1081== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==1081== by 0x40AC386: crec_call (lj_crecord.c:1231) ==1081== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==1081== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1081== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1081== by 0x40C016A: trace_state (lj_trace.c:680) ==1081== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1081== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1081== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1081== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1081== by 0x4084A29: lua_resume (lj_api.c:1296) ==1081== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1081== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1081== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1081== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1081== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1081== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1081== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1081== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1081== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1081== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1081== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1081== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1081== by 0x8065F7E: main (nginx.c:382) ==1081== { <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 29: incr with init - Can't connect to 127.0.0.1:1984: Connection refused |
==1083== Invalid read of size 4 ==1083== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1083== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1083== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1083== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1083== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1083== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1083== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1083== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1083== by 0x8065F7E: main (nginx.c:382) ==1083== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1083== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1083== ==1083== Process terminating with default action of signal 11 (SIGSEGV) ==1083== Access not within mapped region at address 0x0 ==1083== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1083== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1083== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1083== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1083== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1083== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1083== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1083== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1083== by 0x8065F7E: main (nginx.c:382) ==1083== If you believe this happened as a result of a stack ==1083== overflow in your program's main thread (unlikely but ==1083== possible), you can try to increase the size of the ==1083== main thread stack using the --main-stacksize= flag. ==1083== 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 20: safe add a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==1085== Invalid read of size 4 ==1085== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1085== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1085== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1085== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1085== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1085== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1085== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1085== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1085== by 0x8065F7E: main (nginx.c:382) ==1085== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1085== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1085== ==1085== Process terminating with default action of signal 11 (SIGSEGV) ==1085== Access not within mapped region at address 0x0 ==1085== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1085== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1085== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1085== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1085== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1085== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1085== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1085== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1085== by 0x8065F7E: main (nginx.c:382) ==1085== If you believe this happened as a result of a stack ==1085== overflow in your program's main thread (unlikely but ==1085== possible), you can try to increase the size of the ==1085== main thread stack using the --main-stacksize= flag. ==1085== The main thread stack size used in this run was 8388608. ==1085== 2,048 bytes in 1 blocks are definitely lost in loss record 3,140 of 3,205 ==1085== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1085== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1085== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1085== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1085== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1085== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1085== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1085== by 0x40A1767: lj_record_mm_lookup (lj_record.c:999) ==1085== by 0x40A0444: lj_record_idx (lj_record.c:1415) ==1085== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==1085== by 0x40C016A: trace_state (lj_trace.c:680) ==1085== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1085== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1085== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1085== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1085== by 0x4084A29: lua_resume (lj_api.c:1296) ==1085== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1085== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1085== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1085== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1085== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1085== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1085== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1085== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1085== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1085== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1085== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1085== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1085== by 0x8065F7E: main (nginx.c:382) ==1085== { <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 11: incr double - Can't connect to 127.0.0.1:1984: Connection refused |
==1087== Invalid read of size 4 ==1087== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1087== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1087== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1087== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1087== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1087== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1087== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1087== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1087== by 0x8065F7E: main (nginx.c:382) ==1087== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1087== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1087== ==1087== Process terminating with default action of signal 11 (SIGSEGV) ==1087== Access not within mapped region at address 0x0 ==1087== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1087== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1087== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1087== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1087== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1087== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1087== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1087== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1087== by 0x8065F7E: main (nginx.c:382) ==1087== If you believe this happened as a result of a stack ==1087== overflow in your program's main thread (unlikely but ==1087== possible), you can try to increase the size of the ==1087== main thread stack using the --main-stacksize= flag. ==1087== The main thread stack size used in this run was 8388608. ==1087== 2,048 bytes in 1 blocks are definitely lost in loss record 3,117 of 3,179 ==1087== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1087== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1087== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1087== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1087== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1087== by 0x408F6B5: ir_nextk64 (lj_ir.c:187) ==1087== by 0x408F6B5: lj_ir_k64 (lj_ir.c:226) ==1087== by 0x408F726: lj_ir_knum_u64 (lj_ir.c:241) ==1087== by 0x4092F64: lj_ir_knum (lj_iropt.h:63) ==1087== by 0x4092F64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==1087== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1087== by 0x40A953C: crec_ct_ct (lj_crecord.c:465) ==1087== by 0x40A953C: crec_ct_tv (lj_crecord.c:691) ==1087== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1087== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1087== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1087== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1087== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1087== by 0x40C016A: trace_state (lj_trace.c:680) ==1087== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1087== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1087== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1087== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1087== by 0x4084A29: lua_resume (lj_api.c:1296) ==1087== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1087== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1087== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1087== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1087== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1087== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1087== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1087== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1087== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1087== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1087== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1087== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1087== by 0x8065F7E: main (nginx.c:382) ==1087== { <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 23: set nil key - Can't connect to 127.0.0.1:1984: Connection refused |
==1089== Invalid read of size 4 ==1089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1089== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1089== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1089== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1089== by 0x8065F7E: main (nginx.c:382) ==1089== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1089== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1089== ==1089== Process terminating with default action of signal 11 (SIGSEGV) ==1089== Access not within mapped region at address 0x0 ==1089== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1089== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1089== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1089== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1089== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1089== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1089== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1089== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1089== by 0x8065F7E: main (nginx.c:382) ==1089== If you believe this happened as a result of a stack ==1089== overflow in your program's main thread (unlikely but ==1089== possible), you can try to increase the size of the ==1089== main thread stack using the --main-stacksize= flag. ==1089== 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 3: get a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==1091== Invalid read of size 4 ==1091== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1091== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1091== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1091== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1091== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1091== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1091== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1091== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1091== by 0x8065F7E: main (nginx.c:382) ==1091== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1091== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1091== ==1091== Process terminating with default action of signal 11 (SIGSEGV) ==1091== Access not within mapped region at address 0x0 ==1091== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1091== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1091== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1091== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1091== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1091== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1091== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1091== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1091== by 0x8065F7E: main (nginx.c:382) ==1091== If you believe this happened as a result of a stack ==1091== overflow in your program's main thread (unlikely but ==1091== possible), you can try to increase the size of the ==1091== main thread stack using the --main-stacksize= flag. ==1091== The main thread stack size used in this run was 8388608. ==1091== 2,048 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,183 ==1091== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1091== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1091== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1091== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1091== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1091== by 0x408F511: ir_nextk (lj_ir.c:175) ==1091== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1091== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1091== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1091== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1091== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1091== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1091== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1091== by 0x40C016A: trace_state (lj_trace.c:680) ==1091== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1091== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1091== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1091== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1091== by 0x4084A29: lua_resume (lj_api.c:1296) ==1091== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1091== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1091== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1091== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1091== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1091== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1091== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1091== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1091== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1091== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1091== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1091== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1091== by 0x8065F7E: main (nginx.c:382) ==1091== { <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 17: set a number value and a nil - Can't connect to 127.0.0.1:1984: Connection refused |
==1093== Invalid read of size 4 ==1093== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1093== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1093== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1093== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1093== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1093== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1093== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1093== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1093== by 0x8065F7E: main (nginx.c:382) ==1093== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1093== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1093== ==1093== Process terminating with default action of signal 11 (SIGSEGV) ==1093== Access not within mapped region at address 0x0 ==1093== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1093== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1093== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1093== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1093== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1093== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1093== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1093== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1093== by 0x8065F7E: main (nginx.c:382) ==1093== If you believe this happened as a result of a stack ==1093== overflow in your program's main thread (unlikely but ==1093== possible), you can try to increase the size of the ==1093== main thread stack using the --main-stacksize= flag. ==1093== The main thread stack size used in this run was 8388608. ==1093== 2,048 bytes in 1 blocks are definitely lost in loss record 3,117 of 3,181 ==1093== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1093== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1093== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1093== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1093== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1093== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1093== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1093== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==1093== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1093== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==1093== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1093== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1093== by 0x40C016A: trace_state (lj_trace.c:680) ==1093== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1093== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1093== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1093== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1093== by 0x4084A29: lua_resume (lj_api.c:1296) ==1093== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1093== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1093== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1093== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1093== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1093== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1093== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1093== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1093== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1093== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1093== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1093== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1093== by 0x8065F7E: main (nginx.c:382) ==1093== { <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 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 48: exptime uses long type to avoid overflow in expire() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==1095== Invalid read of size 4 ==1095== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1095== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1095== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1095== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1095== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1095== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1095== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1095== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1095== by 0x8065F7E: main (nginx.c:382) ==1095== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1095== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1095== ==1095== Process terminating with default action of signal 11 (SIGSEGV) ==1095== Access not within mapped region at address 0x0 ==1095== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1095== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1095== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1095== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1095== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1095== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1095== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1095== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1095== by 0x8065F7E: main (nginx.c:382) ==1095== If you believe this happened as a result of a stack ==1095== overflow in your program's main thread (unlikely but ==1095== possible), you can try to increase the size of the ==1095== main thread stack using the --main-stacksize= flag. ==1095== 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 18: safe set a number value - Can't connect to 127.0.0.1:1984: Connection refused |
==1108== Invalid read of size 4 ==1108== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1108== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1108== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1108== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1108== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1108== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1108== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1108== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1108== by 0x8065F7E: main (nginx.c:382) ==1108== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1108== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1108== ==1108== Process terminating with default action of signal 11 (SIGSEGV) ==1108== Access not within mapped region at address 0x0 ==1108== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1108== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1108== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1108== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1108== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1108== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1108== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1108== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1108== by 0x8065F7E: main (nginx.c:382) ==1108== If you believe this happened as a result of a stack ==1108== overflow in your program's main thread (unlikely but ==1108== possible), you can try to increase the size of the ==1108== main thread stack using the --main-stacksize= flag. ==1108== The main thread stack size used in this run was 8388608. ==1108== 2,048 bytes in 1 blocks are definitely lost in loss record 3,124 of 3,187 ==1108== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1108== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1108== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1108== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1108== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1108== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1108== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1108== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==1108== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1108== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==1108== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1108== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1108== by 0x40C016A: trace_state (lj_trace.c:680) ==1108== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1108== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1108== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1108== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1108== by 0x4084A29: lua_resume (lj_api.c:1296) ==1108== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1108== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1108== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1108== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1108== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1108== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1108== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1108== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1108== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1108== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1108== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1108== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1108== by 0x8065F7E: main (nginx.c:382) ==1108== { <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 39: incr bad init_ttl argument - Can't connect to 127.0.0.1:1984: Connection refused |
==1112== Invalid read of size 4 ==1112== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1112== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1112== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1112== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1112== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1112== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1112== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1112== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1112== by 0x8065F7E: main (nginx.c:382) ==1112== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1112== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1112== ==1112== Process terminating with default action of signal 11 (SIGSEGV) ==1112== Access not within mapped region at address 0x0 ==1112== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1112== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1112== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1112== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1112== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1112== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1112== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1112== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1112== by 0x8065F7E: main (nginx.c:382) ==1112== If you believe this happened as a result of a stack ==1112== overflow in your program's main thread (unlikely but ==1112== possible), you can try to increase the size of the ==1112== main thread stack using the --main-stacksize= flag. ==1112== 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 43: incr key with init and init_ttl (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused |
==1114== Invalid read of size 4 ==1114== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1114== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1114== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1114== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1114== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1114== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1114== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1114== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1114== by 0x8065F7E: main (nginx.c:382) ==1114== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1114== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1114== ==1114== Process terminating with default action of signal 11 (SIGSEGV) ==1114== Access not within mapped region at address 0x0 ==1114== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1114== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1114== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1114== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1114== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1114== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1114== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1114== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1114== by 0x8065F7E: main (nginx.c:382) ==1114== If you believe this happened as a result of a stack ==1114== overflow in your program's main thread (unlikely but ==1114== possible), you can try to increase the size of the ==1114== main thread stack using the --main-stacksize= flag. ==1114== 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 28: incr, value is not number - Can't connect to 127.0.0.1:1984: Connection refused |
==1116== Invalid read of size 4 ==1116== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1116== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1116== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1116== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1116== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1116== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1116== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1116== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1116== by 0x8065F7E: main (nginx.c:382) ==1116== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1116== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1116== ==1116== Process terminating with default action of signal 11 (SIGSEGV) ==1116== Access not within mapped region at address 0x0 ==1116== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1116== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1116== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1116== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1116== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1116== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1116== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1116== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1116== by 0x8065F7E: main (nginx.c:382) ==1116== If you believe this happened as a result of a stack ==1116== overflow in your program's main thread (unlikely but ==1116== possible), you can try to increase the size of the ==1116== main thread stack using the --main-stacksize= flag. ==1116== 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 9: get_stale (true) - Can't connect to 127.0.0.1:1984: Connection refused |
==1118== Invalid read of size 4 ==1118== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1118== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1118== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1118== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1118== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1118== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1118== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1118== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1118== by 0x8065F7E: main (nginx.c:382) ==1118== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1118== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1118== ==1118== Process terminating with default action of signal 11 (SIGSEGV) ==1118== Access not within mapped region at address 0x0 ==1118== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1118== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1118== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1118== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1118== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1118== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1118== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1118== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1118== by 0x8065F7E: main (nginx.c:382) ==1118== If you believe this happened as a result of a stack ==1118== overflow in your program's main thread (unlikely but ==1118== possible), you can try to increase the size of the ==1118== main thread stack using the --main-stacksize= flag. ==1118== The main thread stack size used in this run was 8388608. ==1118== 2,048 bytes in 1 blocks are definitely lost in loss record 3,123 of 3,187 ==1118== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1118== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1118== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1118== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1118== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1118== by 0x408F511: ir_nextk (lj_ir.c:175) ==1118== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1118== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1118== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1118== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1118== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1118== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1118== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1118== by 0x40C016A: trace_state (lj_trace.c:680) ==1118== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1118== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1118== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1118== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1118== by 0x4084A29: lua_resume (lj_api.c:1296) ==1118== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1118== by 0x818ED1A: ngx_stream_lua_sleep_resume (ngx_stream_lua_sleep.c:206) ==1118== by 0x818EE41: ngx_stream_lua_sleep_handler (ngx_stream_lua_sleep.c:145) ==1118== by 0x80858DB: ngx_event_expire_timers (ngx_event_timer.c:94) ==1118== by 0x80853A3: ngx_process_events_and_timers (ngx_event.c:271) ==1118== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1118== by 0x8065F7E: main (nginx.c:382) ==1118== { <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 35: free_space, about half full, no page left - Can't connect to 127.0.0.1:1984: Connection refused |
==1120== Invalid read of size 4 ==1120== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1120== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1120== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1120== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1120== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1120== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1120== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1120== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1120== by 0x8065F7E: main (nginx.c:382) ==1120== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1120== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1120== ==1120== Process terminating with default action of signal 11 (SIGSEGV) ==1120== Access not within mapped region at address 0x0 ==1120== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1120== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1120== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1120== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1120== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1120== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1120== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1120== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1120== by 0x8065F7E: main (nginx.c:382) ==1120== If you believe this happened as a result of a stack ==1120== overflow in your program's main thread (unlikely but ==1120== possible), you can try to increase the size of the ==1120== main thread stack using the --main-stacksize= flag. ==1120== The main thread stack size used in this run was 8388608. ==1120== 4,096 bytes in 1 blocks are definitely lost in loss record 3,163 of 3,188 ==1120== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1120== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1120== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1120== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1120== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1120== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1120== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1120== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==1120== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1120== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==1120== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1120== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1120== by 0x40C016A: trace_state (lj_trace.c:680) ==1120== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1120== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1120== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1120== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1120== by 0x4084A29: lua_resume (lj_api.c:1296) ==1120== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1120== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1120== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1120== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1120== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1120== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1120== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1120== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1120== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1120== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1120== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1120== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1120== by 0x8065F7E: main (nginx.c:382) ==1120== { <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 33: free_space, empty (100k zone) - Can't connect to 127.0.0.1:1984: Connection refused |
==1122== Invalid read of size 4 ==1122== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1122== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1122== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1122== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1122== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1122== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1122== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1122== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1122== by 0x8065F7E: main (nginx.c:382) ==1122== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1122== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1122== ==1122== Process terminating with default action of signal 11 (SIGSEGV) ==1122== Access not within mapped region at address 0x0 ==1122== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1122== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1122== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1122== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1122== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1122== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1122== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1122== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1122== by 0x8065F7E: main (nginx.c:382) ==1122== If you believe this happened as a result of a stack ==1122== overflow in your program's main thread (unlikely but ==1122== possible), you can try to increase the size of the ==1122== main thread stack using the --main-stacksize= flag. ==1122== 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 5: get a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused |
==1124== Invalid read of size 4 ==1124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1124== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1124== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1124== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1124== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1124== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1124== by 0x8065F7E: main (nginx.c:382) ==1124== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1124== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1124== ==1124== Process terminating with default action of signal 11 (SIGSEGV) ==1124== Access not within mapped region at address 0x0 ==1124== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1124== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1124== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1124== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1124== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1124== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1124== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1124== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1124== by 0x8065F7E: main (nginx.c:382) ==1124== If you believe this happened as a result of a stack ==1124== overflow in your program's main thread (unlikely but ==1124== possible), you can try to increase the size of the ==1124== main thread stack using the --main-stacksize= flag. ==1124== The main thread stack size used in this run was 8388608. ==1124== 2,048 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,183 ==1124== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1124== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1124== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1124== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1124== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1124== by 0x408F511: ir_nextk (lj_ir.c:175) ==1124== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1124== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1124== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1124== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1124== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1124== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1124== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1124== by 0x40C016A: trace_state (lj_trace.c:680) ==1124== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1124== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1124== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1124== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1124== by 0x4084A29: lua_resume (lj_api.c:1296) ==1124== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1124== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1124== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1124== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1124== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1124== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1124== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1124== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1124== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1124== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1124== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1124== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1124== by 0x8065F7E: main (nginx.c:382) ==1124== { <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 15: set a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused |
==1126== Invalid read of size 4 ==1126== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1126== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1126== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1126== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1126== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1126== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1126== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1126== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1126== by 0x8065F7E: main (nginx.c:382) ==1126== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1126== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1126== ==1126== Process terminating with default action of signal 11 (SIGSEGV) ==1126== Access not within mapped region at address 0x0 ==1126== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1126== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1126== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1126== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1126== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1126== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1126== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1126== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1126== by 0x8065F7E: main (nginx.c:382) ==1126== If you believe this happened as a result of a stack ==1126== overflow in your program's main thread (unlikely but ==1126== possible), you can try to increase the size of the ==1126== main thread stack using the --main-stacksize= flag. ==1126== The main thread stack size used in this run was 8388608. ==1126== 2,048 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,183 ==1126== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1126== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1126== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1126== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1126== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1126== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1126== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1126== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==1126== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1126== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==1126== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1126== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1126== by 0x40C016A: trace_state (lj_trace.c:680) ==1126== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1126== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1126== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1126== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1126== by 0x4084A29: lua_resume (lj_api.c:1296) ==1126== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1126== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1126== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1126== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1126== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1126== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1126== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1126== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1126== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1126== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1126== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1126== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1126== by 0x8065F7E: main (nginx.c:382) ==1126== { <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 47: exptime uses long type to avoid overflow in set() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused |
==1128== Invalid read of size 4 ==1128== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1128== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1128== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1128== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1128== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1128== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1128== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1128== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1128== by 0x8065F7E: main (nginx.c:382) ==1128== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1128== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1128== ==1128== Process terminating with default action of signal 11 (SIGSEGV) ==1128== Access not within mapped region at address 0x0 ==1128== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1128== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1128== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1128== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1128== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1128== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1128== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1128== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1128== by 0x8065F7E: main (nginx.c:382) ==1128== If you believe this happened as a result of a stack ==1128== overflow in your program's main thread (unlikely but ==1128== possible), you can try to increase the size of the ==1128== main thread stack using the --main-stacksize= flag. ==1128== 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 2: get an nonexistent key - Can't connect to 127.0.0.1:1984: Connection refused |
==1130== Invalid read of size 4 ==1130== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1130== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1130== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1130== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1130== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1130== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1130== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1130== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1130== by 0x8065F7E: main (nginx.c:382) ==1130== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1130== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1130== ==1130== Process terminating with default action of signal 11 (SIGSEGV) ==1130== Access not within mapped region at address 0x0 ==1130== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1130== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1130== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1130== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1130== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1130== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1130== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1130== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1130== by 0x8065F7E: main (nginx.c:382) ==1130== If you believe this happened as a result of a stack ==1130== overflow in your program's main thread (unlikely but ==1130== possible), you can try to increase the size of the ==1130== main thread stack using the --main-stacksize= flag. ==1130== The main thread stack size used in this run was 8388608. ==1130== 2,048 bytes in 1 blocks are definitely lost in loss record 3,113 of 3,174 ==1130== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1130== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1130== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1130== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1130== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1130== by 0x408F511: ir_nextk (lj_ir.c:175) ==1130== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1130== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1130== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1130== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1130== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1130== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1130== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1130== by 0x40C016A: trace_state (lj_trace.c:680) ==1130== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1130== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1130== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1130== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1130== by 0x4084A29: lua_resume (lj_api.c:1296) ==1130== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1130== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1130== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1130== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1130== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1130== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1130== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1130== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1130== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1130== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1130== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1130== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1130== by 0x8065F7E: main (nginx.c:382) ==1130== { <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 6: get a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused |
==1132== Invalid read of size 4 ==1132== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1132== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1132== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1132== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1132== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1132== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1132== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1132== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1132== by 0x8065F7E: main (nginx.c:382) ==1132== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1132== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1132== ==1132== Process terminating with default action of signal 11 (SIGSEGV) ==1132== Access not within mapped region at address 0x0 ==1132== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1132== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1132== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1132== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1132== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1132== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1132== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1132== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1132== by 0x8065F7E: main (nginx.c:382) ==1132== If you believe this happened as a result of a stack ==1132== overflow in your program's main thread (unlikely but ==1132== possible), you can try to increase the size of the ==1132== main thread stack using the --main-stacksize= flag. ==1132== The main thread stack size used in this run was 8388608. ==1132== 2,048 bytes in 1 blocks are definitely lost in loss record 3,119 of 3,183 ==1132== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1132== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1132== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1132== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1132== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1132== by 0x408F511: ir_nextk (lj_ir.c:175) ==1132== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1132== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1132== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1132== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1132== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1132== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1132== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1132== by 0x40C016A: trace_state (lj_trace.c:680) ==1132== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1132== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1132== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1132== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1132== by 0x4084A29: lua_resume (lj_api.c:1296) ==1132== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1132== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1132== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1132== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1132== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1132== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1132== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1132== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1132== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1132== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1132== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1132== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1132== by 0x8065F7E: main (nginx.c:382) ==1132== { <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 26: incr key - Can't connect to 127.0.0.1:1984: Connection refused |
==1134== Invalid read of size 4 ==1134== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1134== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1134== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1134== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1134== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1134== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1134== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1134== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1134== by 0x8065F7E: main (nginx.c:382) ==1134== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1134== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1134== ==1134== Process terminating with default action of signal 11 (SIGSEGV) ==1134== Access not within mapped region at address 0x0 ==1134== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1134== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1134== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1134== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1134== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1134== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1134== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1134== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1134== by 0x8065F7E: main (nginx.c:382) ==1134== If you believe this happened as a result of a stack ==1134== overflow in your program's main thread (unlikely but ==1134== possible), you can try to increase the size of the ==1134== main thread stack using the --main-stacksize= flag. ==1134== 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 12: set a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==1137== Invalid read of size 4 ==1137== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1137== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1137== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1137== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1137== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1137== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1137== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1137== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1137== by 0x8065F7E: main (nginx.c:382) ==1137== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1137== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1137== ==1137== Process terminating with default action of signal 11 (SIGSEGV) ==1137== Access not within mapped region at address 0x0 ==1137== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1137== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1137== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1137== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1137== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1137== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1137== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1137== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1137== by 0x8065F7E: main (nginx.c:382) ==1137== If you believe this happened as a result of a stack ==1137== overflow in your program's main thread (unlikely but ==1137== possible), you can try to increase the size of the ==1137== main thread stack using the --main-stacksize= flag. ==1137== The main thread stack size used in this run was 8388608. ==1137== 2,048 bytes in 1 blocks are definitely lost in loss record 3,116 of 3,177 ==1137== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1137== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1137== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1137== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1137== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1137== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1137== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1137== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==1137== by 0x40A0AA4: lj_record_idx (lj_record.c:1419) ==1137== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==1137== by 0x40C016A: trace_state (lj_trace.c:680) ==1137== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1137== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1137== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1137== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1137== by 0x4084A29: lua_resume (lj_api.c:1296) ==1137== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1137== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1137== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1137== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1137== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1137== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1137== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1137== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1137== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1137== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1137== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1137== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1137== by 0x8065F7E: main (nginx.c:382) ==1137== { <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 41: incr init_ttl argument without init - Can't connect to 127.0.0.1:1984: Connection refused |
==1139== Invalid read of size 4 ==1139== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1139== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1139== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1139== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1139== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1139== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1139== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1139== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1139== by 0x8065F7E: main (nginx.c:382) ==1139== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1139== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1139== ==1139== Process terminating with default action of signal 11 (SIGSEGV) ==1139== Access not within mapped region at address 0x0 ==1139== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1139== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1139== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1139== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1139== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1139== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1139== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1139== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1139== by 0x8065F7E: main (nginx.c:382) ==1139== If you believe this happened as a result of a stack ==1139== overflow in your program's main thread (unlikely but ==1139== possible), you can try to increase the size of the ==1139== main thread stack using the --main-stacksize= flag. ==1139== 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 |
==1145== Invalid read of size 4 ==1145== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1145== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1145== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1145== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1145== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1145== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1145== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1145== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1145== by 0x8065F7E: main (nginx.c:382) ==1145== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1145== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1145== ==1145== Process terminating with default action of signal 11 (SIGSEGV) ==1145== Access not within mapped region at address 0x0 ==1145== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1145== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1145== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1145== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1145== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1145== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1145== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1145== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1145== by 0x8065F7E: main (nginx.c:382) ==1145== If you believe this happened as a result of a stack ==1145== overflow in your program's main thread (unlikely but ==1145== possible), you can try to increase the size of the ==1145== main thread stack using the --main-stacksize= flag. ==1145== The main thread stack size used in this run was 8388608. ==1145== 2,048 bytes in 1 blocks are definitely lost in loss record 3,134 of 3,200 ==1145== at 0x402C768: realloc (vg_replace_malloc.c:834) ==1145== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1145== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1145== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==1145== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==1145== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==1145== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==1145== by 0x40AC386: crec_call (lj_crecord.c:1231) ==1145== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==1145== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1145== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1145== by 0x40C016A: trace_state (lj_trace.c:680) ==1145== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1145== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1145== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1145== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1145== by 0x4084A29: lua_resume (lj_api.c:1296) ==1145== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1145== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1145== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1145== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1145== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1145== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1145== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1145== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1145== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1145== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1145== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1145== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1145== by 0x8065F7E: main (nginx.c:382) ==1145== { <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 46: incr key with init and init_ttl (forcibly override other valid entries) - Can't connect to 127.0.0.1:1984: Connection refused |
==1147== Invalid read of size 4 ==1147== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1147== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1147== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1147== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1147== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1147== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1147== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1147== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1147== by 0x8065F7E: main (nginx.c:382) ==1147== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1147== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1147== ==1147== Process terminating with default action of signal 11 (SIGSEGV) ==1147== Access not within mapped region at address 0x0 ==1147== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1147== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1147== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1147== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1147== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1147== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1147== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1147== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1147== by 0x8065F7E: main (nginx.c:382) ==1147== If you believe this happened as a result of a stack ==1147== overflow in your program's main thread (unlikely but ==1147== possible), you can try to increase the size of the ==1147== main thread stack using the --main-stacksize= flag. ==1147== The main thread stack size used in this run was 8388608. ==1147== 2,048 bytes in 1 blocks are definitely lost in loss record 3,115 of 3,181 ==1147== at 0x402C768: realloc (vg_replace_malloc.c:834) ==1147== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1147== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1147== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==1147== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==1147== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==1147== by 0x4098E81: loop_unroll (lj_opt_loop.c:329) ==1147== by 0x4098E81: cploop_opt (lj_opt_loop.c:409) ==1147== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1147== by 0x4099781: lj_opt_loop (lj_opt_loop.c:424) ==1147== by 0x40C0675: trace_state (lj_trace.c:690) ==1147== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1147== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1147== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1147== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1147== by 0x4084A29: lua_resume (lj_api.c:1296) ==1147== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1147== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1147== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1147== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1147== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1147== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1147== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1147== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1147== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1147== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1147== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1147== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1147== by 0x8065F7E: main (nginx.c:382) ==1147== { <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 31: capacity - Can't connect to 127.0.0.1:1984: Connection refused |
==1149== Invalid read of size 4 ==1149== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1149== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1149== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1149== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1149== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1149== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1149== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1149== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1149== by 0x8065F7E: main (nginx.c:382) ==1149== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1149== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1149== ==1149== Process terminating with default action of signal 11 (SIGSEGV) ==1149== Access not within mapped region at address 0x0 ==1149== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1149== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1149== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1149== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1149== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1149== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1149== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1149== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1149== by 0x8065F7E: main (nginx.c:382) ==1149== If you believe this happened as a result of a stack ==1149== overflow in your program's main thread (unlikely but ==1149== possible), you can try to increase the size of the ==1149== main thread stack using the --main-stacksize= flag. ==1149== 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 |
==1151== Invalid read of size 4 ==1151== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1151== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1151== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1151== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1151== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1151== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1151== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1151== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1151== by 0x8065F7E: main (nginx.c:382) ==1151== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1151== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1151== ==1151== Process terminating with default action of signal 11 (SIGSEGV) ==1151== Access not within mapped region at address 0x0 ==1151== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1151== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1151== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1151== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1151== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1151== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1151== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1151== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1151== by 0x8065F7E: main (nginx.c:382) ==1151== If you believe this happened as a result of a stack ==1151== overflow in your program's main thread (unlikely but ==1151== possible), you can try to increase the size of the ==1151== main thread stack using the --main-stacksize= flag. ==1151== 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 45: incr key with init and init_ttl (key expired and size matched) - Can't connect to 127.0.0.1:1984: Connection refused |
==1153== Invalid read of size 4 ==1153== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1153== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1153== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1153== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1153== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1153== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1153== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1153== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1153== by 0x8065F7E: main (nginx.c:382) ==1153== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1153== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1153== ==1153== Process terminating with default action of signal 11 (SIGSEGV) ==1153== Access not within mapped region at address 0x0 ==1153== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1153== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1153== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1153== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1153== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1153== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1153== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1153== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1153== by 0x8065F7E: main (nginx.c:382) ==1153== If you believe this happened as a result of a stack ==1153== overflow in your program's main thread (unlikely but ==1153== possible), you can try to increase the size of the ==1153== main thread stack using the --main-stacksize= flag. ==1153== The main thread stack size used in this run was 8388608. ==1153== 2,048 bytes in 1 blocks are definitely lost in loss record 3,148 of 3,212 ==1153== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1153== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1153== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1153== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1153== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1153== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1153== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1153== by 0x40A1767: lj_record_mm_lookup (lj_record.c:999) ==1153== by 0x40A0444: lj_record_idx (lj_record.c:1415) ==1153== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==1153== by 0x40C016A: trace_state (lj_trace.c:680) ==1153== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1153== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1153== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1153== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1153== by 0x4084A29: lua_resume (lj_api.c:1296) ==1153== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1153== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1153== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1153== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1153== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1153== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1153== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1153== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1153== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1153== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1153== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1153== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1153== by 0x8065F7E: main (nginx.c:382) ==1153== { <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 32: free_space, empty (16k zone) - Can't connect to 127.0.0.1:1984: Connection refused |
==1157== Invalid read of size 4 ==1157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1157== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1157== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1157== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1157== by 0x8065F7E: main (nginx.c:382) ==1157== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1157== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1157== ==1157== Process terminating with default action of signal 11 (SIGSEGV) ==1157== Access not within mapped region at address 0x0 ==1157== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1157== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1157== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1157== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1157== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1157== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1157== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1157== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1157== by 0x8065F7E: main (nginx.c:382) ==1157== If you believe this happened as a result of a stack ==1157== overflow in your program's main thread (unlikely but ==1157== possible), you can try to increase the size of the ==1157== main thread stack using the --main-stacksize= flag. ==1157== 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 16: set a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused |
==1159== Invalid read of size 4 ==1159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1159== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1159== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1159== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1159== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1159== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1159== by 0x8065F7E: main (nginx.c:382) ==1159== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1159== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1159== ==1159== Process terminating with default action of signal 11 (SIGSEGV) ==1159== Access not within mapped region at address 0x0 ==1159== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1159== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1159== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1159== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1159== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1159== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1159== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1159== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1159== by 0x8065F7E: main (nginx.c:382) ==1159== If you believe this happened as a result of a stack ==1159== overflow in your program's main thread (unlikely but ==1159== possible), you can try to increase the size of the ==1159== main thread stack using the --main-stacksize= flag. ==1159== The main thread stack size used in this run was 8388608. ==1159== 2,048 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,183 ==1159== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1159== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1159== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1159== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1159== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1159== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1159== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1159== by 0x4093504: fold_kfold_add_kgc (lj_opt_fold.c:761) ==1159== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1159== by 0x40AB029: recff_cdata_index (lj_crecord.c:839) ==1159== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1159== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1159== by 0x40C016A: trace_state (lj_trace.c:680) ==1159== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1159== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1159== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1159== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1159== by 0x4084A29: lua_resume (lj_api.c:1296) ==1159== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1159== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1159== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1159== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1159== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1159== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1159== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1159== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1159== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1159== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1159== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1159== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1159== by 0x8065F7E: main (nginx.c:382) ==1159== { <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 34: free_space, about half full, one page left - Can't connect to 127.0.0.1:1984: Connection refused |
==1161== Invalid read of size 4 ==1161== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1161== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1161== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1161== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1161== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1161== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1161== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1161== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1161== by 0x8065F7E: main (nginx.c:382) ==1161== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1161== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1161== ==1161== Process terminating with default action of signal 11 (SIGSEGV) ==1161== Access not within mapped region at address 0x0 ==1161== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1161== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1161== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1161== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1161== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1161== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1161== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1161== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1161== by 0x8065F7E: main (nginx.c:382) ==1161== If you believe this happened as a result of a stack ==1161== overflow in your program's main thread (unlikely but ==1161== possible), you can try to increase the size of the ==1161== main thread stack using the --main-stacksize= flag. ==1161== The main thread stack size used in this run was 8388608. ==1161== 2,048 bytes in 1 blocks are definitely lost in loss record 3,122 of 3,185 ==1161== at 0x402C768: realloc (vg_replace_malloc.c:834) ==1161== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1161== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1161== by 0x408F2A5: lj_ir_growtop (lj_ir.c:77) ==1161== by 0x40945A6: lj_ir_nextins (lj_iropt.h:34) ==1161== by 0x40945A6: lj_opt_cse (lj_opt_fold.c:2549) ==1161== by 0x40AC386: crec_call_args (lj_crecord.c:1171) ==1161== by 0x40AC386: crec_call (lj_crecord.c:1231) ==1161== by 0x40AC386: recff_cdata_call (lj_crecord.c:1277) ==1161== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1161== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1161== by 0x40C016A: trace_state (lj_trace.c:680) ==1161== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1161== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1161== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1161== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1161== by 0x4084A29: lua_resume (lj_api.c:1296) ==1161== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1161== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1161== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1161== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1161== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1161== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1161== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1161== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1161== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1161== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1161== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1161== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1161== by 0x8065F7E: main (nginx.c:382) ==1161== { <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 8: get_stale (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==1163== Invalid read of size 4 ==1163== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1163== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1163== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1163== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1163== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1163== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1163== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1163== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1163== by 0x8065F7E: main (nginx.c:382) ==1163== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1163== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1163== ==1163== Process terminating with default action of signal 11 (SIGSEGV) ==1163== Access not within mapped region at address 0x0 ==1163== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1163== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1163== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1163== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1163== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1163== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1163== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1163== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1163== by 0x8065F7E: main (nginx.c:382) ==1163== If you believe this happened as a result of a stack ==1163== overflow in your program's main thread (unlikely but ==1163== possible), you can try to increase the size of the ==1163== main thread stack using the --main-stacksize= flag. ==1163== The main thread stack size used in this run was 8388608. ==1163== 2,048 bytes in 1 blocks are definitely lost in loss record 3,118 of 3,180 ==1163== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1163== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1163== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1163== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1163== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1163== by 0x408F511: ir_nextk (lj_ir.c:175) ==1163== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1163== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1163== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1163== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1163== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1163== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1163== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1163== by 0x40C016A: trace_state (lj_trace.c:680) ==1163== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1163== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1163== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1163== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1163== by 0x4084A29: lua_resume (lj_api.c:1296) ==1163== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1163== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1163== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1163== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1163== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1163== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1163== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1163== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1163== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1163== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1163== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1163== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1163== by 0x8065F7E: main (nginx.c:382) ==1163== { <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 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused |
==1165== Invalid read of size 4 ==1165== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1165== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1165== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1165== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1165== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1165== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1165== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1165== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1165== by 0x8065F7E: main (nginx.c:382) ==1165== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1165== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1165== ==1165== Process terminating with default action of signal 11 (SIGSEGV) ==1165== Access not within mapped region at address 0x0 ==1165== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1165== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1165== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1165== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1165== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1165== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1165== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1165== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1165== by 0x8065F7E: main (nginx.c:382) ==1165== If you believe this happened as a result of a stack ==1165== overflow in your program's main thread (unlikely but ==1165== possible), you can try to increase the size of the ==1165== main thread stack using the --main-stacksize= flag. ==1165== The main thread stack size used in this run was 8388608. ==1165== 2,048 bytes in 1 blocks are definitely lost in loss record 3,122 of 3,189 ==1165== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1165== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1165== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1165== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1165== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1165== by 0x408F511: ir_nextk (lj_ir.c:175) ==1165== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1165== by 0x40A9F4A: crec_ct_tv (lj_crecord.c:644) ==1165== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1165== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1165== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1165== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1165== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1165== by 0x40C016A: trace_state (lj_trace.c:680) ==1165== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1165== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1165== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1165== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1165== by 0x4084A29: lua_resume (lj_api.c:1296) ==1165== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1165== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1165== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1165== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1165== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1165== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1165== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1165== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1165== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1165== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1165== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1165== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1165== by 0x8065F7E: main (nginx.c:382) ==1165== { <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: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -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: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
stream/shdict.t | TEST 10: incr int - Can't connect to 127.0.0.1:1984: Connection refused |
==1167== Invalid read of size 4 ==1167== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1167== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1167== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1167== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1167== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1167== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1167== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1167== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1167== by 0x8065F7E: main (nginx.c:382) ==1167== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1167== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1167== ==1167== Process terminating with default action of signal 11 (SIGSEGV) ==1167== Access not within mapped region at address 0x0 ==1167== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1167== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1167== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1167== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1167== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1167== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1167== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1167== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1167== by 0x8065F7E: main (nginx.c:382) ==1167== If you believe this happened as a result of a stack ==1167== overflow in your program's main thread (unlikely but ==1167== possible), you can try to increase the size of the ==1167== main thread stack using the --main-stacksize= flag. ==1167== The main thread stack size used in this run was 8388608. ==1167== 2,048 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,182 ==1167== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1167== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1167== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1167== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1167== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1167== by 0x408F6B5: ir_nextk64 (lj_ir.c:187) ==1167== by 0x408F6B5: lj_ir_k64 (lj_ir.c:226) ==1167== by 0x408F726: lj_ir_knum_u64 (lj_ir.c:241) ==1167== by 0x4092F64: lj_ir_knum (lj_iropt.h:63) ==1167== by 0x4092F64: fold_kfold_conv_kint_num (lj_opt_fold.c:802) ==1167== by 0x4096B2C: lj_opt_fold (lj_opt_fold.c:2506) ==1167== by 0x40A953C: crec_ct_ct (lj_crecord.c:465) ==1167== by 0x40A953C: crec_ct_tv (lj_crecord.c:691) ==1167== by 0x40AC11A: crec_call_args (lj_crecord.c:1127) ==1167== by 0x40AC11A: crec_call (lj_crecord.c:1231) ==1167== by 0x40AC11A: recff_cdata_call (lj_crecord.c:1277) ==1167== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1167== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1167== by 0x40C016A: trace_state (lj_trace.c:680) ==1167== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1167== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1167== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1167== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1167== by 0x4084A29: lua_resume (lj_api.c:1296) ==1167== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1167== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1167== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1167== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1167== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1167== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1167== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1167== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1167== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1167== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1167== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1167== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1167== by 0x8065F7E: main (nginx.c:382) ==1167== { <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 14: set a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused |
==1169== Invalid read of size 4 ==1169== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1169== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1169== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1169== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1169== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1169== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1169== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1169== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1169== by 0x8065F7E: main (nginx.c:382) ==1169== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1169== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1169== ==1169== Process terminating with default action of signal 11 (SIGSEGV) ==1169== Access not within mapped region at address 0x0 ==1169== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1169== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1169== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1169== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1169== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1169== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1169== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1169== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1169== by 0x8065F7E: main (nginx.c:382) ==1169== If you believe this happened as a result of a stack ==1169== overflow in your program's main thread (unlikely but ==1169== possible), you can try to increase the size of the ==1169== main thread stack using the --main-stacksize= flag. ==1169== The main thread stack size used in this run was 8388608. ==1169== 2,048 bytes in 1 blocks are definitely lost in loss record 3,120 of 3,183 ==1169== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1169== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1169== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1169== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1169== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1169== by 0x408F511: ir_nextk (lj_ir.c:175) ==1169== by 0x408F511: lj_ir_kint (lj_ir.c:206) ==1169== by 0x40AAFEB: recff_cdata_index (lj_crecord.c:838) ==1169== by 0x40B30BC: lj_ffrecord_func (lj_ffrecord.c:1254) ==1169== by 0x40A44CA: lj_record_ins (lj_record.c:2479) ==1169== by 0x40C016A: trace_state (lj_trace.c:680) ==1169== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1169== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1169== by 0x407A96F: lj_dispatch_call (lj_dispatch.c:488) ==1169== by 0x406E04F: lj_vm_hotcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1169== by 0x4084A29: lua_resume (lj_api.c:1296) ==1169== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1169== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1169== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1169== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1169== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1169== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1169== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1169== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1169== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1169== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1169== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1169== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1169== by 0x8065F7E: main (nginx.c:382) ==1169== { <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 19: add a string value - Can't connect to 127.0.0.1:1984: Connection refused |
==1171== Invalid read of size 4 ==1171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1171== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1171== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1171== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1171== by 0x8065F7E: main (nginx.c:382) ==1171== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1171== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1171== ==1171== Process terminating with default action of signal 11 (SIGSEGV) ==1171== Access not within mapped region at address 0x0 ==1171== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1171== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1171== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1171== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1171== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1171== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1171== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1171== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1171== by 0x8065F7E: main (nginx.c:382) ==1171== If you believe this happened as a result of a stack ==1171== overflow in your program's main thread (unlikely but ==1171== possible), you can try to increase the size of the ==1171== main thread stack using the --main-stacksize= flag. ==1171== The main thread stack size used in this run was 8388608. ==1171== 2,048 bytes in 1 blocks are definitely lost in loss record 3,124 of 3,188 ==1171== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1171== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1171== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1171== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1171== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1171== by 0x408FA0C: ir_nextk (lj_ir.c:175) ==1171== by 0x408FA0C: lj_ir_kptr_ (lj_ir.c:326) ==1171== by 0x409EF4D: rec_mm_prep (lj_record.c:961) ==1171== by 0x40A0AA4: lj_record_idx (lj_record.c:1419) ==1171== by 0x40A4552: lj_record_ins (lj_record.c:2339) ==1171== by 0x40C016A: trace_state (lj_trace.c:680) ==1171== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1171== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1171== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1171== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1171== by 0x4084A29: lua_resume (lj_api.c:1296) ==1171== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1171== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1171== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1171== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1171== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1171== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1171== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1171== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1171== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1171== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1171== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1171== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1171== by 0x8065F7E: main (nginx.c:382) ==1171== { <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/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 |
==1178== Invalid read of size 4 ==1178== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1178== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1178== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1178== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1178== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1178== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1178== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1178== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1178== by 0x8065F7E: main (nginx.c:382) ==1178== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1178== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1178== ==1178== Process terminating with default action of signal 11 (SIGSEGV) ==1178== Access not within mapped region at address 0x0 ==1178== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1178== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1178== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1178== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1178== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1178== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1178== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1178== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1178== by 0x8065F7E: main (nginx.c:382) ==1178== If you believe this happened as a result of a stack ==1178== overflow in your program's main thread (unlikely but ==1178== possible), you can try to increase the size of the ==1178== main thread stack using the --main-stacksize= flag. ==1178== 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 7: read raw server addr via ssl.raw_server_addr() (IPv6) - Can't connect to 127.0.0.1:1984: Connection refused |
==1182== Invalid read of size 4 ==1182== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1182== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1182== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1182== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1182== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1182== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1182== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1182== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1182== by 0x8065F7E: main (nginx.c:382) ==1182== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1182== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1182== ==1182== Process terminating with default action of signal 11 (SIGSEGV) ==1182== Access not within mapped region at address 0x0 ==1182== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1182== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1182== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1182== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1182== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1182== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1182== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1182== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1182== by 0x8065F7E: main (nginx.c:382) ==1182== If you believe this happened as a result of a stack ==1182== overflow in your program's main thread (unlikely but ==1182== possible), you can try to increase the size of the ==1182== main thread stack using the --main-stacksize= flag. ==1182== 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) - 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 2: set DER cert and private key - Can't connect to 127.0.0.1:1984: Connection refused |
==1184== Invalid read of size 4 ==1184== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1184== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1184== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1184== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1184== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1184== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1184== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1184== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1184== by 0x8065F7E: main (nginx.c:382) ==1184== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1184== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1184== ==1184== Process terminating with default action of signal 11 (SIGSEGV) ==1184== Access not within mapped region at address 0x0 ==1184== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1184== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1184== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1184== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1184== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1184== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1184== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1184== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1184== by 0x8065F7E: main (nginx.c:382) ==1184== If you believe this happened as a result of a stack ==1184== overflow in your program's main thread (unlikely but ==1184== possible), you can try to increase the size of the ==1184== main thread stack using the --main-stacksize= flag. ==1184== 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 3: read SNI name via ssl.server_name() - Can't connect to 127.0.0.1:1984: Connection refused |
==1186== Invalid read of size 4 ==1186== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1186== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1186== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1186== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1186== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1186== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1186== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1186== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1186== by 0x8065F7E: main (nginx.c:382) ==1186== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1186== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1186== ==1186== Process terminating with default action of signal 11 (SIGSEGV) ==1186== Access not within mapped region at address 0x0 ==1186== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1186== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1186== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1186== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1186== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1186== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1186== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1186== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1186== by 0x8065F7E: main (nginx.c:382) ==1186== If you believe this happened as a result of a stack ==1186== overflow in your program's main thread (unlikely but ==1186== possible), you can try to increase the size of the ==1186== main thread stack using the --main-stacksize= flag. ==1186== 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 14: ngx.semaphore in ssl_certificate_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused |
==1188== Invalid read of size 4 ==1188== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1188== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1188== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1188== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1188== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1188== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1188== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1188== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1188== by 0x8065F7E: main (nginx.c:382) ==1188== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1188== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1188== ==1188== Process terminating with default action of signal 11 (SIGSEGV) ==1188== Access not within mapped region at address 0x0 ==1188== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1188== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1188== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1188== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1188== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1188== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1188== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1188== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1188== by 0x8065F7E: main (nginx.c:382) ==1188== If you believe this happened as a result of a stack ==1188== overflow in your program's main thread (unlikely but ==1188== possible), you can try to increase the size of the ==1188== main thread stack using the --main-stacksize= flag. ==1188== 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* - 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 12: tls version - TLSv1.1 - Can't connect to 127.0.0.1:1984: Connection refused |
==1190== Invalid read of size 4 ==1190== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1190== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1190== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1190== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1190== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1190== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1190== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1190== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1190== by 0x8065F7E: main (nginx.c:382) ==1190== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1190== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1190== ==1190== Process terminating with default action of signal 11 (SIGSEGV) ==1190== Access not within mapped region at address 0x0 ==1190== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1190== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1190== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1190== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1190== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1190== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1190== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1190== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1190== by 0x8065F7E: main (nginx.c:382) ==1190== If you believe this happened as a result of a stack ==1190== overflow in your program's main thread (unlikely but ==1190== possible), you can try to increase the size of the ==1190== main thread stack using the --main-stacksize= flag. ==1190== 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 - 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 8: set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==1192== Invalid read of size 4 ==1192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1192== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1192== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1192== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1192== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1192== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1192== by 0x8065F7E: main (nginx.c:382) ==1192== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1192== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1192== ==1192== Process terminating with default action of signal 11 (SIGSEGV) ==1192== Access not within mapped region at address 0x0 ==1192== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1192== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1192== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1192== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1192== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1192== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1192== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1192== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1192== by 0x8065F7E: main (nginx.c:382) ==1192== If you believe this happened as a result of a stack ==1192== overflow in your program's main thread (unlikely but ==1192== possible), you can try to increase the size of the ==1192== main thread stack using the --main-stacksize= flag. ==1192== 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 | ERROR: client socket timed out - TEST 25: verify client but client provides no certificate |
' |
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 |
==1194== Invalid read of size 4 ==1194== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1194== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1194== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1194== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1194== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1194== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1194== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1194== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1194== by 0x8065F7E: main (nginx.c:382) ==1194== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1194== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1194== ==1194== Process terminating with default action of signal 11 (SIGSEGV) ==1194== Access not within mapped region at address 0x0 ==1194== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1194== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1194== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1194== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1194== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1194== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1194== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1194== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1194== by 0x8065F7E: main (nginx.c:382) ==1194== If you believe this happened as a result of a stack ==1194== overflow in your program's main thread (unlikely but ==1194== possible), you can try to increase the size of the ==1194== main thread stack using the --main-stacksize= flag. ==1194== The main thread stack size used in this run was 8388608. |
stream/ssl.t | TEST 25: verify client but client provides no certificate - status code ok |
got: '' expected: '200' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'NONE ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - Can't connect to 127.0.0.1:1984: Connection refused |
==1195== Invalid read of size 4 ==1195== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1195== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1195== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1195== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1195== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1195== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1195== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1195== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1195== by 0x8065F7E: main (nginx.c:382) ==1195== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1195== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1195== ==1195== Process terminating with default action of signal 11 (SIGSEGV) ==1195== Access not within mapped region at address 0x0 ==1195== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1195== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1195== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1195== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1195== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1195== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1195== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1195== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1195== by 0x8065F7E: main (nginx.c:382) ==1195== If you believe this happened as a result of a stack ==1195== overflow in your program's main thread (unlikely but ==1195== possible), you can try to increase the size of the ==1195== main thread stack using the --main-stacksize= flag. ==1195== 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 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - Can't connect to 127.0.0.1:1984: Connection refused |
==1197== Invalid read of size 4 ==1197== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1197== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1197== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1197== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1197== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1197== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1197== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1197== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1197== by 0x8065F7E: main (nginx.c:382) ==1197== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1197== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1197== ==1197== Process terminating with default action of signal 11 (SIGSEGV) ==1197== Access not within mapped region at address 0x0 ==1197== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1197== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1197== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1197== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1197== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1197== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1197== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1197== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1197== by 0x8065F7E: main (nginx.c:382) ==1197== If you believe this happened as a result of a stack ==1197== overflow in your program's main thread (unlikely but ==1197== possible), you can try to increase the size of the ==1197== main thread stack using the --main-stacksize= flag. ==1197== 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 4: read SNI name via ssl.server_name() when no SNI name specified - Can't connect to 127.0.0.1:1984: Connection refused |
==1199== Invalid read of size 4 ==1199== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1199== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1199== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1199== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1199== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1199== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1199== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1199== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1199== by 0x8065F7E: main (nginx.c:382) ==1199== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1199== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1199== ==1199== Process terminating with default action of signal 11 (SIGSEGV) ==1199== Access not within mapped region at address 0x0 ==1199== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1199== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1199== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1199== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1199== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1199== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1199== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1199== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1199== by 0x8065F7E: main (nginx.c:382) ==1199== If you believe this happened as a result of a stack ==1199== overflow in your program's main thread (unlikely but ==1199== possible), you can try to increase the size of the ==1199== main thread stack using the --main-stacksize= flag. ==1199== 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 13: tls version - TLSv1.2 - Can't connect to 127.0.0.1:1984: Connection refused |
==1201== Invalid read of size 4 ==1201== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1201== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1201== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1201== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1201== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1201== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1201== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1201== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1201== by 0x8065F7E: main (nginx.c:382) ==1201== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1201== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1201== ==1201== Process terminating with default action of signal 11 (SIGSEGV) ==1201== Access not within mapped region at address 0x0 ==1201== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1201== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1201== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1201== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1201== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1201== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1201== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1201== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1201== by 0x8065F7E: main (nginx.c:382) ==1201== If you believe this happened as a result of a stack ==1201== overflow in your program's main thread (unlikely but ==1201== possible), you can try to increase the size of the ==1201== main thread stack using the --main-stacksize= flag. ==1201== 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 - 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 | ERROR: client socket timed out - TEST 24: verify client without CA certificates |
' |
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 | ERROR: client socket timed out - TEST 24: verify client without CA certificates |
' |
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 6: read raw server addr via ssl.raw_server_addr() (IPv4) - Can't connect to 127.0.0.1:1984: Connection refused |
==1204== Invalid read of size 4 ==1204== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1204== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1204== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1204== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1204== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1204== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1204== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1204== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1204== by 0x8065F7E: main (nginx.c:382) ==1204== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1204== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1204== ==1204== Process terminating with default action of signal 11 (SIGSEGV) ==1204== Access not within mapped region at address 0x0 ==1204== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1204== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1204== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1204== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1204== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1204== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1204== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1204== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1204== by 0x8065F7E: main (nginx.c:382) ==1204== If you believe this happened as a result of a stack ==1204== overflow in your program's main thread (unlikely but ==1204== possible), you can try to increase the size of the ==1204== main thread stack using the --main-stacksize= flag. ==1204== 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) - 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 1: clear certs - Can't connect to 127.0.0.1:1984: Connection refused |
==1206== Invalid read of size 4 ==1206== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1206== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1206== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1206== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1206== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1206== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1206== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1206== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1206== by 0x8065F7E: main (nginx.c:382) ==1206== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1206== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1206== ==1206== Process terminating with default action of signal 11 (SIGSEGV) ==1206== Access not within mapped region at address 0x0 ==1206== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1206== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1206== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1206== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1206== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1206== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1206== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1206== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1206== by 0x8065F7E: main (nginx.c:382) ==1206== If you believe this happened as a result of a stack ==1206== overflow in your program's main thread (unlikely but ==1206== possible), you can try to increase the size of the ==1206== main thread stack using the --main-stacksize= flag. ==1206== 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 - 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 20: read client addr via ssl.raw_client_addr() - Can't connect to 127.0.0.1:1984: Connection refused |
==1209== Invalid read of size 4 ==1209== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1209== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1209== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1209== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1209== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1209== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1209== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1209== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1209== by 0x8065F7E: main (nginx.c:382) ==1209== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1209== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1209== ==1209== Process terminating with default action of signal 11 (SIGSEGV) ==1209== Access not within mapped region at address 0x0 ==1209== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1209== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1209== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1209== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1209== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1209== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1209== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1209== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1209== by 0x8065F7E: main (nginx.c:382) ==1209== If you believe this happened as a result of a stack ==1209== overflow in your program's main thread (unlikely but ==1209== possible), you can try to increase the size of the ==1209== main thread stack using the --main-stacksize= flag. ==1209== 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() - 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 | ERROR: client socket timed out - TEST 23: verify client with CA certificates |
' |
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 | ERROR: client socket timed out - TEST 23: verify client with CA certificates |
' |
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 22: tls version - TLSv1.3 - Can't connect to 127.0.0.1:1984: Connection refused |
==1212== Invalid read of size 4 ==1212== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1212== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1212== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1212== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1212== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1212== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1212== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1212== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1212== by 0x8065F7E: main (nginx.c:382) ==1212== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1212== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1212== ==1212== Process terminating with default action of signal 11 (SIGSEGV) ==1212== Access not within mapped region at address 0x0 ==1212== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1212== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1212== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1212== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1212== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1212== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1212== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1212== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1212== by 0x8065F7E: main (nginx.c:382) ==1212== If you believe this happened as a result of a stack ==1212== overflow in your program's main thread (unlikely but ==1212== possible), you can try to increase the size of the ==1212== main thread stack using the --main-stacksize= flag. ==1212== 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 21: yield during doing handshake with client which uses low version OpenSSL - Can't connect to 127.0.0.1:1984: Connection refused |
==1214== Invalid read of size 4 ==1214== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1214== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1214== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1214== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1214== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1214== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1214== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1214== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1214== by 0x8065F7E: main (nginx.c:382) ==1214== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1214== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1214== ==1214== Process terminating with default action of signal 11 (SIGSEGV) ==1214== Access not within mapped region at address 0x0 ==1214== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1214== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1214== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1214== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1214== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1214== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1214== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1214== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1214== by 0x8065F7E: main (nginx.c:382) ==1214== If you believe this happened as a result of a stack ==1214== overflow in your program's main thread (unlikely but ==1214== possible), you can try to increase the size of the ==1214== main thread stack using the --main-stacksize= flag. ==1214== 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 - 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 11: tls version - TLSv1 - Can't connect to 127.0.0.1:1984: Connection refused |
==1220== Invalid read of size 4 ==1220== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1220== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1220== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1220== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1220== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1220== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1220== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1220== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1220== by 0x8065F7E: main (nginx.c:382) ==1220== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1220== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1220== ==1220== Process terminating with default action of signal 11 (SIGSEGV) ==1220== Access not within mapped region at address 0x0 ==1220== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1220== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1220== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1220== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1220== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1220== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1220== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1220== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1220== by 0x8065F7E: main (nginx.c:382) ==1220== If you believe this happened as a result of a stack ==1220== overflow in your program's main thread (unlikely but ==1220== possible), you can try to increase the size of the ==1220== main thread stack using the --main-stacksize= flag. ==1220== 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 - 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 15: read PEM key chain but set DER key chain - Can't connect to 127.0.0.1:1984: Connection refused |
==1222== Invalid read of size 4 ==1222== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1222== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1222== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1222== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1222== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1222== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1222== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1222== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1222== by 0x8065F7E: main (nginx.c:382) ==1222== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1222== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1222== ==1222== Process terminating with default action of signal 11 (SIGSEGV) ==1222== Access not within mapped region at address 0x0 ==1222== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1222== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1222== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1222== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1222== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1222== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1222== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1222== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1222== by 0x8065F7E: main (nginx.c:382) ==1222== If you believe this happened as a result of a stack ==1222== overflow in your program's main thread (unlikely but ==1222== possible), you can try to increase the size of the ==1222== main thread stack using the --main-stacksize= flag. ==1222== 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 19: parse PEM cert and key to cdata (bad priv key) - Can't connect to 127.0.0.1:1984: Connection refused |
==1224== Invalid read of size 4 ==1224== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1224== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1224== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1224== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1224== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1224== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1224== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1224== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1224== by 0x8065F7E: main (nginx.c:382) ==1224== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1224== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1224== ==1224== Process terminating with default action of signal 11 (SIGSEGV) ==1224== Access not within mapped region at address 0x0 ==1224== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1224== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1224== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1224== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1224== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1224== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1224== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1224== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1224== by 0x8065F7E: main (nginx.c:382) ==1224== If you believe this happened as a result of a stack ==1224== overflow in your program's main thread (unlikely but ==1224== possible), you can try to increase the size of the ==1224== main thread stack using the --main-stacksize= flag. ==1224== 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 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 |
==1226== Invalid read of size 4 ==1226== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1226== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1226== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1226== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1226== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1226== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1226== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1226== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1226== by 0x8065F7E: main (nginx.c:382) ==1226== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1226== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1226== ==1226== Process terminating with default action of signal 11 (SIGSEGV) ==1226== Access not within mapped region at address 0x0 ==1226== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1226== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1226== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1226== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1226== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1226== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1226== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1226== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1226== by 0x8065F7E: main (nginx.c:382) ==1226== If you believe this happened as a result of a stack ==1226== overflow in your program's main thread (unlikely but ==1226== possible), you can try to increase the size of the ==1226== main thread stack using the --main-stacksize= flag. ==1226== 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 16: parse PEM cert and key to cdata - Can't connect to 127.0.0.1:1984: Connection refused |
==1228== Invalid read of size 4 ==1228== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1228== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1228== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1228== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1228== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1228== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1228== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1228== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1228== by 0x8065F7E: main (nginx.c:382) ==1228== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1228== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1228== ==1228== Process terminating with default action of signal 11 (SIGSEGV) ==1228== Access not within mapped region at address 0x0 ==1228== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1228== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1228== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1228== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1228== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1228== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1228== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1228== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1228== by 0x8065F7E: main (nginx.c:382) ==1228== If you believe this happened as a result of a stack ==1228== overflow in your program's main thread (unlikely but ==1228== possible), you can try to increase the size of the ==1228== main thread stack using the --main-stacksize= flag. ==1228== 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 10: tls version - SSLv3 - Can't connect to 127.0.0.1:1984: Connection refused |
==1230== Invalid read of size 4 ==1230== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1230== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1230== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1230== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1230== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1230== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1230== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1230== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1230== by 0x8065F7E: main (nginx.c:382) ==1230== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1230== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1230== ==1230== Process terminating with default action of signal 11 (SIGSEGV) ==1230== Access not within mapped region at address 0x0 ==1230== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1230== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1230== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1230== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1230== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1230== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1230== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1230== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1230== by 0x8065F7E: main (nginx.c:382) ==1230== If you believe this happened as a result of a stack ==1230== overflow in your program's main thread (unlikely but ==1230== possible), you can try to increase the size of the ==1230== main thread stack using the --main-stacksize= flag. ==1230== 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 - 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/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused |
==1236== Invalid read of size 4 ==1236== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1236== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1236== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1236== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1236== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1236== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1236== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1236== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1236== by 0x8065F7E: main (nginx.c:382) ==1236== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1236== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1236== ==1236== Process terminating with default action of signal 11 (SIGSEGV) ==1236== Access not within mapped region at address 0x0 ==1236== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1236== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1236== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1236== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1236== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1236== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1236== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1236== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1236== by 0x8065F7E: main (nginx.c:382) ==1236== If you believe this happened as a result of a stack ==1236== overflow in your program's main thread (unlikely but ==1236== possible), you can try to increase the size of the ==1236== main thread stack using the --main-stacksize= flag. ==1236== The main thread stack size used in this run was 8388608. ==1236== 512 bytes in 1 blocks are definitely lost in loss record 2,923 of 3,143 ==1236== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1236== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1236== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1236== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1236== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1236== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1236== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1236== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==1236== by 0x40C016A: trace_state (lj_trace.c:680) ==1236== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1236== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1236== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1236== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1236== by 0x4084A29: lua_resume (lj_api.c:1296) ==1236== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1236== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1236== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1236== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1236== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1236== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1236== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1236== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1236== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1236== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1236== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1236== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1236== by 0x8065F7E: main (nginx.c:382) ==1236== { <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 1: ngx.now() - Can't connect to 127.0.0.1:1984: Connection refused |
==1238== Invalid read of size 4 ==1238== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1238== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1238== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1238== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1238== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1238== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1238== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1238== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1238== by 0x8065F7E: main (nginx.c:382) ==1238== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1238== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1238== ==1238== Process terminating with default action of signal 11 (SIGSEGV) ==1238== Access not within mapped region at address 0x0 ==1238== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1238== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1238== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1238== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1238== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1238== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1238== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1238== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1238== by 0x8065F7E: main (nginx.c:382) ==1238== If you believe this happened as a result of a stack ==1238== overflow in your program's main thread (unlikely but ==1238== possible), you can try to increase the size of the ==1238== main thread stack using the --main-stacksize= flag. ==1238== The main thread stack size used in this run was 8388608. ==1238== 512 bytes in 1 blocks are definitely lost in loss record 2,907 of 3,126 ==1238== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1238== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1238== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1238== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1238== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1238== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1238== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1238== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==1238== by 0x40C016A: trace_state (lj_trace.c:680) ==1238== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1238== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1238== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1238== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1238== by 0x4084A29: lua_resume (lj_api.c:1296) ==1238== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1238== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1238== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1238== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1238== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1238== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1238== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1238== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1238== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1238== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1238== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1238== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1238== by 0x8065F7E: main (nginx.c:382) ==1238== { <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 4: ngx.today() - Can't connect to 127.0.0.1:1984: Connection refused |
==1240== Invalid read of size 4 ==1240== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1240== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1240== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1240== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1240== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1240== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1240== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1240== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1240== by 0x8065F7E: main (nginx.c:382) ==1240== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1240== ==1240== Process terminating with default action of signal 11 (SIGSEGV) ==1240== Access not within mapped region at address 0x0 ==1240== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1240== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1240== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1240== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1240== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1240== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1240== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1240== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1240== by 0x8065F7E: main (nginx.c:382) ==1240== If you believe this happened as a result of a stack ==1240== overflow in your program's main thread (unlikely but ==1240== possible), you can try to increase the size of the ==1240== main thread stack using the --main-stacksize= flag. ==1240== The main thread stack size used in this run was 8388608. ==1240== 512 bytes in 1 blocks are definitely lost in loss record 2,907 of 3,124 ==1240== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1240== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1240== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1240== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1240== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1240== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1240== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1240== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==1240== by 0x40C016A: trace_state (lj_trace.c:680) ==1240== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1240== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1240== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1240== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1240== by 0x4084A29: lua_resume (lj_api.c:1296) ==1240== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1240== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1240== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1240== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1240== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1240== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1240== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1240== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1240== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1240== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1240== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1240== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1240== by 0x8065F7E: main (nginx.c:382) ==1240== { <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 |
==1242== Invalid read of size 4 ==1242== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1242== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1242== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1242== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1242== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1242== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1242== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1242== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1242== by 0x8065F7E: main (nginx.c:382) ==1242== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1242== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1242== ==1242== Process terminating with default action of signal 11 (SIGSEGV) ==1242== Access not within mapped region at address 0x0 ==1242== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1242== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1242== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1242== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1242== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1242== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1242== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1242== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1242== by 0x8065F7E: main (nginx.c:382) ==1242== If you believe this happened as a result of a stack ==1242== overflow in your program's main thread (unlikely but ==1242== possible), you can try to increase the size of the ==1242== main thread stack using the --main-stacksize= flag. ==1242== The main thread stack size used in this run was 8388608. ==1242== 512 bytes in 1 blocks are definitely lost in loss record 2,907 of 3,126 ==1242== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1242== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1242== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1242== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1242== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1242== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1242== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1242== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==1242== by 0x40C016A: trace_state (lj_trace.c:680) ==1242== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1242== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1242== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1242== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1242== by 0x4084A29: lua_resume (lj_api.c:1296) ==1242== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1242== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1242== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1242== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1242== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1242== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1242== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1242== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1242== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1242== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1242== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1242== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1242== by 0x8065F7E: main (nginx.c:382) ==1242== { <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 3: ngx.update_time() - Can't connect to 127.0.0.1:1984: Connection refused |
==1244== Invalid read of size 4 ==1244== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1244== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1244== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1244== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1244== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1244== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1244== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1244== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1244== by 0x8065F7E: main (nginx.c:382) ==1244== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1244== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1244== ==1244== Process terminating with default action of signal 11 (SIGSEGV) ==1244== Access not within mapped region at address 0x0 ==1244== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1244== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1244== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1244== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1244== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1244== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1244== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1244== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1244== by 0x8065F7E: main (nginx.c:382) ==1244== If you believe this happened as a result of a stack ==1244== overflow in your program's main thread (unlikely but ==1244== possible), you can try to increase the size of the ==1244== main thread stack using the --main-stacksize= flag. ==1244== The main thread stack size used in this run was 8388608. ==1244== 512 bytes in 1 blocks are definitely lost in loss record 2,908 of 3,125 ==1244== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1244== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1244== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1244== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1244== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1244== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1244== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1244== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==1244== by 0x40C016A: trace_state (lj_trace.c:680) ==1244== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1244== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1244== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1244== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1244== by 0x4084A29: lua_resume (lj_api.c:1296) ==1244== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1244== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1244== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1244== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1244== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1244== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1244== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1244== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1244== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1244== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1244== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1244== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1244== by 0x8065F7E: main (nginx.c:382) ==1244== { <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 ' |
stream/time.t | TEST 6: ngx.utctime() - Can't connect to 127.0.0.1:1984: Connection refused |
==1246== Invalid read of size 4 ==1246== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1246== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1246== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1246== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1246== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1246== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1246== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1246== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1246== by 0x8065F7E: main (nginx.c:382) ==1246== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1246== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_vslprintf fun:ngx_log_error_core fun:ngx_http_lua_socket_tcp_read fun:ngx_http_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 |
==1246== ==1246== Process terminating with default action of signal 11 (SIGSEGV) ==1246== Access not within mapped region at address 0x0 ==1246== at 0x806AB78: ngx_vslprintf (ngx_string.c:253) ==1246== by 0x80668F6: ngx_log_error_core (ngx_log.c:137) ==1246== by 0x8152B02: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2629) ==1246== by 0x8152FDB: ngx_http_lua_socket_read_handler (ngx_http_lua_socket_tcp.c:3300) ==1246== by 0x814B627: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3251) ==1246== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1246== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274) ==1246== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1246== by 0x8065F7E: main (nginx.c:382) ==1246== If you believe this happened as a result of a stack ==1246== overflow in your program's main thread (unlikely but ==1246== possible), you can try to increase the size of the ==1246== main thread stack using the --main-stacksize= flag. ==1246== The main thread stack size used in this run was 8388608. ==1246== 512 bytes in 1 blocks are definitely lost in loss record 2,906 of 3,125 ==1246== at 0x402A4F5: malloc (vg_replace_malloc.c:306) ==1246== by 0x402C6F9: realloc (vg_replace_malloc.c:834) ==1246== by 0x40D1146: mem_alloc (lib_aux.c:335) ==1246== by 0x4070A76: lj_mem_realloc (lj_gc.c:859) ==1246== by 0x406A625: lj_ir_growbot (lj_ir.c:105) ==1246== by 0x408F8C6: ir_nextk (lj_ir.c:175) ==1246== by 0x408F8C6: lj_ir_kgc (lj_ir.c:286) ==1246== by 0x40A3D21: lj_record_ins (lj_record.c:2110) ==1246== by 0x40C016A: trace_state (lj_trace.c:680) ==1246== by 0x406C8A7: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1246== by 0x40C10CC: lj_trace_ins (lj_trace.c:739) ==1246== by 0x407A6E6: lj_dispatch_ins (lj_dispatch.c:417) ==1246== by 0x406DFD9: lj_vm_inshook (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==1246== by 0x4084A29: lua_resume (lj_api.c:1296) ==1246== by 0x81877DC: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:835) ==1246== by 0x81853E5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:120) ==1246== by 0x81855B6: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:276) ==1246== by 0x818515A: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:202) ==1246== by 0x810EC5E: ngx_stream_core_content_phase (ngx_stream_core_module.c:335) ==1246== by 0x810E8A1: ngx_stream_core_run_phases (ngx_stream_core_module.c:153) ==1246== by 0x810D197: ngx_stream_session_handler (ngx_stream_handler.c:292) ==1246== by 0x810D761: ngx_stream_init_connection (ngx_stream_handler.c:201) ==1246== by 0x8086560: ngx_event_accept (ngx_event_accept.c:320) ==1246== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35) ==1246== by 0x8085385: ngx_process_events_and_timers (ngx_event.c:264) ==1246== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323) ==1246== by 0x8065F7E: main (nginx.c:382) ==1246== { <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}$)' |
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 capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
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 |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -hello +h -world +e ' |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ -hello +h -world +e ' |
pipe-stdin.t | TEST 1: write process - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,4 @@ 0 5 6 -hello world +h ' |
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-stdin.t | TEST 8: write and read process - response_body - response is expected (repeated req 1, req 0) |
got: 'a ' expected: 'payload ' |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ 2 11 -10hello world +1 ' |
pipe-stdout.t | TEST 30: user case with read and wait - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -ok exit ' |
pipe-stdout.t | TEST 30: user case with read and wait - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -ok exit ' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ -hell +h -o +e -world +l ' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ -hell +h -o +e -world +l ' |
pipe-stdout.t | TEST 8: read process, pattern is read any - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -hello +h -world +e ' |
pipe-stdout.t | TEST 8: read process, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ -hello +h -world +e ' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -hello +h -world +e ' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ -hello +h -world +e ' |
pipe-stdout.t | TEST 21: read process, mix read pattern - response_body - response is expected (repeated req 0, req 0) |
@@ -7,7 +7,7 @@ reading 2 mo reading any -re - +r reading all +e data ' |
pipe-stdout.t | TEST 21: read process, mix read pattern - response_body - response is expected (repeated req 1, req 0) |
@@ -1,13 +1,13 @@ reading any -hello +h reading 3 -wor +ell reading line -ld +oworld reading 2 mo reading any -re - +r reading all +e data ' |
process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua:6: process type: privileged" should match a line in error.log (req 1) |
Looks like you failed 1 test of 8. |
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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c(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[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)]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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[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[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) |
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.054) |
'0.2 sleep for 0.1s... -0.054 ' doesn't match '(?^s:\A0.2 sleep for 0.1s... 0.\d* \z)' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - grep_error_log_out (req 1) |
got: '' expected: 'get session error: bad session in lua context ' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - grep_error_log_out (req 0) |
'' doesn't match '(?^s:ssl_session_store_by_lua_block:5: session id: [a-fA-F\d]+)' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - grep_error_log_out (req 1) |
'ssl_session_store_by_lua_block:5: session id: 5d08d1350f56544d1da08ce071551ccf8ba2d4437af62e08cbf67637a34e0a0e ssl_session_store_by_lua_block:5: session id: 05d0f8d8a515d342209295b94c965ffe4f76f0150271655d3304ac2e22734f13 ' doesn't match '(?^s:ssl_session_fetch_by_lua_block:4: session id: [a-fA-F\d]+)' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - grep_error_log_out (req 1) |
'' doesn't match '(?^s:ssl_session_fetch_by_lua_block:4: session id: [a-fA-f\d]+)' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - grep_error_log_out (req 0) |
'' doesn't match '(?^s:^ssl_session_store_by_lua_block:5: session id: [a-fA-F\d]+$)' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - grep_error_log_out (req 1) |
'ssl_session_store_by_lua_block:5: session id: 2111488be6dd9ebe163f9f1437a88d56be1f68f016f77ec569a4d4264a52dafe ssl_session_store_by_lua_block:5: session id: e7c98e6141977dbaab0d39fab4b486de49141670d63b962cb914d8b1a41b570c ' doesn't match '(?^s:^ssl_session_fetch_by_lua_block:4: session id: [a-fA-F\d]+ failed to resume session: failed to de-serialize session ssl_session_store_by_lua_block:5: session id: [a-fA-F\d]+ $)' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - grep_error_log_out (req 0) |
'' doesn't match '(?^s:^ssl_session_store_by_lua_block:\d+: session id: [a-fA-F\d]+$)' |
ssl-session-fetch.t | TEST 5: 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 0) | |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:40:24 [error] 391\#0: *1 [lua] content_by_lua(nginx.conf:114):33: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2020/10/27 04:40:24 [debug] 391\#0: *1 lua resume returned 0 2020/10/27 04:40:24 [debug] 391\#0: *1 lua light thread ended normally 2020/10/27 04:40:24 [debug] 391\#0: *1 lua deleting light thread 04B2D158 (ref 1) 2020/10/27 04:40:24 [debug] 391\#0: *1 lua caching unused lua thread 04B2D158 (ref 1) 2020/10/27 04:40:24 [debug] 391\#0: *1 lua capture header filter, uri "/t" 2020/10/27 04:40:24 [debug] 391\#0: *1 malloc: 04B2F368:8 2020/10/27 04:40:24 [debug] 391\#0: *1 malloc: 04B2F3A0:8 2020/10/27 04:40:24 [debug] 391\#0: *1 malloc: 04B2F3D8:52 2020/10/27 04:40:24 [debug] 391\#0: *1 malloc: 04B2F440:8 ' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - grep_error_log_out (req 1) |
'' doesn't match '(?^s:^ssl_session_fetch_by_lua_block:\d+: session id: [a-fA-F\d]+ failed to resume session: failed to de-serialize session ssl_session_store_by_lua_block:\d+: session id: [a-fA-F\d]+ $)' |
ssl-session-fetch.t | TEST 5: 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) | |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:40:26 [error] 391\#0: *3 [lua] content_by_lua(nginx.conf:114):33: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2020/10/27 04:40:26 [debug] 391\#0: *3 lua resume returned 0 2020/10/27 04:40:26 [debug] 391\#0: *3 lua light thread ended normally 2020/10/27 04:40:26 [debug] 391\#0: *3 lua deleting light thread 04B2D158 (ref 1) 2020/10/27 04:40:26 [debug] 391\#0: *3 lua caching unused lua thread 04B2D158 (ref 1) 2020/10/27 04:40:26 [debug] 391\#0: *3 lua capture header filter, uri "/t" 2020/10/27 04:40:26 [debug] 391\#0: *3 malloc: 04B31788:8 2020/10/27 04:40:26 [debug] 391\#0: *3 malloc: 04B317C0:8 2020/10/27 04:40:26 [debug] 391\#0: *3 malloc: 04B317F8:52 2020/10/27 04:40:26 [debug] 391\#0: *3 malloc: 04B31860:8 ' |
ssl-session-store.t | TEST 1: get new session serialized - pattern "(?^s:ssl_session_store_by_lua_block:4: session size: \d+)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:ssl_session_store_by_lua_block:32: session id: [a-fA-f\d]+)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:ssl_session_store_by_lua_block:34: session size: \d+)" 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 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-session-store.t | TEST 2: get new session id serialized - pattern "(?^s:ssl_session_store_by_lua_block:4: session id: [a-fA-f\d]+)" should match a line in error.log (req 0) | |
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 0) | |
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) | |
ssl.t | TEST 25: verify client but client provides no certificate - pattern "client certificate subject: nil" should match a line in error.log (req 0) | |
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) | |
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 ' |
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 0) | |
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 0) | |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:44:37 [error] 434\#0: *1 [lua] content_by_lua(nginx.conf:111):25: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2020/10/27 04:44:37 [debug] 434\#0: *1 lua resume returned 0 2020/10/27 04:44:37 [debug] 434\#0: *1 lua light thread ended normally 2020/10/27 04:44:37 [debug] 434\#0: *1 lua deleting light thread 04B2BC58 (ref 1) 2020/10/27 04:44:37 [debug] 434\#0: *1 lua caching unused lua thread 04B2BC58 (ref 1) 2020/10/27 04:44:37 [debug] 434\#0: *1 lua capture header filter, uri "/t" 2020/10/27 04:44:37 [debug] 434\#0: *1 malloc: 04B2DBD0:8 2020/10/27 04:44:37 [debug] 434\#0: *1 malloc: 04B2DC08:8 2020/10/27 04:44:37 [debug] 434\#0: *1 malloc: 04B2DC40:52 2020/10/27 04:44:37 [debug] 434\#0: *1 malloc: 04B2DCA8:8 ' |
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 ' |
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) | |
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) | |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:44:39 [error] 434\#0: *3 [lua] content_by_lua(nginx.conf:111):25: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2020/10/27 04:44:39 [debug] 434\#0: *3 lua resume returned 0 2020/10/27 04:44:39 [debug] 434\#0: *3 lua light thread ended normally 2020/10/27 04:44:39 [debug] 434\#0: *3 lua deleting light thread 04B2BC58 (ref 1) 2020/10/27 04:44:39 [debug] 434\#0: *3 lua caching unused lua thread 04B2BC58 (ref 1) 2020/10/27 04:44:39 [debug] 434\#0: *3 lua capture header filter, uri "/t" 2020/10/27 04:44:39 [debug] 434\#0: *3 malloc: 04B30008:8 2020/10/27 04:44:39 [debug] 434\#0: *3 malloc: 04B30040:8 2020/10/27 04:44:39 [debug] 434\#0: *3 malloc: 04B30078:52 2020/10/27 04:44:39 [debug] 434\#0: *3 malloc: 04B300E0:8 ' |
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 0) | |
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/errlog-raw-log.t | nginx: [error] | hello world from init_by_lua |
stream/errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17 |
stream/errlog.t | 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/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[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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[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[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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io_X509_AUX\(\) failed)" should match a line in error.log (req 0) | |
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 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) - 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 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 3: read SNI name via ssl.server_name() - pattern "read SNI name from Lua: test.com" should match a line in error.log (req 0) | |
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 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* - 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 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 - pattern "got TLS1 version: TLSv1.1," should match a line in error.log (req 1) | |
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 25: verify client but client provides no certificate - pattern "client certificate subject: nil" should match a line in error.log (req 0) | |
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 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 0) | |
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 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 0) | |
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 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 - pattern "got TLS1 version: TLSv1.2," should match a line in error.log (req 1) | |
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 0) | |
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 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) - 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/ssl.t | TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 1: clear certs - pattern "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 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() - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1) | |
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 0) | |
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 22: tls version - TLSv1.3 - pattern "got TLS1 version: TLSv1.3," should match a line in error.log (req 0) | |
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 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 0) | |
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 0) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:04:36 [error] 1214\#0: *3 stream [lua] content_by_lua(nginx.conf:89):25: openssl client handshake timeout, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2020/10/27 05:04:36 [debug] 1214\#0: *3 lua resume returned 0 2020/10/27 05:04:36 [debug] 1214\#0: *3 lua light thread ended normally 2020/10/27 05:04:36 [debug] 1214\#0: *3 lua deleting light thread 2020/10/27 05:04:36 [debug] 1214\#0: *3 lua run thread returned 0 2020/10/27 05:04:36 [debug] 1214\#0: *3 finalize stream request: 0 2020/10/27 05:04:36 [debug] 1214\#0: *3 finalize stream session: 200 2020/10/27 05:04:36 [debug] 1214\#0: *3 stream log handler 2020/10/27 05:04:36 [debug] 1214\#0: *3 close stream connection: 12 2020/10/27 05:04:36 [debug] 1214\#0: *3 reusable connection: 0 ' |
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 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 - 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 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
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 0) | |
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 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 0) | |
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 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 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 - pattern "got TLS1 version: SSLv3," should match a line in error.log (req 1) | |
time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ true >= 0.099: true -< 0.11: true +< 0.11: false ' |
Go back to the index page.