TEST 1: find zone ==14895== Conditional jump or move depends on uninitialised value(s) ==14895== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14895== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14895== by 0x56B38CB: lua_getfield (lj_api.c:738) ==14895== by 0x5203B2: ngx_stream_lua_cache_load_code (ngx_stream_lua_cache.c:49) ==14895== by 0x52053A: ngx_stream_lua_cache_loadbuffer (ngx_stream_lua_cache.c:145) ==14895== by 0x51B3D0: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:64) ==14895== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14895== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14895== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14895== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14895== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14895== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14895== by 0x41F5FD: main (nginx.c:364) ==14895== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_getfield fun:ngx_stream_lua_cache_load_code fun:ngx_stream_lua_cache_loadbuffer fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14895== Conditional jump or move depends on uninitialised value(s) ==14895== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14895== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14895== by 0x56B2C5A: lua_pushlstring (lj_api.c:578) ==14895== by 0x56FA092: emptybuffer (lib_aux.c:177) ==14895== by 0x56FA6F8: luaL_pushresult (lib_aux.c:221) ==14895== by 0x4E4964: ngx_http_lua_socket_push_input_data.isra.23 (ngx_http_lua_socket_tcp.c:4965) ==14895== by 0x4E7DE9: ngx_http_lua_socket_tcp_receive_retval_handler (ngx_http_lua_socket_tcp.c:2590) ==14895== by 0x4E4AC5: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:5187) ==14895== by 0x4E99E1: ngx_http_lua_socket_handle_read_success (ngx_http_lua_socket_tcp.c:2978) ==14895== by 0x4E99E1: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2096) ==14895== by 0x4E3B18: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:2728) ==14895== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14895== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14895== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14895== by 0x41F5FD: main (nginx.c:364) ==14895== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_pushlstring fun:emptybuffer fun:luaL_pushresult fun:ngx_http_lua_socket_push_input_data.isra.23 fun:ngx_http_lua_socket_tcp_receive_retval_handler fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_handle_read_success fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } TEST 4: key not found ==14906== Conditional jump or move depends on uninitialised value(s) ==14906== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14906== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14906== by 0x56B123A: lj_strfmt_num (lj_strfmt_num.c:590) ==14906== by 0x56B273B: lua_tolstring (lj_api.c:438) ==14906== by 0x52C2AF: ngx_stream_lua_ngx_echo (ngx_stream_lua_output.c:100) ==14906== by 0x56A136A: lj_BC_FUNCC (in /opt/openresty_1.11.2.1/luajit/lib/libluajit-5.1.so.2.1.0) ==14906== by 0x51D117: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14906== by 0x51B047: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14906== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14906== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14906== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14906== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14906== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14906== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14906== by 0x41F5FD: main (nginx.c:364) ==14906== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lj_strfmt_num fun:lua_tolstring fun:ngx_stream_lua_ngx_echo fun:lj_BC_FUNCC fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14906== Conditional jump or move depends on uninitialised value(s) ==14906== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14906== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14906== by 0x56B38CB: lua_getfield (lj_api.c:738) ==14906== by 0x5203B2: ngx_stream_lua_cache_load_code (ngx_stream_lua_cache.c:49) ==14906== by 0x52053A: ngx_stream_lua_cache_loadbuffer (ngx_stream_lua_cache.c:145) ==14906== by 0x51B3D0: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:64) ==14906== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14906== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14906== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14906== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14906== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14906== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14906== by 0x41F5FD: main (nginx.c:364) ==14906== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_getfield fun:ngx_stream_lua_cache_load_code fun:ngx_stream_lua_cache_loadbuffer fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14906== Conditional jump or move depends on uninitialised value(s) ==14906== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14906== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14906== by 0x56B2C5A: lua_pushlstring (lj_api.c:578) ==14906== by 0x56FA092: emptybuffer (lib_aux.c:177) ==14906== by 0x56FA6F8: luaL_pushresult (lib_aux.c:221) ==14906== by 0x4E4964: ngx_http_lua_socket_push_input_data.isra.23 (ngx_http_lua_socket_tcp.c:4965) ==14906== by 0x4E7DE9: ngx_http_lua_socket_tcp_receive_retval_handler (ngx_http_lua_socket_tcp.c:2590) ==14906== by 0x4E4AC5: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:5187) ==14906== by 0x4E99E1: ngx_http_lua_socket_handle_read_success (ngx_http_lua_socket_tcp.c:2978) ==14906== by 0x4E99E1: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2096) ==14906== by 0x4E3B18: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:2728) ==14906== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14906== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14906== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14906== by 0x41F5FD: main (nginx.c:364) ==14906== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_pushlstring fun:emptybuffer fun:luaL_pushresult fun:ngx_http_lua_socket_push_input_data.isra.23 fun:ngx_http_lua_socket_tcp_receive_retval_handler fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_handle_read_success fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } TEST 7: find zone (multiple zones) ==14917== Conditional jump or move depends on uninitialised value(s) ==14917== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14917== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14917== by 0x56EB4E3: lj_ctype_repr (lj_ctype.c:551) ==14917== by 0x5706B7A: lj_cf_ffi_meta___tostring (lib_ffi.c:322) ==14917== by 0x56A136A: lj_BC_FUNCC (in /opt/openresty_1.11.2.1/luajit/lib/libluajit-5.1.so.2.1.0) ==14917== by 0x51D117: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14917== by 0x51B047: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14917== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14917== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14917== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14917== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14917== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14917== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14917== by 0x41F5FD: main (nginx.c:364) ==14917== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lj_ctype_repr fun:lj_cf_ffi_meta___tostring fun:lj_BC_FUNCC fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14917== Conditional jump or move depends on uninitialised value(s) ==14917== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14917== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14917== by 0x56B38CB: lua_getfield (lj_api.c:738) ==14917== by 0x5203B2: ngx_stream_lua_cache_load_code (ngx_stream_lua_cache.c:49) ==14917== by 0x52053A: ngx_stream_lua_cache_loadbuffer (ngx_stream_lua_cache.c:145) ==14917== by 0x51B3D0: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:64) ==14917== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14917== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14917== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14917== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14917== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14917== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14917== by 0x41F5FD: main (nginx.c:364) ==14917== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_getfield fun:ngx_stream_lua_cache_load_code fun:ngx_stream_lua_cache_loadbuffer fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14917== Conditional jump or move depends on uninitialised value(s) ==14917== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14917== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14917== by 0x56B2C5A: lua_pushlstring (lj_api.c:578) ==14917== by 0x56FA092: emptybuffer (lib_aux.c:177) ==14917== by 0x56FA6F8: luaL_pushresult (lib_aux.c:221) ==14917== by 0x4E4964: ngx_http_lua_socket_push_input_data.isra.23 (ngx_http_lua_socket_tcp.c:4965) ==14917== by 0x4E7DE9: ngx_http_lua_socket_tcp_receive_retval_handler (ngx_http_lua_socket_tcp.c:2590) ==14917== by 0x4E4AC5: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:5187) ==14917== by 0x4E99E1: ngx_http_lua_socket_handle_read_success (ngx_http_lua_socket_tcp.c:2978) ==14917== by 0x4E99E1: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2096) ==14917== by 0x4E3B18: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:2728) ==14917== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14917== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14917== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14917== by 0x41F5FD: main (nginx.c:364) ==14917== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_pushlstring fun:emptybuffer fun:luaL_pushresult fun:ngx_http_lua_socket_push_input_data.isra.23 fun:ngx_http_lua_socket_tcp_receive_retval_handler fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_handle_read_success fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } TEST 6: nil typed value ==14928== Conditional jump or move depends on uninitialised value(s) ==14928== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14928== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14928== by 0x56B38CB: lua_getfield (lj_api.c:738) ==14928== by 0x5203B2: ngx_stream_lua_cache_load_code (ngx_stream_lua_cache.c:49) ==14928== by 0x52053A: ngx_stream_lua_cache_loadbuffer (ngx_stream_lua_cache.c:145) ==14928== by 0x51B3D0: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:64) ==14928== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14928== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14928== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14928== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14928== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14928== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14928== by 0x41F5FD: main (nginx.c:364) ==14928== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_getfield fun:ngx_stream_lua_cache_load_code fun:ngx_stream_lua_cache_loadbuffer fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14928== Conditional jump or move depends on uninitialised value(s) ==14928== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14928== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14928== by 0x56B123A: lj_strfmt_num (lj_strfmt_num.c:590) ==14928== by 0x56B273B: lua_tolstring (lj_api.c:438) ==14928== by 0x52C2AF: ngx_stream_lua_ngx_echo (ngx_stream_lua_output.c:100) ==14928== by 0x56A136A: lj_BC_FUNCC (in /opt/openresty_1.11.2.1/luajit/lib/libluajit-5.1.so.2.1.0) ==14928== by 0x51D117: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14928== by 0x51B047: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14928== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14928== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14928== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14928== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14928== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14928== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14928== by 0x41F5FD: main (nginx.c:364) ==14928== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lj_strfmt_num fun:lua_tolstring fun:ngx_stream_lua_ngx_echo fun:lj_BC_FUNCC fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14928== Conditional jump or move depends on uninitialised value(s) ==14928== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14928== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14928== by 0x56B2C5A: lua_pushlstring (lj_api.c:578) ==14928== by 0x56FA092: emptybuffer (lib_aux.c:177) ==14928== by 0x56FA6F8: luaL_pushresult (lib_aux.c:221) ==14928== by 0x4E4964: ngx_http_lua_socket_push_input_data.isra.23 (ngx_http_lua_socket_tcp.c:4965) ==14928== by 0x4E7DE9: ngx_http_lua_socket_tcp_receive_retval_handler (ngx_http_lua_socket_tcp.c:2590) ==14928== by 0x4E4AC5: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:5187) ==14928== by 0x4E99E1: ngx_http_lua_socket_handle_read_success (ngx_http_lua_socket_tcp.c:2978) ==14928== by 0x4E99E1: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2096) ==14928== by 0x4E3B18: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:2728) ==14928== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14928== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14928== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14928== by 0x41F5FD: main (nginx.c:364) ==14928== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_pushlstring fun:emptybuffer fun:luaL_pushresult fun:ngx_http_lua_socket_push_input_data.isra.23 fun:ngx_http_lua_socket_tcp_receive_retval_handler fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_handle_read_success fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } TEST 2: number typed value ==14939== Conditional jump or move depends on uninitialised value(s) ==14939== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14939== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14939== by 0x56B123A: lj_strfmt_num (lj_strfmt_num.c:590) ==14939== by 0x56B273B: lua_tolstring (lj_api.c:438) ==14939== by 0x52C2AF: ngx_stream_lua_ngx_echo (ngx_stream_lua_output.c:100) ==14939== by 0x56A136A: lj_BC_FUNCC (in /opt/openresty_1.11.2.1/luajit/lib/libluajit-5.1.so.2.1.0) ==14939== by 0x51D117: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14939== by 0x51B047: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14939== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14939== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14939== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14939== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14939== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14939== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14939== by 0x41F5FD: main (nginx.c:364) ==14939== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lj_strfmt_num fun:lua_tolstring fun:ngx_stream_lua_ngx_echo fun:lj_BC_FUNCC fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14939== Conditional jump or move depends on uninitialised value(s) ==14939== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14939== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14939== by 0x56B38CB: lua_getfield (lj_api.c:738) ==14939== by 0x5203B2: ngx_stream_lua_cache_load_code (ngx_stream_lua_cache.c:49) ==14939== by 0x52053A: ngx_stream_lua_cache_loadbuffer (ngx_stream_lua_cache.c:145) ==14939== by 0x51B3D0: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:64) ==14939== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14939== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14939== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14939== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14939== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14939== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14939== by 0x41F5FD: main (nginx.c:364) ==14939== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_getfield fun:ngx_stream_lua_cache_load_code fun:ngx_stream_lua_cache_loadbuffer fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14939== Conditional jump or move depends on uninitialised value(s) ==14939== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14939== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14939== by 0x56B2C5A: lua_pushlstring (lj_api.c:578) ==14939== by 0x56FA092: emptybuffer (lib_aux.c:177) ==14939== by 0x56FA6F8: luaL_pushresult (lib_aux.c:221) ==14939== by 0x4E4964: ngx_http_lua_socket_push_input_data.isra.23 (ngx_http_lua_socket_tcp.c:4965) ==14939== by 0x4E7DE9: ngx_http_lua_socket_tcp_receive_retval_handler (ngx_http_lua_socket_tcp.c:2590) ==14939== by 0x4E4AC5: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:5187) ==14939== by 0x4E99E1: ngx_http_lua_socket_handle_read_success (ngx_http_lua_socket_tcp.c:2978) ==14939== by 0x4E99E1: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2096) ==14939== by 0x4E3B18: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:2728) ==14939== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14939== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14939== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14939== by 0x41F5FD: main (nginx.c:364) ==14939== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_pushlstring fun:emptybuffer fun:luaL_pushresult fun:ngx_http_lua_socket_push_input_data.isra.23 fun:ngx_http_lua_socket_tcp_receive_retval_handler fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_handle_read_success fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } TEST 3: boolean typed value ==14950== Conditional jump or move depends on uninitialised value(s) ==14950== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14950== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14950== by 0x56B123A: lj_strfmt_num (lj_strfmt_num.c:590) ==14950== by 0x56B273B: lua_tolstring (lj_api.c:438) ==14950== by 0x52C2AF: ngx_stream_lua_ngx_echo (ngx_stream_lua_output.c:100) ==14950== by 0x56A136A: lj_BC_FUNCC (in /opt/openresty_1.11.2.1/luajit/lib/libluajit-5.1.so.2.1.0) ==14950== by 0x51D117: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14950== by 0x51B047: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14950== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14950== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14950== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14950== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14950== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14950== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14950== by 0x41F5FD: main (nginx.c:364) ==14950== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lj_strfmt_num fun:lua_tolstring fun:ngx_stream_lua_ngx_echo fun:lj_BC_FUNCC fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14950== Conditional jump or move depends on uninitialised value(s) ==14950== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14950== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14950== by 0x56B38CB: lua_getfield (lj_api.c:738) ==14950== by 0x5203B2: ngx_stream_lua_cache_load_code (ngx_stream_lua_cache.c:49) ==14950== by 0x52053A: ngx_stream_lua_cache_loadbuffer (ngx_stream_lua_cache.c:145) ==14950== by 0x51B3D0: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:64) ==14950== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14950== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14950== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14950== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14950== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14950== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14950== by 0x41F5FD: main (nginx.c:364) ==14950== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_getfield fun:ngx_stream_lua_cache_load_code fun:ngx_stream_lua_cache_loadbuffer fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14950== Conditional jump or move depends on uninitialised value(s) ==14950== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14950== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14950== by 0x56B2C5A: lua_pushlstring (lj_api.c:578) ==14950== by 0x56FA092: emptybuffer (lib_aux.c:177) ==14950== by 0x56FA6F8: luaL_pushresult (lib_aux.c:221) ==14950== by 0x4E4964: ngx_http_lua_socket_push_input_data.isra.23 (ngx_http_lua_socket_tcp.c:4965) ==14950== by 0x4E7DE9: ngx_http_lua_socket_tcp_receive_retval_handler (ngx_http_lua_socket_tcp.c:2590) ==14950== by 0x4E4AC5: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:5187) ==14950== by 0x4E99E1: ngx_http_lua_socket_handle_read_success (ngx_http_lua_socket_tcp.c:2978) ==14950== by 0x4E99E1: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2096) ==14950== by 0x4E3B18: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:2728) ==14950== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14950== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14950== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14950== by 0x41F5FD: main (nginx.c:364) ==14950== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_pushlstring fun:emptybuffer fun:luaL_pushresult fun:ngx_http_lua_socket_push_input_data.isra.23 fun:ngx_http_lua_socket_tcp_receive_retval_handler fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_handle_read_success fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } TEST 5: string typed value ==14962== Conditional jump or move depends on uninitialised value(s) ==14962== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14962== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14962== by 0x56B123A: lj_strfmt_num (lj_strfmt_num.c:590) ==14962== by 0x56B273B: lua_tolstring (lj_api.c:438) ==14962== by 0x52C2AF: ngx_stream_lua_ngx_echo (ngx_stream_lua_output.c:100) ==14962== by 0x56A136A: lj_BC_FUNCC (in /opt/openresty_1.11.2.1/luajit/lib/libluajit-5.1.so.2.1.0) ==14962== by 0x51D117: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14962== by 0x51B047: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14962== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14962== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14962== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14962== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14962== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14962== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14962== by 0x41F5FD: main (nginx.c:364) ==14962== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lj_strfmt_num fun:lua_tolstring fun:ngx_stream_lua_ngx_echo fun:lj_BC_FUNCC fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14962== Conditional jump or move depends on uninitialised value(s) ==14962== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14962== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14962== by 0x56B38CB: lua_getfield (lj_api.c:738) ==14962== by 0x5203B2: ngx_stream_lua_cache_load_code (ngx_stream_lua_cache.c:49) ==14962== by 0x52053A: ngx_stream_lua_cache_loadbuffer (ngx_stream_lua_cache.c:145) ==14962== by 0x51B3D0: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:64) ==14962== by 0x51B488: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14962== by 0x4A9507: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14962== by 0x4404D4: ngx_event_accept (ngx_event_accept.c:309) ==14962== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14962== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14962== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14962== by 0x41F5FD: main (nginx.c:364) ==14962== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_getfield fun:ngx_stream_lua_cache_load_code fun:ngx_stream_lua_cache_loadbuffer fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } ==14962== Conditional jump or move depends on uninitialised value(s) ==14962== at 0x56A6DD4: str_fastcmp (lj_str.c:58) ==14962== by 0x56A6DD4: lj_str_new (lj_str.c:166) ==14962== by 0x56B2C5A: lua_pushlstring (lj_api.c:578) ==14962== by 0x56FA092: emptybuffer (lib_aux.c:177) ==14962== by 0x56FA6F8: luaL_pushresult (lib_aux.c:221) ==14962== by 0x4E4964: ngx_http_lua_socket_push_input_data.isra.23 (ngx_http_lua_socket_tcp.c:4965) ==14962== by 0x4E7DE9: ngx_http_lua_socket_tcp_receive_retval_handler (ngx_http_lua_socket_tcp.c:2590) ==14962== by 0x4E4AC5: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:5187) ==14962== by 0x4E99E1: ngx_http_lua_socket_handle_read_success (ngx_http_lua_socket_tcp.c:2978) ==14962== by 0x4E99E1: ngx_http_lua_socket_tcp_read (ngx_http_lua_socket_tcp.c:2096) ==14962== by 0x4E3B18: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:2728) ==14962== by 0x449748: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14962== by 0x43F916: ngx_process_events_and_timers (ngx_event.c:242) ==14962== by 0x448DA4: ngx_single_process_cycle (ngx_process_cycle.c:309) ==14962== by 0x41F5FD: main (nginx.c:364) ==14962== { Memcheck:Cond fun:str_fastcmp fun:lj_str_new fun:lua_pushlstring fun:emptybuffer fun:luaL_pushresult fun:ngx_http_lua_socket_push_input_data.isra.23 fun:ngx_http_lua_socket_tcp_receive_retval_handler fun:ngx_http_lua_socket_tcp_resume_helper fun:ngx_http_lua_socket_handle_read_success fun:ngx_http_lua_socket_tcp_read fun:ngx_http_lua_socket_tcp_handler fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } t/099-c-api.t .. ok All tests successful. Files=1, Tests=63, 17 wallclock secs ( 0.04 usr 0.00 sys + 2.18 cusr 0.04 csys = 2.26 CPU) Result: PASS